[NTG-context] Caption with new line
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] \setuphead[title][numbercommand=\DotAfterNumber,command=] Tell me, please, how can I do like for Captions of Floating Objects? Nick. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Caption with new line
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] \setuphead[title][numbercommand=\DotAfterNumber,command=] Tell me, please, how can I do like for Captions of Floating Objects? Nick. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___