From: Csikos Bela <bcsikos425@freemail.hu>
To: ntg-context@ntg.nl
Subject: formal multipage table
Date: Tue, 7 Apr 2015 18:44:25 +0200 (CEST) [thread overview]
Message-ID: <freemail.20150407184425.56336.1@fmxmldata10.freemail.hu> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2015-04-07 16:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=freemail.20150407184425.56336.1@fmxmldata10.freemail.hu \
--to=bcsikos425@freemail.hu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).