Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to change the caption in the List of Tables in a way it is different from the caption in the corresponding table. How can I do that? Does there exist a command to do that?

share|improve this question

2 Answers 2

up vote 10 down vote accepted

The default \caption provides two arguments. The first is optional and defines what is set in the List of Tables, while the latter is mandatory and is used in the setting of the actual caption. If you don't supply the former, it's passed as equivalent to the latter. So

\caption[<LoT entry>]{<regular caption>}

Here's an example:

caption + LoT

\documentclass{article}
\begin{document}
\tableofcontents
\listoftables
\begin{table}\caption{A table}\end{table}
\begin{table}\caption[Another table]{A table}\end{table}
\end{document}

The caption package adds the optional starred version \caption* which sets the caption without the title (Table ##).

share|improve this answer

You can write \caption[For the table]{In the main text}

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.