当我尝试在表中使用时收到错误\fullcite{}
。以下代码显示了我想要实现的功能:
\documentclass[11pt,a4paper]{article}
\usepackage[american]{babel}
\usepackage[backend=bibtex, style=ieee]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{test,
author = {Abc Def},
year = {2016},
title = {Test},
journal = {Test Journal},
volume = {1},
number = {1},
pages = {1-50}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\begin{table}[h!]
\begin{tabular}{ p{2.5cm} p{12cm} }
\textsc{My Table} & \\ \hline
1st row & \fullcite{test} \\ % ERROR
2nd row & something else \\
\end{tabular}
\end{table}
\end{document}
但是,当我将其更改\fullcite{test}
为\cite{test}
或 时\textcite{test}
,一切都可以正确编译。这里有什么问题?
答案1
根据 Ulrike 的评论的解决方案:
\begin{table}[h!]
\begin{tabular}{ p{2.5cm} p{12cm} }
\textsc{My Table} & \\ \hline
1st row & {\fullcite{test}} \\
2nd row & something else \\
\end{tabular}
\end{table}