[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Referencing Tables in Latex?



Mon, 19 Apr skrev Andrew Holmes:
> However when I try to do the same thing with a reference to a table, it
> prints the section the table is in, instead of the number of the table. I can
> show the number of tables with \arabic{table}, but when I put \ref{a_table},
> it prints the section number of the table instead of the table's number. Eg
> 2.3.4 instead of 3.

The \label command must be placed after the \caption, or inside it's argument.
So my documentation say, so maybe you have the wrong docs... Lamport's LaTeX
book is among the best on this topic.

Sincerly
-- 
Åsmund Ødegård
http://www.ifi.uio.no/~aasmundo/sider/main.html
--
2PE 1 5 så legg og just derfor all vinn på i eders tro å vise dyd, og
  i dyden skjønnsomhet,


Reply to: