![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer:
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 ___________________________________________________________________________________