Hello

how to center a table over several pages?

Suppose the following code:

----
\def\TAB{%
  \bTABLE[split=repeat]
    \bTABLEhead
      \bTR
        \bTH head1 \eTH
      \eTR
    \eTABLEhead
    %
    \bTABLEbody
      \dorecurse{40}{%
        \bTR
          \bTD body \eTD
        \eTR
      }
    \eTABLEbody
  \eTABLE
}

\starttext
  Table 1:

  \midaligned{\TAB}

  \page
  Table 2:

  \startalignment[middle]
    %\dontleavehmode%
    \TAB
  \stopalignment
\stoptext
----

Table 1 is centered in the page, however both parts of the table are placed 
next to each other (unwanted).

If I use \startalignment instead \midaligned (table 2), the table is not 
centered on the page (also unwanted), even if I uncomment the \dontleavehmode.

So - how to center a long table on every page it is printed on?

TIA.

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

Attachment: t-LongTab.mkiv
Description: Binary data

Attachment: t-LongTab.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to