Changes

Jump to navigation Jump to search
332 bytes added ,  12:34, 4 June 2021
no edit summary
< [[Fonts]]
 
Character protrusion is a somewhat subtle advanced typographic effect in which some characters (often punctuation) are moved partially or fully into the margin in order to give it an optically smoother appearance. In ConTeXt, this is achieved via the font mechanisms within pdfTeX and LuaTeX. Much of the difficult work is done in some presets by Hans, but there are a few tricks needed in order to activate the feature.
== Details ==
The [[{{cmd:usetypescript|\usetypescript]] }} command has three arguments. The definitions that we use are in [[source:type-exa.tex| type-exa.tex]], and reference the low-level definitions in [[source:hand-def.tex| hand-def.tex]]. There are different possible values for each argument, which, by convention, are:
\usetypescript [''family''] [''trigger''] [''type'']
{| border="1" cellspacing="0"
\stoptext
</texcode>
 
However in the current version (at least the beta 2011.02.25) there is no need to reset the bodyfont as loading is delayed till starttext anyway.
 
 
= LMTX=
 
In LMTX it's possible to disable protrusion locally with {{cmd|noprotrusion}}, e.g.:
 
<texcode>
{\noprotrusion \quotation{protrusion disabled here.}}
</texcode>
 
 
[[Category:Basics]]
[[Category:Fonts]]
gardener
51

edits

Navigation menu