André, how do I create a macro, so, within mathed? \begin_inset FormulaMacro \newcommand{\bmath}[1]{\mathbf{#1}}
\end_inset I can create a macro mathbf{A} by typing \mathbf_A_, where _ is a space, but this doesn't work with #1. I can also edit the lyx file to create the macro I want, and this is parsed correctly and written back out fine to a new .lyx file. However, it appears to have no effect. \mathbf_n_ produces a non-bold "n", whereas \mathbf_n_ works fine. Can you help? Angus