Trevor Nicholls wrote:
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?
At the moment, there's no way to do what you want. But it's not a bad idea. I'd like myself to be able to display the text as, say, a superscript, so I could do this:
CharStyle textsuperscript
LatexType Command
LatexName textsuperscript
Etc...
Feel free to file an enhancement request.

Richard


--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to