I have a question about citation in tables/tabulars.
I use biblatex with style verbose-ibid
and the package footnote
to get the cites working in tables/tabulars: Here I use \savenotes
and \spewnotes
to retrieve the cites from my table.
The problem is, I obviously don't get the wanted \autocite
but some other citation-style, always something that would be the \fullcite
from biblatex.
Look at my MWE: After a shorthand is introduced, it should also be used by \autocite
! But in my tables I always get a fullcite. Also my text-cite 7 should know the shorthand, which is introduced in the table, but it doesn't.
Any ideas to get the footnote
-package working with biblatex?
\RequirePackage{filecontents}
\begin{filecontents*}{bibl.bib}
@BOOK{something,
title={{Fulltitle with many many characters}},
shorthand={SHORTHAND},
address = {City},
publisher = {Publ},
year = {1961},
language = {{Latin}},
}
@BOOK{another,
title={{Another Fulltitle with many many characters}},
shorthand={ANOTHERSHORTHAND},
address = {City},
publisher = {Publ},
year = {1963},
language = {{Latin}},
}
\end{filecontents*}
\documentclass{article}
\usepackage{caption}
\usepackage{placeins}
\usepackage{footnote}
\usepackage[
style=verbose-ibid,
backend=biber,
bibwarn=true,
]{biblatex}
\addbibresource{bibl.bib}
\begin{document}
bla\autocite[1]{something}
bla\autocite[2]{something}
%table
\newcommand{\tabcolA}{p{\dimexpr 0.33\linewidth-2\tabcolsep}}
\savenotes
\begin{table}[ht]
\begin{tabular}{|\tabcolA | \tabcolA | \tabcolA |}
\hline
header & header & header \\
\hline
some text with footnote\autocite[3]{something} & sometext & some text with footnote\autocite[4]{something} \\
some text with footnote\autocite[5]{another} & sometext & some text with footnote\autocite[6]{another} \\
\hline
\end{tabular}
\caption{Differences in some texts}
\label{tab:mytextdiff}
\end{table}
\FloatBarrier
\spewnotes
bla\autocite[7]{another}. bla\autocite[8]{something}
\end{document}
Output:
filecontents
-warningLaTeX Warning: Overwriting file ./bibl.bib.
I'm also thankful.filecontents
-warning is no trouble at all, if you usefilecontents*
the file will be overwritten if present whereas the standardfilecontents
will not do so.biblatex
tracker facilities are not enabled in floats (tables and the like), so this will probably not work, see §4.11.5 Trackers in Floats and TOC/LOT/LOF of thebiblatex
documentation.biblatex
), maybe it's better to avoid them. The problem is that it is quite hard forbiblatex
/LaTeX to know where a float might and up, let alone a footnote spawned in a float, so the tracking really suffers. What you might try though is the\footnotemark
/\footnotetext
idea in table.\footnotetext
?\footcitetext
puts is content in round brackets, and\cite
doesn't end with the proper punctuation. 2) I also use theHyperref
-Package to make my footnotemarks jump to the footnotetext. What would be a proper code to do this manually? (footnotemark and -text)?