On Mon, Jun 3, 2013 at 8:07 PM, honyk <j.tosov...@email.cz> wrote:

> Marco,
>
> thanks a lot, it gives me exactly what I wanted!
>
> But to be honest, I expected a single option for this :-)
>
>
\setuplabeltext[en][chapter=Chapter~]

% while for chapter title this line break is handy (in my use case)
\setuphead[chapter][
        alternative=middle,
        style=\bfc,
        conversion=Romannumerals,
        numbercommand=\groupedcommand{\cap}{\blank[0.5cm]},
        after={\blank[1cm]},
        ]

% for section it is inappropriate
\setuphead[section][
        align=middle,
        style=\bfa,
        sectionsegments=section, % ignore component label
        ]

\starttext
\chapter{Foo}
\section{The First Section}
Text.
\stoptext

But again, are you sure about the \cap command ?
It also sets the CHAPTER as small caps .

-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to