Re: [NTG-context] Vertical alignment of framed text
![](https://secure.gravatar.com/avatar/30ef4fea8acc9a4c7a392675260cfcb9.jpg?s=120&d=mm&r=g)
Hello, Please, don't take me as too much exacting man, but Mojca's (partial) solution \def\hotkey#1{\inframed[corner=00]{\ #1\ }} is more suitable for me than the Wolfgangs's (complete) one: \defineframed [dohotkey] [strut=yes,corner=00,frameoffset=-0.2em,location=low] \definehspace[hotkey][0.6em] \def\hotkey#1{\dohotkey{\hspace[hotkey]#1\hspace[hotkey]}} The latter add space between surrounding words proportionally to the in-frame space. The ideal solution would be \def\hotkey#1{\inframed[corner=00, location=low, height=\lineheight]{\ #1\ }} but it doesn't work. Maybe it is a bug, ideed? Best, Vyatcheslav
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Thu, 19 Apr 2007, Vyatcheslav Yatskovsky wrote:
The ideal solution would be
\def\hotkey#1{\inframed[corner=00, location=low, height=\lineheight]{\ #1\ }}
but it doesn't work. Maybe it is a bug, ideed?
What about: \setupcolors[state=start] \def\hotkey#1{\inframed[background=screen,offset=overlay, height=\lineheight,corner=00]{~#1~}} (this is what I am using) Cheers, Peter -- http://pmrb.free.fr/contact/
participants (2)
-
Peter Münster
-
Vyatcheslav Yatskovsky