我想从 natbib/bibtex 书目文件中提取特定字段来构建类似的表格:
title
-------------------------------------------------
authors
-------------------------------------------------
journal, year, volume
-------------------------------------------------
abstract
-------------------------------------------------
有没有办法在乳胶中做到这一点?
谢谢 Jorge
答案1
使用 可以很容易地biblatex
引用特定字段\citefield{<citation>}{<field>}
。某些字段还有专用命令,例如\citeyear
\documentclass{article}
\begin{filecontents*}{bib.bib}
@article{citation,
title = {title},
author = {author},
journal = {journal},
pages = {1--8},
year = 2006,
month = jan,
abstract = {bla bla bla},
volume = {3},
}
\end{filecontents*}
\usepackage[style=authoryear,natbib=true]{biblatex}
\addbibresource{bib.bib}
\begin{document}
\cite{citation}
\citetitle{citation}
\citeyear{citation}
\citeauthor{citation}
\citefield{citation}{journaltitle}
\citefield{citation}{abstract}
\citefield{citation}{volume}
\printbibliography
\end{document}