Thread View: su.computers
2 messages
2 total messages
Started by Richard Stanton
Fri, 16 Nov 1990 19:21
Need help with LATEX table problem.
Author: Richard Stanton
Date: Fri, 16 Nov 1990 19:21
Date: Fri, 16 Nov 1990 19:21
16 lines
931 bytes
931 bytes
I'm having a problem using the \ref command with LATEX tables. I start the
table using
\begin{table}
\label{tname}
...
then refer to it in the text as \ref{tname}. However, this often either gives
me the wrong number, or even a section number (e.g. 4.2.1), which is not
what I want. This is the way I use \label in equations, sections etc, and
it always works. What's wrong here?
Thanks for any suggestions
Richard Stanton
pstanton@gsb-lira.stanford.edu
Re: Need help with LATEX table problem.
Author: Victor Eijkhout
Date: Sat, 17 Nov 1990 00:28
Date: Sat, 17 Nov 1990 00:28
20 lines
1259 bytes
1259 bytes
rstanton@portia.Stanford.EDU (Richard Stanton) writes:
>I'm having a problem using the \ref command with LATEX tables. I start the
>table using
>\begin{table}
>\label{tname}
>...
>then refer to it in the text as \ref{tname}. However, this often either gives
>me the wrong number, or even a section number (e.g. 4.2.1), which is not
>what I want. This is the way I use \label in equations, sections etc, and
>it always works. What's wrong here?
The \label command associates a label with a number, but first
that number must have been generated. In your case it is first
generated when you give the \caption command, so move the
\label after that.
Victor.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads