Как обрезать подпись к рисунку в \listoffigures

Как обрезать подпись к рисунку в \listoffigures

Я хочу обрезать подпись к рисунку, чтобы показать часть подписи, скажем, первое предложение. В то же время я не хочу обрезать саму подпись в документе. Мне нужно полное объяснение рисунка, но не в списке рисунков. Как этого добиться?

Вот пример скрипта:

\documentclass{book}

\begin{document}

\tableofcontents
\listoffigures

\chapter{(Chapter Name)}

\section{Real Analysis}
\begin{figure}
\caption{A very long figure caption here. I need to display part of it because this very long caption does not look right in the list of figures. Nevertheless, I need this full description in the caption. I just do not want all of it to appear in the listoffigures}
\end{figure}
\section{Role of LUB Axiom}

\end{документ}

Вот что указано в списке цифр. введите описание изображения здесь

решение1

Команда caption имеет необязательную запись, которая отображается в списке рисунков/таблиц и т. д.: \caption[Short title for lof]{Long title for document} Ваш документ будет выглядеть следующим образом:

\documentclass{book}

\begin{document}

\tableofcontents
\listoffigures

\chapter{(Chapter Name)}

\section{Real Analysis}
\begin{figure}
\caption[A short caption for the lof]{A very long figure caption here. I need to display part of it because this very long caption does not look right in the list of figures. Nevertheless, I need this full description in the caption. I just do not want all of it to appear in the listoffigures}
\end{figure}
\section{Role of LUB Axiom}

\end{document}

Связанный контент