Anthony Campbell schrieb:
I would like to make a macro for an ERT command:
\clearpage \thispagetyle \mbox{} \clearpage
I'm sure it is is possible but I don't seem able to find any
documentation for it.
Add this to your preamble:
\newcommand{\mystyle}{\clearpage \thispagestyle \mbox{} \clearpage}
In your document you can call your command by inserting \mystyle as ERT.
(But I don't understand what your command sequence should do. Currently it only clears the page,
\mbox and \thispagestyle do nothing because they are not called correctly.)
\newommand is for example described in LyX's the Math manual, sec. 20.1.
regards Uwe