Title for tabulate
Hi, when trying out different options for my last question regarding column spans I've tried out the the option regarding titles for the tabulate environment. Consider this example (adapted from the wiki): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setuppapersize[A6] \starttext \setuptabulate [ header=text, split=yes, title={Fenchurch St. Paul}, ] \starttabulate[|p|p|] \dorecurse{6}{ \NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR \HL \NC Name: \NC Tailor Paul \NC \NR \HL } \stoptabulate \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% A couple of questions : - Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. - How do you change the alignment of the title? (There's an align key, but that does change the alignment of the entries. Not of the title. There are headstyle and headcolor, but nothing about alignment. (\setupalign[middle] in headstyle doesn't do anything.) - How can you add bit more space after the title? Best, Denis
On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote:
A couple of questions :
- Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use
\subsubsubject{xxxxxxxx} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Hans Hagen via ntg-context Gesendet: Sonntag, 28. November 2021 12:40 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Title for tabulate On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote:
A couple of questions :
- Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use
\subsubsubject{xxxxxxxx}
That sounds like a neat solution. I'll investigate. Does that play nicely with structurelevels? I mean, let's say I'm somewhere higher, e.g. on chapter, the next level would be section. If I now invoke this subsubsubject manually, does that break the levels structure? Best, Denis
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- __________________________________________________________ _________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net __________________________________________________________ _________________________
On 11/28/2021 1:22 PM, denis.maier@unibe.ch wrote:
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Hans Hagen via ntg-context Gesendet: Sonntag, 28. November 2021 12:40 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Title for tabulate On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote:
A couple of questions :
- Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use
\subsubsubject{xxxxxxxx}
That sounds like a neat solution. I'll investigate. Does that play nicely with structurelevels? I mean, let's say I'm somewhere higher, e.g. on chapter, the next level would be section. If I now invoke this subsubsubject manually, does that break the levels structure?
often it's ok as subjects are unnumbered but you can play safe: \definehead[myownhead][subsubsubsubsubsubject] \myownhead you can then always go lower (more sub) if needed and using dedicated head commands is also cleaner Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
-----Ursprüngliche Nachricht----- Von: Hans Hagen
Gesendet: Sonntag, 28. November 2021 14:26 An: Maier, Denis Christian (UB) ; ntg- context@ntg.nl Betreff: Re: AW: [NTG-context] Title for tabulate On 11/28/2021 1:22 PM, denis.maier@unibe.ch wrote:
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Hans Hagen via ntg-context Gesendet: Sonntag, 28. November 2021 12:40 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Title for tabulate On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote:
A couple of questions :
- Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use
\subsubsubject{xxxxxxxx}
That sounds like a neat solution. I'll investigate. Does that play nicely with structurelevels? I mean, let's say I'm somewhere
higher, e.g. on chapter, the next level would be section. If I now invoke this subsubsubject manually, does that break the levels structure? often it's ok as subjects are unnumbered but you can play safe:
\definehead[myownhead][subsubsubsubsubsubject]
\myownhead
you can then always go lower (more sub) if needed
and using dedicated head commands is also cleaner
Ok, that's what I've done now, and doesn't seem to create any problems. Thanks for pointing me in the right direction. Denis
participants (2)
-
denis.maier@unibe.ch
-
Hans Hagen