[NTG-context] Unexpected underbar behaviour in sections

Aditya Mahajan adityam at umich.edu
Tue Nov 24 23:26:36 CET 2020

On Tue, 24 Nov 2020, Bruce Horrocks wrote:

> The following is giving me a section title with triple underbars instead of single. 
> \definehead [Heading] [section]
> \setuphead [Heading] [style={\underbar}]

Change this to:

\setuphead [Heading] [textcommand={\underbar}, numbercommand=\underbar]

> \starttext
> \Heading{First level section heading}
> \underbar{This is single underlined as expected}
> \stoptext
> (Same with \startHeading .. \stopHeading and for subsections, which is where I first noticed it.)
> It looks quite attractive in its own way - and certainly acts as a visual highlight - just not quite what I was expecting. ;-)


More information about the ntg-context mailing list