l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
June 2: Social gathering
Next Installfest:
Latest News:
May. 19: LUGOD special elections
Page last updated:
2007 Jul 26 18:05

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] sidewaystable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] sidewaystable

På 2007-07-26, skrev Julie.Glasscock@csiro.au:
> 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>.

Attachment: digital_signature.asc
Description: Digital signature on this e-mail;please ignore if you do not have signature-checkingsoftware

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.