We have an in-house LaTeX style, and our TeX guru has made a nice LyX layout
for it. I would now like to add some useful macros so that important features
of the documentation can be inserted in a standard way which fits in with the
layout and style, but it appears to be impossible to add a Lyx style at less
than paragraph granularity. Specifically, can I apply a macro so that e.g. a
user command is LaTeXed as \inhouse_command{ls -l}, and is displayed on the
screen as e.g. Font Typewriter / Color green, or as a box (like a label)
*without* a paragraph break? If so, how.

If this is not possible at the moment (1.1.4fix3), is this planned for future
versions? (And, yes, I know I can simply say \macro{anything} and press the TeX
button, but I would like something better).

-- 
Peter Lister         [EMAIL PROTECTED]    PGP (RSA): 0xE4D85541
Sychron Ltd          http://www.sychron.com  PGP (DSS): 0xBC1D7258
1 Cambridge Terrace  Voice: +44 1865 200211
Oxford OX1 1UR  UK   FAX:   +44 1865 249666


Reply via email to