ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	jbf <roma83537@gmail.com>
Subject: [NTG-context] Re: \underbar in head
Date: Thu, 21 Sep 2023 06:26:37 +0200	[thread overview]
Message-ID: <122e1a2d-d050-32ef-40cb-fd08caecf1ba@gmail.com> (raw)
In-Reply-To: <5316a271-08fc-5ab7-89cc-afa1b820eeb1@gmail.com>

jbf schrieb am 21.09.2023 um 05:03:
>
> Am attempting to get an underlined head style (chapter) with:
>
> \setuphead[chapter][textcommand=\underbar]
>
> But I get no underline. Am I doing something wrong? I can, of course, 
> achieve the result at each chapter level with 
> \startchapter[title={\underbar{text}}] but would prefer to achieve 
> this with \setuphead
>

\setuphead[chapter][textcommand={\setbar[underbar]}]

\starttext

\chapter{\samplefile{ward}}

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-09-21  4:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21  3:03 [NTG-context] " jbf
2023-09-21  4:26 ` Wolfgang Schuster [this message]
2023-09-21  5:01   ` [NTG-context] " jbf
2023-09-21 16:04     ` Wolfgang Schuster
2023-09-21 21:36       ` jbf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=122e1a2d-d050-32ef-40cb-fd08caecf1ba@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=roma83537@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).