LaTeX forum ⇒ Graphics, Figures & TablesReferences in a Table

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

References in a Table

Postby melothe » Mon Oct 28, 2013 1:45 am

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


Posts: 618
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Mon Oct 28, 2013 11:56 pm

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.

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 2 guests