Chapter numbering - applying several commands at once
Dear All, in my book I'd like to precede my titles with the number formated as 'CHAPTER I.', e.g. roman numeral and all this small caped and also in bold as the title itself. In the following definition I can use either: (1) \sc + \setcharactercasing - small caps + lowercased number (but not bold) (2) \smallcaps - bold small caps (but not lowercased number) (3) \setcharactercasing - lowercased number (but not small caps) Idealy I'd like to combine \smallcaps + \setcharactercasing, but this throws an error. I am also considering using just smaller font, but I am facing similar problems as I cannot combine both the casing conversion and e.g. \bfb in single \groupedcommand. I prefer setting the upercased version of Romannumerals as I do not want small roman literals in the TOC or bookmarks. Are there better ways to accomplish this? \definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] \setupbodyfont[palatino] \setuplabeltext[en][chapter=chapter~] \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\sc \setcharactercasing[word]}{.\blank[0.4cm]}, ] \setupcombinedlist[content][list=chapter, alternative=c] \starttext \completecontent \chapter{Foo}text \chapter{Bar}text \stoptext Thanks, Jan
participants (1)
-
Jan Tosovsky