[NTG-context] Hanging punctuation

Pablo Rodriguez oinos at gmx.es
Tue Jun 24 20:56:05 CEST 2014


On 06/24/2014 09:42 AM, Tomas Hala wrote:
> 
> I tried it, but unfortunately it does not work, either before, or after.
> Is there any other way how to enable it?

Tomas,

the following works (but not for ConTeXt from TeXLive 2013):

    \showframe
    \definefontfeature[default][default]
	[expansion=quality,protrusion=quality]
    \definefontfamily[mainface][serif][Trebuchet MS]
    \setupbodyfont[mainface]
    \setupalign[hz,hanging]
    \starttext
    \input knuth
    \stoptext

Output available at http://www.ousia.tk/protrusion.pdf.

I suggest that you install the ConTeXt Suite (instructions available at
http://wiki.contextgarden.net/ConTeXt_Standalone). You don’t need to
uninstall anything. It is always worth having the latest beta version.

I hope it helps,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list