General ⇒ Creating multiple captions (e.g. description and source)
Creating multiple captions (e.g. description and source)
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Creating multiple captions (e.g. description and source)
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Creating multiple captions (e.g. description and source)
Code: Select all
\caption[ToC entry without source]{Caption of the table with given source \cite{key}}\label{tab:table}
It would be very kind if you present your solution here in case somebody else faces a similar problem.chr4004 wrote:I found the caption package (nice description here [PDF]) that pretty much does the job for me now.
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Creating multiple captions (e.g. description and source)
some days ago a similar question was posted in this thread from CQF.info. The idea of the proposed solution was to use \caption and \caption* (described in the documentation of the caption package) For completeness' sake I will reproduce here a variation of the example that was given there:
Code: Select all
\documentclass{report}
\usepackage{caption}
\begin{document}
\listoftables
\clearpage
\begin{table}
\centering
\caption{A test table}
\label{tab:testtab}
\begin{tabular}{cc}\hline
column1 & column 2\\ \hline
\end{tabular}
\caption*{Source: some text}
\end{table}
As you can see in \ref{tab:testtab}...
\end{document}