在投影仪幻灯片中添加参考资料

在投影仪幻灯片中添加参考资料

我正在使用创建的幻灯片中添加参考资料beamer。关注链接 我做了一些修改。脚注中出现的行在框架中间停止。我们如何将其延伸到框架末尾/如何删除该行?

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\begin{filecontents}{\jobname.bib}
@book{Saussure1995,
    Author = {Ferdinand de Saussure},
    Origyear = {1916},
    Publisher = {Payot},
    Title = {Cours de Linguistique G{\'e}n{\'e}rale},
    Year = {1995}}

@book{Labov1972,
    Address = {Philadelphia},
    Author = {William Labov},
    Publisher = {University of Pennsylvania Press},
    Title = {Sociolinguistic Patterns},
    Year = {1972}}

\end{filecontents}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}
\usepackage{chngcntr}
\usepackage{subcaption}
\counterwithin*{footnote}{page}
\newcommand\footcite[1]{\footnote{\bibentry{#1}}\label{\thepage:#1}}
\newcommand\secondcite[1]{\textsuperscript{\ref{\thepage:#1}}}
\usepackage{graphicx}
\graphicspath{ {image/} }
\begin{document}
\nobibliography{\jobname}
\subsection{frame 6}
\begin{frame}{}
\begin{figure}[ht]
  \centering
  \begin{subfigure}{\linewidth}
    \centering\includegraphics[width=4cm]{rabbit.png}
  \end{subfigure}%
  \begin{subfigure}{\linewidth}
    \centering\includegraphics[width=4cm]{rabbit.png}\footcite{Saussure1995}
  \end{subfigure}
\end{figure}
\begin{figure}
\includegraphics[scale=0.6]{image/image.png}
\caption{Steps }
\end{figure}
\end{frame}
\end{document}

编辑1:此外,对于图像,我们如何直接在脚注中包含参考而不在图像旁边显示参考编号。 在此处输入图片描述 修改 2:脚注中的字体大小似乎很大。我尝试使用 来减小字体大小\tiny \footcite{Saussure1995}。但这并没有减小字体大小。有什么建议吗?

\subcaption编辑3:这是没有和没有的代码figure

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\begin{filecontents}{\jobname.bib}
@book{Saussure1995,
    Author = {Ferdinand de Saussure},
    Origyear = {1916},
    Publisher = {Payot},
    Title = {Cours de Linguistique G{\'e}n{\'e}rale},
    Year = {1995}}

@book{Labov1972,
    Address = {Philadelphia},
    Author = {William Labov},
    Publisher = {University of Pennsylvania Press},
    Title = {Sociolinguistic Patterns},
    Year = {1972}}

\end{filecontents}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}
\usepackage{chngcntr}

\counterwithin*{footnote}{page}
\newcommand\footcite[1]{\footnote{\bibentry{#1}}\label{\thepage:#1}}
\newcommand\secondcite[1]{\textsuperscript{\ref{\thepage:#1}}}
\usepackage{graphicx}
\graphicspath{ {image/} }
\begin{document}
\nobibliography{\jobname}
\subsection{frame 6}
\begin{frame}{}
\includegraphics[width=.47\textwidth]{rabbit.png}\hfill
\includegraphics[width=.47\textwidth]{rabbit.png}\footcite{Saussure1995}
\vfill
\includegraphics[width=\textwidth,height=50pt]{image.png}
\includegraphics[scale=0.6]{image/image.png}
\caption{Steps }
\end{frame}
\end{document}

编辑5:

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\begin{filecontents}{\jobname.bib}

@article{aguiree2013idf,
  title={IDF diabetes atlas},
  author={Aguiree, Florencia and Brown, Alex and Cho, Nam Ho and Dahlquist, Gisela and Dodd, Sheree and Dunning, Trisha and Hirst, Michael and Hwang, Christopher and Magliano, Dianna and Patterson, Chris and others},
  year={2013},
  publisher={International Diabetes Federation}
}

\end{filecontents}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}

\begin{document}
\nobibliography{\jobname}
\subsection{frame 6}
\begin{frame}{}
\begin{figure}
\includegraphics[width=.47\textwidth]{image/rabbit.png}\hfill
\includegraphics[width=.47\textwidth]{image/rabbit.png}
\vfill
\includegraphics[width=\textwidth,height=50pt]{example-image}
\caption{Steps}
\end{figure}
\vfill
\footnotesize Image credit: \bibentry{aguiree2013idf}
\end{frame}
\end{document}

在此处输入图片描述 编译上述内容时显示错误,未找到引用。

答案1

为什么不尝试删除脚注规则和脚注标记,而是手动将参考文献放在框架的底部?

离题:但是您不能在或环境\caption之外使用。figuretable

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\begin{filecontents*}{\jobname.bib}

@article{aguiree2013idf,
  title={IDF diabetes atlas},
  author={Aguiree, Florencia and Brown, Alex and Cho, Nam Ho and Dahlquist, Gisela and Dodd, Sheree and Dunning, Trisha and Hirst, Michael and Hwang, Christopher and Magliano, Dianna and Patterson, Chris and others},
  year={2013},
  publisher={International Diabetes Federation}
}

\end{filecontents*}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}

\begin{document}
\nobibliography{\jobname}
\subsection{frame 6}
\begin{frame}{}
\begin{figure}
\includegraphics[width=.47\textwidth]{rabbit.png}\hfill
\includegraphics[width=.47\textwidth]{rabbit.png}
\vfill
\includegraphics[width=\textwidth,height=50pt]{example-image}
\caption{Steps}
\end{figure}
\vfill
\footnotesize Image credit: \bibentry{aguiree2013idf}
\end{frame}
\end{document}

在此处输入图片描述

相关内容