* Unexpected underbar behaviour in sections @ 2020-11-24 18:05 Bruce Horrocks 2020-11-24 22:26 ` Aditya Mahajan 0 siblings, 1 reply; 3+ messages in thread From: Bruce Horrocks @ 2020-11-24 18:05 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unexpected underbar behaviour in sections 2020-11-24 18:05 Unexpected underbar behaviour in sections Bruce Horrocks @ 2020-11-24 22:26 ` Aditya Mahajan 2020-11-24 23:58 ` Bruce Horrocks 0 siblings, 1 reply; 3+ messages in thread From: Aditya Mahajan @ 2020-11-24 22:26 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unexpected underbar behaviour in sections 2020-11-24 22:26 ` Aditya Mahajan @ 2020-11-24 23:58 ` Bruce Horrocks 0 siblings, 0 replies; 3+ messages in thread From: Bruce Horrocks @ 2020-11-24 23:58 UTC (permalink / raw) To: ntg-context > On 24 Nov 2020, at 22:26, Aditya Mahajan <adityam@umich.edu> 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-24 23:58 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-11-24 18:05 Unexpected underbar behaviour in sections Bruce Horrocks 2020-11-24 22:26 ` Aditya Mahajan 2020-11-24 23:58 ` Bruce Horrocks
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).