Unexpected underbar behaviour in sections
The following is giving me a section title with triple underbars instead of single. \definehead [Heading] [section] \setuphead [Heading] [style={\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. ;-) version 2020.11.24 00:41 -- Bruce Horrocks Hampshire, UK
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. ;-)
Aditya
On 24 Nov 2020, at 22:26, Aditya Mahajan
wrote: 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]
Thanks - that worked nicely. -- Bruce Horrocks Hampshire, UK
participants (2)
-
Aditya Mahajan
-
Bruce Horrocks