
我正在準備演示文稿,我知道有些人不喜歡將圖形用於演示文稿等。
我想將頁面底部的腳註移到最左邊,可以嗎?
\documentclass{beamer}
\usepackage[labelformat=empty]{caption}
\begin{document}
\section{My photo}
\begin{frame}
\frametitle{my photos}
\footnotesize\textbf Is this the same as previous figure?
\begin{figure}[h!]
\caption{This is an amazing photo\footnote{\url{https://www.linternaute.fr/dictionnaire/fr/definition/figure-1/}}}
\centering
\includegraphics[width=0.4\textwidth]{photo1.jpg}
\end{figure}
\footnotesize This figure comes from a very good photographer \footnote{\tiny Definition of figure (Entry 1 of 2)}
\end{frame}
\end{document}
答案1
在問題的答案中包含使用建議投影機腳註:
\documentclass[demo]{beamer}
\usepackage[labelformat=empty]{caption}
\usepackage{hanging}
\setbeamertemplate{footnote}{%
\hangpara{0.8em}{1}%
\makebox[0.8em][l]{\scriptsize\insertfootnotemark}\scriptsize\insertfootnotetext\par%
}
\begin{document}
\section{My photo}
\begin{frame}
\frametitle{my photos}
\footnotesize
Is this the same as previous figure?
\begin{figure}[h!]
\caption{This is an amazing photo\footnote{%
\href{https://www.linternaute.fr/dictionnaire/fr/definition/figure-1/}
{\scriptsize https://www.linternaute.fr/dictionnaire/fr/definition/figure-1/}}}
\centering
\includegraphics[width=0.4\textwidth]{photo1.jpg}
\end{figure}
This figure comes from a very good photographer\footnote{Definition of figure (Entry 1 of 2) \vspace{1.5ex}} % <---
\end{frame}
\end{document}
編輯:它接縫腳註的預設位置是框架的底部(如果 a\footnote
在外部minipage
或某個框)。要將它們提升到框架底部上方的一些垂直空間,您有兩種可能性:
增加註腳之間的距離
\addtobeamertemplate{footnote}{}{\vspace{1.5ex}}
footnote
在框架的最後添加到其末尾,例如\vspace{1.5ex}
上面所做的那樣姆韋- 我不知道是否存在解決方案,該解決方案會自動在框架中最後一個腳註下方添加一些垂直空間,即將腳註移至框架頁腳上方。
答案2
這是一個無圖版本。你應該\captionof
放入一個群組或環境(它\@captype
在本地設定),所以我使用了該center
環境。我的第一選擇通常是小頁,但它在內部有腳註。
\documentclass{beamer}
\usepackage[labelformat=empty]{caption}
\begin{document}
\section{My photo}
\begin{frame}
\frametitle{my photos}
\footnotesize\textbf Is this the same as previous figure?
\begin{center}
\captionof{figure}{This is an amazing photo\footnote{\url{https://www.linternaute.fr/dictionnaire/fr/definition/figure-1/}}}
\centering
\includegraphics[width=0.4\textwidth]{example-image}\par
\end{center}
\footnotesize This figure comes from a very good photographer \footnote{\tiny Definition of figure (Entry 1 of 2)}
\end{frame}
\end{document}