ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Italic corrections?
@ 2019-08-19 17:50 Jon Wong
  2019-08-19 20:27 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Wong @ 2019-08-19 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

Will this work?

\usetypescript[pagella]
\setupbodyfont[pagella,12pt]
\definefontfeature
  [itlc=yes]

This {\em will} work?

Regards
Jon

___________________________________________________________________________________
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] 2+ messages in thread

* Re: Italic corrections?
  2019-08-19 17:50 Italic corrections? Jon Wong
@ 2019-08-19 20:27 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2019-08-19 20:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jon Wong

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-19 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 17:50 Italic corrections? Jon Wong
2019-08-19 20:27 ` Wolfgang Schuster

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).