General ⇒ Creating multiple captions (e.g. description and source)
Creating multiple captions (e.g. description and source)
I'm trying to create a table that contains a title caption and a source caption. Is there any way of doing this? Searching this forum for "source caption" leads to all kinds of "source code" results. So I'm having kind of a problem to find what I'm looking for. Wouldn't it be a common problem as every table needs a additional source caption? Thx
NEW: TikZ book now 40% off at Amazon.com for a short time.

Creating multiple captions (e.g. description and source)
I found the caption package (nice description here [PDF]) that pretty much does the job for me now.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Creating multiple captions (e.g. description and source)
I'm not sure what you mean with a "source caption"? I guess this should be a reference to an entry in the bibliography. This could be done with the usual \caption command.
Not every table needs such a source reference as not every table is taken from another source. Some of them are self made.
Best regards
Thorsten¹
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¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Creating multiple captions (e.g. description and source)
Hi,
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:
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}
1,1,2,3,5,8,13,21,34,55,89,144,233,...