我正在尝试在参考文献中放置脚注,请看此处的示例:
\usepackage[stable,para,hang]{footmisc}
\usepackage[style=verbose-inote,maxcitenames=1,backend=bibtex,doi=false,isbn=false,url=false,giveninits=true]{biblatex}
\usepackage{hyperref}
\makeatletter
\newcommand*{\textlabel}[2]{%
\edef\@currentlabel{#1}% Set target label
\phantomsection% Correct hyper reference link
#1\label{#2}% Print and store label
}
\makeatother
\begin{document}
This is a table:
\begin{center}
\begin{tabular}{l|l}
Col 1 & Col 2 \\
\ref{sth:bla} \footnote{dksvnkjfs v df j} & \ref{sth:text}
\end{tabular}
\end{center}
And here are some items:
\begin{description}
\item[\textlabel{Something}{sth:bla}] \textlabel{The Text}{sth:text} \hfill \\
Description!
\end{description}
\end{document}
但是正如您在图片中所看到的,参考文献(在我的文档 37 中)没有出现:
这里有任何选择吗?
谢谢!
答案1
使用longtable
而不是tabular
。它应该可以工作:
\documentclass{article}
\usepackage{longtable}
\usepackage[stable,para,hang]{footmisc}
\usepackage[style=verbose-inote,maxcitenames=1,backend=bibtex,doi=false,isbn=false,url=false,giveninits=true]{biblatex}
\usepackage{hyperref}
\makeatletter
\newcommand*{\textlabel}[2]{%
\edef\@currentlabel{#1}% Set target label
\phantomsection% Correct hyper reference link
#1\label{#2}% Print and store label
}
\makeatother
\begin{document}
This is a table:
\begin{center}
\begin{longtable}{l|l}
Col 1 & Col 2 \\
\ref{sth:bla} \footnote{dksvnkjfs v df j} & \ref{sth:text}
\end{longtable}
\end{center}
And here are some items:
\begin{description}
\item[\textlabel{Something}{sth:bla}] \textlabel{The Text}{sth:text} \hfill \\
Description!
\end{description}
\end{document}