在 beamer 中为 footfullcite 添加方括号

在 beamer 中为 footfullcite 添加方括号

我曾经\footfullcite在 Beamer 中插入过两个引文,结果如下:

在此处输入图片描述

如何在参考编号中添加方括号,并使它们变成[1][2]而不是12


这是一个 MWE。

\begin{filecontents*}{References.bib}
@article{ahlswede2000network,
  title={Network information flow},
  author={Ahlswede, Rudolf and Cai, Ning and Li, Shuo-Yen Robert and Yeung, Raymond W},
  journal={Information Theory, IEEE Transactions on},
  volume={46},
  number={4},
  pages={1204--1216},
  year={2000},
  publisher={IEEE}
}
@article{katti2008xors,
  title={{XORs in the air: practical wireless network coding}},
  author={Katti, Sachin and Rahul, Hariharan and Hu, Wenjun and Katabi, Dina and M{\'e}dard, Muriel and Crowcroft, Jon},
  journal={IEEE/ACM Transactions on Networking (ToN)},
  volume={16},
  number={3},
  pages={497--510},
  year={2008},
  publisher={IEEE Press}
}
\end{filecontents*}

%%% 

\documentclass[t, 11pt]{beamer}
\usetheme{Warsaw} 

\usepackage[backend=bibtex]{biblatex}
\bibliography{References}

%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
\begin{frame}[c]{XOR network coding}
XOR network coding \footfullcite{ahlswede2000network} \footfullcite{katti2008xors}
\end{frame}
\end{document}

答案1

Footfullcitetext 和 beamer:增量编号

要添加方括号,您可以更改定义

  • \@makefnmark文本中显示的数字

  • \@makefntext脚注中显示的数字


\begin{filecontents*}{References.bib}
@article{ahlswede2000network,
  title={Network information flow},
  author={Ahlswede, Rudolf and Cai, Ning and Li, Shuo-Yen Robert and Yeung, Raymond W},
  journal={Information Theory, IEEE Transactions on},
  volume={46},
  number={4},
  pages={1204--1216},
  year={2000},
  publisher={IEEE}
}
@article{katti2008xors,
  title={{XORs in the air: practical wireless network coding}},
  author={Katti, Sachin and Rahul, Hariharan and Hu, Wenjun and Katabi, Dina and M{\'e}dard, Muriel and Crowcroft, Jon},
  journal={IEEE/ACM Transactions on Networking (ToN)},
  volume={16},
  number={3},
  pages={497--510},
  year={2008},
  publisher={IEEE Press}
}
\end{filecontents*}

%%% 

\documentclass[t, 11pt]{beamer}
\usetheme{Warsaw} 

\usepackage[backend=bibtex]{biblatex}
\bibliography{References}

\makeatletter
\renewcommand\@makefnmark{\hbox{\@textsuperscript{\usebeamercolor[fg]{footnote mark}\usebeamerfont*{footnote mark}[\@thefnmark]}}}
\renewcommand\@makefntext[1]{\@textsuperscript{\usebeamercolor[fg]{footnote mark}\usebeamerfont*{footnote mark}[\@thefnmark]}\enspace\usebeamerfont*{footnote} #1}
\makeatother

%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
\begin{frame}[c]{XOR network coding}
XOR network coding \footfullcite{ahlswede2000network} \footfullcite{katti2008xors}
\end{frame}



\end{document}

在此处输入图片描述

相关内容