(beta) underbar in mkiv
Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) MTXrun | current version: 2009.11.07 17:59 Best wishes, Peter \starttext underbar the b from under\underbar{b}ar \stoptext
Peter Rolf wrote:
Hi,
underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :)
ok, i need to discuss this with taco quick hack: \let\normalunderbar\underbar \def\underbar#1{\normalunderbar{#1\hskip\zeropoint\relax}} Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen wrote:
Peter Rolf wrote:
Hi,
underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :)
ok, i need to discuss this with taco
There was a luatex bug. Fix is in the repository trunk already, until the next release just keep using Hans' hack. Best wishes, Taco
quick hack:
\let\normalunderbar\underbar \def\underbar#1{\normalunderbar{#1\hskip\zeropoint\relax}}
Hans
bedankt :) Taco Hoekwater schrieb:
Hans Hagen wrote:
Peter Rolf wrote:
Hi,
underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :)
ok, i need to discuss this with taco
There was a luatex bug. Fix is in the repository trunk already, until the next release just keep using Hans' hack.
Best wishes, Taco
quick hack:
\let\normalunderbar\underbar \def\underbar#1{\normalunderbar{#1\hskip\zeropoint\relax}}
Hans
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Hans Hagen
-
Peter Rolf
-
Taco Hoekwater