ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* formal multipage table
@ 2015-04-07 16:44 Csikos Bela
  0 siblings, 0 replies; only message in thread
From: Csikos Bela @ 2015-04-07 16:44 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: TEXT/plain, Size: 1749 bytes --]

Hello:

I would like to place a landscape formal multi-page table in a document.
I try to attach a pdf showing what I would like to achieve.
The example file was made in latex using array, booktabs, lscape, and  longtable packages.

I read the contextgarden wiki pages on different table packages but according to that information none of the available table modules can be used to make such table. Is the information up-to-date and accurate? Furthermore, how can I insert the table in landscape mode on a portrait page (page numbers should be portrait). I need different headers for the first and the following pages, different footers for the last and the previous pages, rules width different depths for start/end and middle rules.

I experimented with both Tables and TABLE modules but before I go into it more I would like to know if it is feasible at all what I want.

This is one of the trials I made:

\defineipsum[tf][alternative=lines,n=2]

\starttext

\setupTABLE[r][first][style=\tf]

\bTABLE[split=repeat,option=stretch,frame=off,bottomframe=on]
\bTABLEhead
\bTR
  \bTH[nc=2]  This is the first page header \eTH
\eTR
\bTR
  \bTH  Column 1 \eTH  
  \bTH  Column 2 \eTH
\eTR
\eTABLEhead

\bTABLEnext
\bTR
  \bTH[nc=2]  This is the page header (not on first page) \eTH
\eTR
\bTR
  \bTH  Column 1 \eTH  
  \bTH  Column 2 \eTH
\eTR
\eTABLEnext

\bTABLEbody
\dorecurse{25}{
\bTR
  \bTC  \ipsum[tf] \eTC
  \bTC  aaaa \eTC
\eTR}
\eTABLEbody

\bTABLEfoot[bottomframe=off]
\bTR
  \bTC[nc=2] This is the footer \eTC
\eTR
\eTABLEfoot
\eTABLE

\stoptext

There is no separate footer, I could not get rid of the rule below the footer, and I don't understand why the firs header is not in normal typeface instead of bold.


Thanks in advance,

bcsikos

[-- Attachment #2: formal-multipage-table.pdf --]
[-- Type: APPLICATION/pdf, Size: 34142 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-07 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 16:44 formal multipage table Csikos Bela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).