[NTG-context] Word wrap of 'part' titles

Bruce Horrocks ntg at scorecrow.com
Mon Apr 18 22:46:24 CEST 2022

In the MWE below the 'part' title is centred but on one line only and, because it is a long title, the beginning and end are lost off the sides of the page.

If it were a 'chapter' title then I could insert '\\' to cause a line break at that point. However this does not seem to work for 'part'.

Is there a way of making 'part' titles wrap the same way that 'chapter' titles do?

% ---begin---

\definehead [Part] [part]
  [ placehead=yes,
\startPart[title={A very long part title that needs to be wrapped manually}]
Some body text

Bruce Horrocks
Hampshire, UK

More information about the ntg-context mailing list