From: Florian Grammel <florian.grammel@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: overrule italics
Date: Fri, 2 Jun 2017 14:45:24 +0200 [thread overview]
Message-ID: <9615F38B-E970-4BE0-BC83-5DE182F39C4E@gmail.com> (raw)
In-Reply-To: <DE6D9FDC-9A0B-4F8B-A887-A8CD36002945@fiee.net>
[-- Attachment #1.1: Type: text/plain, Size: 709 bytes --]
>
>> I have a long text with section headers partly in italics and/or emphasis. I'd like to setup the formatting in a way that overrules these.
>>
>> \setuphead[section][style=\tfb\up]
>>
>> In LaTeX there would be \upshape/\textup -- is there an equivalent in ConTeXt?
>
> Did you try \tf ?
>
yes I did, unfortunately it doesn't work
> Otherwise \emph{italics \emph{upright} italics} should work (didn’t try).
Nested emph to invert works. But my text has both italicised and regular headers -- both should be printed upright with the modified style.
Even though I can modify them manually in this present case, something like \upshape would be good to have.
Best
Florian.
[-- Attachment #1.2: Type: text/html, Size: 1408 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-06-02 12:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 10:54 Florian Grammel
2017-06-02 12:30 ` Henning Hraban Ramm
2017-06-02 12:45 ` Florian Grammel [this message]
2017-06-04 15:21 ` Hans Hagen
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=9615F38B-E970-4BE0-BC83-5DE182F39C4E@gmail.com \
--to=florian.grammel@gmail.com \
--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).