[NTG-context] Caption with new line

2017-03-17 Thread Kostirya
Hello. I use \vbox to separate headtext from text in chapter header by new line. \define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}} \define[1]\DotAfterNumber{\doiftext{#1}{#1.}} \setuphead[chapter][command=\MyChapterCommand]

[NTG-context] Caption with new line

2017-03-17 Thread Kostirya
Hello. I use \vbox to separate headtext from text in chapter header by new line. \define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}} \define[1]\DotAfterNumber{\doiftext{#1}{#1.}} \setuphead[chapter][command=\MyChapterCommand]