[NTG-context] extra line in tabulate headers

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Thu Mar 10 12:50:37 CET 2011


On 2011-03-10 <11:53:11>, Florian Wobbe wrote:
> >> how can I suppress the extra line in the header of the example
> >> on contextgarden
> >> (http://wiki.contextgarden.net/Tabulate#Headers)? Removing
> >> header=repeat from \setuptabulate helps but I'd like to keep
> >> header repetition.
> > 
> > Hi Florian,
> > 
> > wrapping it into a “\placetable”-float seems to get rid of it
> 
> Hi Philipp,
> 
> in deed it does with \placetable[here]. I should have added
> that I wrapped it inside \placetable[split] to split the table
> over several pages. Unfortunately this messes up the header
> lines:

Sorry, I should have expected that. All I can say is that the
stray spacing vanishes with double-line headers:

··8<·····························································

\starttabulatehead
  \HL 
  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
  \HL 
\stoptabulatehead

··8<·····························································

Messing around with tabl-tbl.mkiv didn’t get me any further here.
Good luck, Philipp

> 
> \setuptabulate[split=yes,header=repeat]
> 
> \starttabulatehead
>  \HL
>  \NC {\bf format char} \NC {\bf meaning} \NC \NR
>  \HL
> \stoptabulatehead
> 
> \placetable[split]{none}{%
>  \starttabulate[|r|l|]
>    \dorecurse{20}{
>      \NC c \NC centered      \AR
>      \NC l \NC left aligned  \AR
>      \NC r \NC right aligned \AR
>      \HL}
>  \stoptabulate
> }
> 
> Best,
> Florian
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110310/6ffcf4ae/attachment.pgp>


More information about the ntg-context mailing list