On 9/6/2013 10:51 PM, Alan Bowen wrote:
Sorry, Hans—I had thought that it would be very complicated to produce one, but actually it was easy:
\usemodule[simplefonts]
\setmainfont[Antykwa-Poltawskiego][protrusion=pure, expansion=quality, mode=node, script=latn, smallcaps]
\setupalign[hanging,hz]
\starttext
\underbar{\dorecurse{5}{\input knuth}}
\stoptext
Note from the wiki (http://wiki.contextgarden.net/Command/overstrike):
If you are using microtypography with |\setupalign[hz,hanging]|, then with some fonts the rule may end up off-target, above the characters instead of through them. (The problem was experienced with Linux Libertine and mkiv, and not with Latin Modern.) The workarounds are:
o Put the overstriked text in a |\inframed[frame=off]{}|.
As with \overstrike, with \underbar “off target” can mean “nowhere”.
\underbar and Latin Modern witrh microtypography works but not \underbar and Antykwa-Poltawskiego—unless one turns off microtypography.
So, if I must use \inframed—can I get it to allow for proper linebreaking/paragraphing?
hm, it relates to hz, which is weird as that is only messign with characters ... (i must admit that i never use that) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------