Hi Hraban,

and thanks.

setuphead[chapter,section][numberwidth=2em] or "fit"
works!

I know \setupheadertexts, but do not know what shall I write here:
\startsection[titel=Aufgabe, marking=?????]
If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same.

\setupheadertexts
       [] [{\getmarking[chapter]} - {\getmarking[section]}] [{\getmarking[chapter]} - {\getmarking[section]}] []
----> Kapitel - Aufgabe


Thanks in advance
Greetings
Thomas


Am 20.03.24 um 09:09 schrieb Hraban Ramm:


Am 20.03.24 um 08:18 schrieb Thomas Meyer:
HI folks,

yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself.

But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I automate this with marking? And how can I reduce the space between the number (1.) and the title (Kapitel or Aufgabe)?

Thanks for your help
Thomas

Hi Thomas,

do you know how to use \setupheadertexts?

https://wiki.contextgarden.net/Command/setupheadertexts

I guess you're using the section level for "Aufgabe"?

Then something like {\getmarking{chapter} – \getmarking{section}} might fit your request.

The formatting should be possible with \setuphead[chapter,section][numberwidth=2em] or "fit".

Hraban


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist :ntg-context@ntg.nl  
/https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  :https://www.pragma-ade.nl  /https://context.aanhet.net  (mirror)
archive  :https://github.com/contextgarden/context
wiki     :https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to