答案1
您可以使用caption
和定义自己的命令。
\documentclass{article}
\usepackage{caption}
\usepackage{graphicx}
\captionsetup{
singlelinecheck=false,
labelsep=newline,
labelfont=bf,
justification=raggedright,
}
\newcommand{\captiondesc}[2]{\caption[#1]{\textbf{#1}\\#2}}
\begin{document}
\listoffigures
\vspace{2cm}
\begin{figure}[htp]
\centering
\includegraphics[width=0.8\textwidth,height=1cm]{example-image}
\captiondesc{Aggregate SKRISK by industry}{The figure shows the plot of
aggregate SKRISK between January~2005 and December~2012. Aggregate
SKRISK is layered by financial industry group. The industry groups are
(from top to bottom) Others, Insurance, Depositories, and Broker-Dealers.
The solid vertical line marks the Lehmans Brothers bankruptcy.}
\end{figure}
\end{document}
使用 来justification=justified
代替:
使用较小的字体:
\documentclass{article}
\usepackage{caption}
\usepackage{graphicx}
\captionsetup{
singlelinecheck=false,
labelsep=newline,
labelfont=bf,
justification=justified,
}
\newcommand{\captiondesc}[2]{%
\caption[#1]{%
\textbf{#1}\par\smallskip
\footnotesize#2%
}%
}
\begin{document}
\listoffigures
\vspace{2cm}
\begin{figure}[htp]
\centering
\includegraphics[width=0.8\textwidth,height=1cm]{example-image}
\captiondesc{Aggregate SKRISK by industry}{The figure shows the plot of
aggregate SKRISK between January~2005 and December~2012. Aggregate
SKRISK is layered by financial industry group. The industry groups are
(from top to bottom) Others, Insurance, Depositories, and Broker-Dealers.
The solid vertical line marks the Lehmans Brothers bankruptcy.}
\end{figure}
\end{document}