[texhax] (no subject)
hh
hh-brasil at bol.com.br
Sat Jan 16 12:31:19 CET 2010
From: texhax-request at tug.org
Subject: texhax Digest, Vol 2010, Issue 17
To: texhax at tug.org
Send reply to: texhax at tug.org
Date sent: Sat, 16 Jan 2010 08:29:37 +0100
> Message: 1
> Date: Fri, 15 Jan 2010 12:30:34 -0800
> From: "Ludwig B. Chincarini" <chincarinil at hotmail.com>
> To: <support at tug.org>
> Subject: [texhax] (no subject)
> Message-ID: <BLU106-DS635240FAF332E849317F3B1690 at phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
>
> Does anyone know how I get LATEX (PCTEX) to order tables and figures
> with
> the same sequential numbering system?
>
> Thanks
>
> LC
Look at your cls-file. You will probably find something like
\newcounter{figure}[chapter]
\renewcommand \thefigure
{\ifnum \c at chapter>\z@ \arabic{chapter}.\fi \@arabic\c at figure}
\newcounter{table}[chapter]
\renewcommand \thetable
{\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at table}
change the last counter (\@arabic\c at table) to the same as in
\thefigure (\@arabic\c at figure).
Either change it within the cls-file or do it in a separate file
(\renewcommand\thetable{\arabic{chapter}.\arabic{figure}} most
probably will work).
hh
More information about the texhax
mailing list