图下方的小注释(即脚注大小)

图下方的小注释(即脚注大小)

我想在图片下方添加一个小注释(即脚注大小)。我该怎么做?如果我使用标题,注释会具有标题大小,并会干扰我的标题。

答案1

要使图例与相关图表占据相同的宽度,可以将两者放在一个环境中,如以下 MWE(最小工作示例)中所做的那样。请注意在脚注大小的材料末尾minipage使用。如果没有指令(或尾随空白行,这在功能上相当于 Tex 中的段落分隔符),您将获得较小的字体大小,但行距会更宽,适合文档的正常字体大小。\par\par

在此处输入图片描述

\documentclass{article}
\usepackage[demo]{graphicx} % leave off '[demo]' in real document
\begin{document}
\hrule
(this rule just demonstrates the width of the textblock\dots)

\begin{figure}[h]
\centering
\begin{minipage}{0.65\textwidth} % choose width suitably
\includegraphics[width=\linewidth]{mygraphicfile}
{\footnotesize Here are some notes that go with the graph. Here are some 
notes that go with the graph. Here are some notes that go with the graph. 
Here are some notes that go with the graph.\par}
\end{minipage}
\caption{Historical shock decomposition, 2007Q1--2012Q4}
\end{figure}
\end{document}

附录: 如果你想要解释一下标题,你可以把它放在自己独立的minipage环境中,注意让它和图表有相同的宽度。(我知道品味是无可争议的,但对我来说,把解释性的东西放在离图表那么远的地方看起来不太对。)

在此处输入图片描述

\documentclass{article}
\usepackage[demo]{graphicx} % leave off '[demo]' in real document
\begin{document}
\hrule
(this rule just demonstrates the width of the textblock\dots)

\begin{figure}[h]
\centering
\includegraphics[width=0.65\textwidth]{mygraphicfile}
\caption{Historical shock decomposition, 2007Q1--2012Q4}

\medskip % induce some separation between caption and explanatory material
\begin{minipage}{0.65\textwidth} % choose width suitably
{\footnotesize Here are some notes that go with the graph. Here are some notes that go with the graph. Here are some notes that go with the graph. Here are some notes that go with the graph.\par}
\end{minipage}
\end{figure}
\end{document}

答案2

这里甚至\tiny,不仅仅是\footnotesize:-)

\documentclass{article}
\usepackage{graphicx}

\begin{document}

\begin{figure}
\includegraphics[width=2cm]{it}

{\tiny I want to include a small note (i.e. footnotesize) below a figure. How do I do that? If I use caption, the note has a caption size and interferes with my caption.}
\caption{Normal text }
\end{figure}


\end{document}

在此处输入图片描述

答案3

\scriptsize可能对你有用:它介于\tiny和之间\footnotesize (从https://www.sharelatex.com/learn/Font_sizes,_families,_and_styles

希望这可以帮助 :)

相关内容