Am 21.05.2025 um 10:45 schrieb Gottschalt, Johannes:
Hi everyone,

I need some help customizing the default TOC so that it has hanging indents. Meaning that, if a heading spans more the one line, all lines after the second one should be indented. For example, if you look at this screen:

I would want “den” to be indented to the same level of “Von” in the line above. How would I set this up in ConTeXt?

You have to provide a minimal example for your problem because the default layout indents the text on all lines.

%%%% begin example
\usemodule[visual]

\starttext

\completecontent[alternative=c]

\chapter{\fakewords{30}{40}}
\section{\fakewords{10}{15}}

\stoptext
%%%% end example

Wolfgang

___________________________________________________________________________________
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