På 2007-07-26, skrev [EMAIL PROTECTED]:
>
>
> Dear All,
>
> I was wondering whether anyone knows how to fix the table numbering when
> using the "sidewaystable" environment? In the text, the references are
> all the same and indexed by the chapter e.g. Table 1.1, Table 1.1, Table
> 1.1 (in Chapter 1.1) instead of Table 1.1.1, Table 1.1.2, Table 1.1.3
> etc. The table numbers in the captions are different again. The table
> numbering when using the "table" or "tabular" environments is OK.
> Example code is shown below. Many thanks in advance.
>
> Kind regards,
>
> Julie
>
> %-----------------------------------
> \begin{sidewaystable}[h]
> \begin{footnotesize}
> \begin{tabular}{p{3.5cm}p{3.5cm}p{3.5cm}p{3.5cm}p{3.5cm}}
> A & B & C & D & E\\
> F & G & H & I & J\\
> \end{tabular}
> \end{footnotesize}
> \label{label}
> \caption{Caption}
> \end{sidewaystable}
> %-----------------------------------
This problem is actually not with the sidewaystable environment
specifically --- you will get the section number instead of the table
number if you use plain table too.
The solution is to make the \label the very last line before
\end{sidewaystable}. Don't ask me why, but it doesn't work any other
way. Bad design? Probably.
--
Henry House
+1 530 753 3361 ext. 13
Please don't send me HTML mail! My mail system frequently rejects it.
The unintelligible text that may follow is a digital signature.
See <http://hajhouse.org/pgp> to find out how to use it.
My OpenPGP key: <http://hajhouse.org/hajhouse.asc>.
digital_signature.asc
Description: Digital signature on this e-mail; please ignore if you do not have signature-checking software
_______________________________________________ vox-tech mailing list [email protected] http://lists.lugod.org/mailman/listinfo/vox-tech
