[NTG-context] extra line in tabulate headers

Florian Wobbe Florian.Wobbe at awi.de
Thu Mar 10 13:03:05 CET 2011


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

But then, the second header line vanishes on the second page. Leaving out the \HL at the end of the header would be another solution:

> ··8<·····························································
> 
> \starttabulatehead
>  \HL 
>  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
>  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
>  \HL 
> \stoptabulatehead

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

> ··8<·····························································

And starting \starttabulate[|r|l|] with \HL messes the header up again:

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

\placetable[split]{none}{%
 \starttabulate[|r|l|]
     \HL
     \dorecurse{20}{
     \NC c \NC centered      \AR
     \NC l \NC left aligned  \AR
     \NC r \NC right aligned \AR
     \HL}
 \stoptabulate
}

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

Well, thanks for your efforts,
Florian



More information about the ntg-context mailing list