缩进图形多行标题

缩进图形多行标题
\begin{figure}[htbp]
\centering
    \includegraphics[width=0.55\textwidth]{Chapters/AIntroBackground/figures/Rayleigh.pdf}
\caption{Graph of intensity of the diffraction pattern for a circular aperture. Note that, similar to a single slit, the central maximum is wider and brighter than those to the sides.}
\label{fig:Rayleigh}
\end{figure}

1

我如何缩进多行标题。例如,我想将“类似”(第二行)放在“图表”(第一行)正下方。

答案1

附带caption包装:

\documentclass{article}
\usepackage{caption}
%   \captionsetup{format=hang}
\usepackage[demo]{graphicx}
\begin{document}
   \begin{figure}[htbp]
        \centering
        \includegraphics[width=0.55\textwidth]{lion.jpg}
        \captionsetup{format=hang}
        \caption{The lion (Panthera leo) is one of the four big cats in the genus Panthera and a member of the family Felidae. With some males exceeding 250 kg (550 lb) in weight, it is the second-largest living cat after the tiger.}
        \label{fig:Rayleigh}
    \end{figure}
\end{document}

在此处输入图片描述

可以通过将其放置\captionsetup在包含图形的同一环境中来本地设置该选项,或者通过将其放置在序言中(在 MWE 中注释)来全局设置该选项。

相关内容