[NTG-context] Protcode for context

Taco Hoekwater taco at elvenkind.com
Thu May 20 17:37:15 CEST 2010


John Culleton wrote:
> The following works for pdftex
> --------------------------------------
> \rm
> \pdfadjustspacing=2
> \input protcode.tex
> \pdfprotrudechars=2
> \setprotcode\font
> \pdffontexpand\rm 20 20 5 autoexpand

\rm is not a font identifier in ConTeXt, but a full-blown font
switch, a bit like \rmfamily in latex.

The http://wiki.contextgarden.net/Protrusion  explains how to use
protrusion. The bottom line: if you want protrusion in context,
use context commands, not plain TeX commands.

Best wishes,
Taco


More information about the ntg-context mailing list