Solved

Latex: in text, the table label is mixed with section label.  e.g. "see Table 5.3.2.4 " actaully 5.3.2.4 is the section where the table is.

Posted on 2006-11-22
3
201 Views
Last Modified: 2010-04-20
Dear All,

As it in the title, this problem drive me crazy.
Latex: in text, the table label is mixed with section label.  e.g. "please see Table 5.3.2.4 ", actaully 5.3.2.4 is the section where the table is.

Why there is no latex Question Area in experts-exchange??

Thank!
0
Comment
Question by:laoyaobest
3 Comments
 
LVL 6

Expert Comment

by:_iskywalker_
ID: 17995129
could you post the code?
normally i would say you put the label not in the Tabular:
\begin{tabular}
\label{blu}
\end{tabular}
would give you the right thing. you are writing now, probably:
\begin{tabular}
\end{tabular}
\label{blu}

so your  \ref{label} is in the \section enviroment and not in the tabular.
0
 

Author Comment

by:laoyaobest
ID: 17996745
to iskywalker: You are not correct: \label{text} should be always out side of "tabular" body while inside "table" body.   :(

Here is the code: (the problem should be some where else.)
"please see Table~\ref{table:t1}
\begin{table} [htp]
\begin{center}
      \begin{tabular}{|c|c|}
      \hline
      \textbf{Terminal class} & \textbf{Wrapper cell type}\\
      \hline\hline
      SDI, SDO, RSDI, RSDO, DI, DO, FI, FO, CI & WC\_SD1\_COI\\
      \hline
      CO & WC\_SD1\_COI\_G\\
      \hline
      SI, SO & NONE\\
      \hline
      \end{tabular}
\label{table:t1}
\caption{Assignment of cells}
\end{center}
\end{table}"
0
 

Accepted Solution

by:
chijingao earned 150 total points
ID: 18053956
Put your \label{} after \caption{}!!

try again!
\caption{Assignment of cells}
\label{table:t1}
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS vpc peering connection 1 48
Backup & Restore 3 54
Linux/Apache File Ownership/Permissions 1 63
number in printf 13 27
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now