Re: [NTG-context] Vertical alignment of framed text
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
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