From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Jon Wong <jhannwong@gmail.com>
Subject: Re: Italic corrections?
Date: Mon, 19 Aug 2019 22:27:12 +0200 [thread overview]
Message-ID: <cdeb209f-40ba-242e-6857-c3231afe551c@gmail.com> (raw)
In-Reply-To: <B432D5B3-4AF5-4DD8-8545-01BBC23EF198@gmail.com>
Jon Wong schrieb am 19.08.2019 um 19:50:
> Hi all,
>
> Will this work?
>
> \usetypescript[pagella]
> \setupbodyfont[pagella,12pt]
> \definefontfeature
> [itlc=yes]
>
> This {\em will} work?
No, because have to change the font feature before you load the font.
When you use \em to get a italic text this is enough:
\definefontfeature [default] [default] [itlc=yes]
\setupbodyfont [pagella,12pt]
\starttext
This {\it will} work?
\stoptext
but to get additional space after italic text when you use the \it
command you have to add \setupitaliccorecction to your setups:
\definefontfeature [default] [default] [itlc=yes]
\setupbodyfont [pagella,12pt]
\setupitaliccorrection [text]
\starttext
This {\it will} work?
\stoptext
For more details about the options for the \setupitaliccorrection
command take a look into fonts-mkiv.pdf.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2019-08-19 20:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 17:50 Jon Wong
2019-08-19 20:27 ` Wolfgang Schuster [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=cdeb209f-40ba-242e-6857-c3231afe551c@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=jhannwong@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).