Graphics, Figures & TablesReferences in a Table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
melothe
Posts: 4
Joined: Tue Jun 01, 2010 5:46 pm

References in a Table

Post by melothe »

So, I am writing using the classicthesis package for adding an appendix to my thesis. The problem is that there are several references linked to values in the table, and to save me from having a too wide table width, I add numbers in one column, and give the references in table comments using \multicolumn. The problem is that it causes an error if I have more than one references added inside one \multicolumn command. The error message I get if I add more than one reference is:
Forbidden control sequence found while scanning use of \@for.

Many thanks in advance, I appreciate any help in trying to solve this, I need it for my thesis which is due in three weeks.

Here follows an example of this table with only one line of data:

Code: Select all

\begin{table}
  \caption{Table example.}
  \label{tableexample}
  \centering
  \scriptsize
  \begin{tabular}{lclcc}
    \multicolumn{3}{l}{Reaction} & Accuracy & Ref \\ \hline
    H\dthree O\jon~+e\ijon & \ra & H\dtwo O+H& 1.10E-07 & -0.50E+00 & 0.00E+00 & $< 25\%$ & (1) & M \\ \hline
    \multicolumn{9}{l}{(1) \citet{2000ApJ...543..764J}; (2) \citet{2006A&A...457..927G}}
  \end{tabular}
\end{table}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

References in a Table

Post by kaiserkarl13 »

First, a Infominimal working example would be very nice. Second, you have eight column delimiters in the second row but only 5 columns. You also requested a multicolumn of width 9 in the third row but only have 5 columns in the table.

This is the source of the errors. The \citet commands have absolutely nothing to do with it.
Post Reply