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
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

623 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