我想添加一个字幕,该字幕可以非常小(脚注大小)并与图像对齐。我使用了以下软件包:
\usepackage{caption}
\usepackage[font=footnotesize]{caption}
\captionsetup{font=footnotesize}
但字体大小不会改变。用于图像和标题的lateX代码部分如下:
\begin{frame}
\frametitle{Model}
\begin{figure}[l]
\centering
\includegraphics[width=0.7\textwidth]{dynamics}
\caption{Bla Bla Bla...Bla Bla Bla Bla}
\label{fig:dynamics}
\end{figure}
\end{frame}
并且图片的尺寸如下:在此处输入图片说明
关于如何更改字体大小的任何建议?
谢谢
您不需要caption
软件包来调整Beamer中的标题字体大小-Beamer有其自己的机制:
\documentclass{beamer}
\setbeamerfont{caption}{size=\Tiny}
\begin{document}
\begin{frame}
\frametitle{Model}
\begin{figure}
% \centering
\includegraphics[width=0.7\textwidth]{example-image-duck}
\caption{Bla Bla Bla...Bla Bla Bla Bla}
\label{fig:dynamics}
\end{figure}
\end{frame}
\end{document}
与问题无关,但是
在没有浮动机制的文档类中,向您的图形添加浮动说明符是没有意义的,并且[l]
始终没有有效的说明符
您不需要\centering
,默认情况下,投影仪将人物居中
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句