Latex 如何更改标题的字体大小
我想添加一个标题,可以非常小(脚注大小),并与图像对齐。我使用了以下软件包:Latex 如何更改标题的字体大小,latex,beamer,Latex,Beamer,我想添加一个标题,可以非常小(脚注大小),并与图像对齐。我使用了以下软件包: \usepackage{caption} \usepackage[font=footnotesize]{caption} \captionsetup{font=footnotesize} 但字体大小不变。 图像和标题的lateX代码部分如下所示: \begin{frame} \frametitle{Model} \begin{figure}[l] \centering \includegraphics
\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}
图像的大小如下:
关于如何更改字体大小有什么建议吗
谢谢您不需要
标题
软件包来调整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}
与问题无关,但是
- 在没有浮动机制的documentclass中,将浮动说明符添加到图形中是没有意义的,
无论如何都不是有效的说明符[l]
- 您不需要
,图形在默认情况下使用beamer居中\centering
您不需要
标题
包来调整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}
与问题无关,但是
- 在没有浮动机制的documentclass中,将浮动说明符添加到图形中是没有意义的,
无论如何都不是有效的说明符[l]
- 您不需要
,图形在默认情况下使用beamer居中\centering