Paul Smith wrote: >> Try and use a math-macro in lyx. > > Could somebody here please indicate to me where one can find > documentation about macros
Lyx does not currently have any support in text mode for the latex commands \newcommand and \renewcommand. ERT is the latex-correct way to proceed, although it's also possible to use math-macros which will look wysiwym on the screen but will of course wrap your latex up inside math-mode. > and math-macros in LyX? math-macros are just wrappers for \newcommand and \renewcommand in math-mode. Their use is documented in the User Guide, section 5.6, "User defined macros in math mode". The current (LyX 1.3.x) implementation of mathed is completely different to the non-mathed code. The major goal of the 1.4.x series is to unify these two code bases. When that happens, support for macros in text-mode should follow fairly easily. -- Angus
