Hi

I have defined a character style to be used for keynames (e.g. <ctrl-X>,
<ESC>). The value entered by the user should be displayed encapsulated in
angle brackets, as in the given examples. The style definition achieves this
in LaTeX but not in the LyX display.

  CharStyle HCKeyname
    LatexType             Command
    LatexName             hckeyname
    Preamble
      \newcommand{\hckeyname}[1]{%
         \textsf{<#1>}%
      }
    EndPreamble
    Font
      Family              Sans
    EndFont
    LabelFont
      Color               blue
    EndFont
  End

Can I do what I want or am I chasing at shadows?

Cheers
T


Reply via email to