Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
206 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 600 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

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
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

705 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