From: Lars Huttar <lars_huttar@sil.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: how to include sans, bold and size in \setuptab[headstyle=???]
Date: Mon, 11 Nov 2013 16:45:49 -0500 [thread overview]
Message-ID: <5281500D.6070000@sil.org> (raw)
In-Reply-To: <52811398.7040506@gmail.com>
On 11/11/2013 12:27 PM, Wolfgang Schuster wrote:
>> Lars Huttar <mailto:lars_huttar@sil.org>
>> 11. November 2013 18:00
>> I finally tried
>>
>> \setuptab[headstyle={\ssbf \switchtobodyfont[18pt]}]
>>
>> and that works! But it seems clunky: it looks like it requires two font
>> switches, which I'm told makes things slower.
>>
>> And I can't help wondering if I'm missing some simpler way.
>> Is there a more efficient or elegant way to do this?
>>
> \definefont[BigBoldSans][SansBold at 18pt]
>
> \setuptab[headstyle=BigBoldSans]
OK, but in order to use this systematically, I would have to have a
\definefont for every potential combination of font style (serif/sans),
alternative (bold/italic/etc.), and size that will get used in the
document. In a large, complex book, that extra layer of indirection
seems unattractive. But maybe there's no better way to do it.
Lars
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2013-11-11 21:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 17:00 Lars Huttar
2013-11-11 17:27 ` Wolfgang Schuster
2013-11-11 21:45 ` Lars Huttar [this message]
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=5281500D.6070000@sil.org \
--to=lars_huttar@sil.org \
--cc=ntg-context@ntg.nl \
/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).