(beta) underbar in mkiv
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
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