[Tugindia] Help - question about increemnting table numbers

CV Radhakrishnan cvr at river-valley.org
Sat Jun 12 13:50:18 CEST 2004


<quote who="Ajay Shah">

[...]

> Now I have some very-long tables which will obviously not float. I
> will manually do them using supertabular.
>
> How do I give this table the "correct" table number (automatically)
> using latex? How do I ensure that the next table (after this bulky
> one), which is being done using the ordinary
>
> \begin{table}
> \end{table}
>
> will get a correct number?

In the preamble: \usepackage{afterpage}

Keep your long table in a separate file (say mytable.tex).  In the document
where you want the long table to be typeset:

  \afterpage{\clearpage\input{mytable}}

afterpage.sty will not clash with float package.


-- 
Radhakrishnan



More information about the tugindia mailing list