So kürzen Sie die Bildunterschrift in der \listoffigures

So kürzen Sie die Bildunterschrift in der \listoffigures

Ich möchte die Bildunterschrift kürzen, um einen Teil der Bildunterschrift anzuzeigen, beispielsweise den ersten Satz. Gleichzeitig möchte ich die eigentliche Bildunterschrift im Dokument selbst nicht abschneiden. Ich brauche die vollständige Erklärung der Abbildung, aber nicht in der Abbildungsliste. Wie erreiche ich dies?

Dies ist das Skriptbeispiel:

\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{document}

Dies ist, was in der Abbildungsliste erscheint. Bildbeschreibung hier eingeben

Antwort1

Der Befehl „caption“ hat einen optionalen Eintrag, der in der Liste der Abbildungen/Tabellen/usw. angezeigt wird: \caption[Short title for lof]{Long title for document} Ihr Dokument würde folgendermaßen aussehen:

\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}

verwandte Informationen