[NTG-context] Vertical alignment of framed text

Peter Münster pmlists at free.fr
Sun Apr 29 12:52:36 CEST 2007


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/


More information about the ntg-context mailing list