
Quero a citação completa mostrada na figura ou legenda da tabela. estou tentando usar\bibentrymas existem certos erros. Por favor ajude. Aqui está o MWE.
ATUALIZAÇÃO: Eu também tentei usar\footnotemarkjuntamente com\nota de rodapétextomas isso também está me causando erros.
\begin{filecontents}{mytestbib.bib}
@book{goossens93,
author = "Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley",
title = "The {LaTeX} Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
\end{filecontents}
\documentclass{article}
\usepackage{graphicx,xcolor}
\usepackage{footnote}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{array}
\usepackage{filecontents}
\usepackage{natbib}
\usepackage{bibentry}
\nobibliography*
\begin{document}
A full in-text cite of \bibentry{goossens93}.
A regular citation of \cite{goossens93}.
Let's check if it works in a table caption.
\begin{table}[!htbp]
\centering
\caption{Liquid-solid mass transfer. Figures redrawn based on the reference~\bibentry{goossens93} used under fair use, 2014.}
\resizebox{\textwidth}{!}{%
\begin{tabular}{llllll}
\toprule
Parameter & Symbol & Units & Value & Source & Remarks \tabularnewline
\hline
Kinematic Viscosity & - & - & - & Melt &\tabularnewline
\hline
Superficial Liquid Velocity & - & - & 0.4-0.5 & - & \tabularnewline
\hline
Bed Void Fraction & & fraction & - & - & \tabularnewline
\hline
\end{tabular}}
\end{table}
\bibliographystyle{plainnat}
\bibliography{mytestbib}
\end{document}
Responder1
O comando \bibentry
é frágil, portanto não pode ser usado como está na movimentação de argumentos (legendas e títulos de seções).
Você pode usar \protect\bibentry
para aparecer ocasionalmente em uma legenda; se aparecer em vários deles você pode fazer
\usepackage{etoolbox}
e então
\robustify{\bibentry}
depois \usepackage{bibentry}
.
\documentclass{article}
\usepackage{graphicx,xcolor}
\usepackage{footnote}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{array}
\usepackage{etoolbox}
\usepackage{natbib}
\usepackage{bibentry}
\robustify{\bibentry}
\nobibliography*
\begin{document}
No entanto, sugiro outra abordagem. A entrada bibliográfica parece apenas um reconhecimento da fonte, então você pode considerar
\begin{table}[!htbp]
\centering
\caption{Liquid-solid mass transfer}
\resizebox{\textwidth}{!}{%
\begin{tabular}{llllll}
\toprule
Parameter & Symbol & Units & Value & Source & Remarks \tabularnewline
\hline
Kinematic Viscosity & - & - & - & Melt &\tabularnewline
\hline
Superficial Liquid Velocity & - & - & 0.4-0.5 & - & \tabularnewline
\hline
Bed Void Fraction & & fraction & - & - & \tabularnewline
\hline
\end{tabular}}
\begin{quote}\footnotesize
Figures redrawn based on the
reference \bibentry{goossens93} used under fair use, 2014.
\end{quote}
\end{table}