biblatex 的 \footfullcite 在 beamer 中排版引用两次

biblatex 的 \footfullcite 在 beamer 中排版引用两次

考虑主目录

@techreport{2012FracfocusChemical,
  author = {FracFocus,},
  howpublished = {\url{http://fracfocus.org/water-protection/drilling-usage}},
  institution = {The Ground Water Protection Council and Interstate Oil and Gas
  Compact Commission},
  month = {feb},
  title = {{Chemical Use In Hydraulic Fracturing}},
  year = {2012}
}

考虑麦格

\documentclass {beamer}

\usepackage [backend=biber,style=authoryear] {biblatex}
  \addbibresource{main.bib}

\newcommand{\currentpart}{}
\let\oldpart = \part
\renewcommand{\part}[1]{%
  \oldpart{#1}
  \renewcommand{\currentpart}{#1}
}

\newcommand{\currentsection}{}
\let\oldsection = \section
\renewcommand{\section}[1]{%
  \oldsection{#1}
  \renewcommand{\currentsection}{#1}
}

\begin{document}

\begin{frame}
  \frametitle{\currentpart}
  \framesubtitle{\currentsection}
  \begin{block}{}
\begin{figure}
  \begin{minipage}{4.5in}
    \centering
    \fbox{%
%       \includegraphics[scale=0.2]{../Pictures/active_research}
    }
    \caption{Conceptualization of the process of Carbon Capture, Utilization,
    and Sequestration highlighting active research
    areas\footfullcite{2012FracfocusChemical}.}
    \label{fig:active_research}
  \end{minipage}
\end{figure}
  \end{block}
\end{frame}

\end{document}

为什么 \footfullcite 指令排版双重引用?例如,发生以下情况:

生成的幻灯片。\footfullcite 指令排版双重引用。

还:

C:\Users\ejspeiro>biber --version
biber version: 1.8

C:\Users\ejspeiro>pdflatex --version
MiKTeX-pdfTeX 2.9.4902 (1.40.14) (MiKTeX 2.9)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2012 Han The Thanh
TeX is a trademark of the American Mathematical Society.

答案1

真的演示文稿的标题内需要脚注吗?

观察到的问题是与移动参数的不良交互,您可以通过使用和来\caption防止它,但标记仍然需要手动调整:\footnotemark\footnotetext{\fullcite{<key>}}

\documentclass {beamer}
\usepackage{filecontents}
\begin{filecontents*}{main.bib}
@techreport{2012FracfocusChemical,
  author = {FracFocus,},
  howpublished = {\url{http://fracfocus.org/water-protection/drilling-usage}},
  institution = {The Ground Water Protection Council and Interstate Oil and Gas
  Compact Commission},
  month = {feb},
  title = {{Chemical Use In Hydraulic Fracturing}},
  year = {2012}
}
\end{filecontents*}

\usepackage [backend=biber,style=authoryear] {biblatex}
  \addbibresource{main.bib}

\newcommand{\currentpart}{}
\let\oldpart = \part
\renewcommand{\part}[1]{%
  \oldpart{#1}
  \renewcommand{\currentpart}{#1}
}

\newcommand{\currentsection}{}
\let\oldsection = \section
\renewcommand{\section}[1]{%
  \oldsection{#1}
  \renewcommand{\currentsection}{#1}
}

\begin{document}

\begin{frame}
  \frametitle{\currentpart}
  \framesubtitle{\currentsection}
  \begin{block}{}
\begin{figure}
  \begin{minipage}{4.5in}
    \centering
    \fbox{%
%       \includegraphics[scale=0.2]{../Pictures/active_research}
    }
    \caption{Conceptualization of the process of Carbon Capture, Utilization,
    and Sequestration highlighting active research
    areas\footnotemark[1].}
    \label{fig:active_research}
  \end{minipage}
    \footnotetext[1]{\fullcite{2012FracfocusChemical}}
\end{figure}
  \end{block}
\end{frame}

\end{document}

在此处输入图片描述

在评论中,有人讨论说其目的是引用图像的来源;在这种情况下,我建议删除脚注,并在图像的标题下直接添加来源,使用类似以下内容:

\documentclass {beamer}
\usepackage{filecontents}
\begin{filecontents*}{main.bib}
@techreport{2012FracfocusChemical,
  author = {FracFocus,},
  howpublished = {\url{http://fracfocus.org/water-protection/drilling-usage}},
  institution = {The Ground Water Protection Council and Interstate Oil and Gas
  Compact Commission},
  month = {feb},
  title = {{Chemical Use In Hydraulic Fracturing}},
  year = {2012}
}
\end{filecontents*}

\usepackage [backend=biber,style=authoryear] {biblatex}
  \addbibresource{main.bib}

\newcommand{\currentpart}{}
\let\oldpart = \part
\renewcommand{\part}[1]{%
  \oldpart{#1}
  \renewcommand{\currentpart}{#1}
}

\newcommand{\currentsection}{}
\let\oldsection = \section
\renewcommand{\section}[1]{%
  \oldsection{#1}
  \renewcommand{\currentsection}{#1}
}

\begin{document}

\begin{frame}
  \frametitle{\currentpart}
  \framesubtitle{\currentsection}
  \begin{block}{}
\begin{figure}
  \begin{minipage}{4.5in}
    \centering
    \fbox{%
%       \includegraphics[scale=0.2]{../Pictures/active_research}
    }
    \caption{Conceptualization of the process of Carbon Capture, Utilization,
    and Sequestration highlighting active research
    areas.}
    {\raggedright\tiny Source: \fullcite{2012FracfocusChemical}\par}
    \label{fig:active_research}
  \end{minipage}
\end{figure}
  \end{block}
\end{frame}

\end{document}

在此处输入图片描述

答案2

包括标题包(\usepackage{caption}在文件开头添加)会删除第二个引用。

\documentclass {beamer}

\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{biblatex-examples.bib}

\usepackage{caption}

\begin{document}

\begin{frame}
  \begin{block}{}
    \begin{figure}
      \begin{minipage}{4.5in}
        \centering
        \fbox{ }
        \caption{Conceptualization of the process of Carbon Capture, Utilization,
        and Sequestration highlighting active research
        areas\footfullcite{knuth:ct}.}
        \label{fig:active_research}
      \end{minipage}
    \end{figure}
  \end{block}
\end{frame}

\end{document}

在此处输入图片描述

相关内容