On Thursday 21 March 2002 3:43 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 03:18:17PM +0000, Angus Leeming wrote:
> > André, how do I create a macro, so, within mathed?
> >
> > \begin_inset FormulaMacro
> > \newcommand{\bmath}[1]{\mathbf{#1}}
>
> Type
>
>   \newcommand{\bmath}[1]{\mathbf{#1}}
>
> select it, and press <C-m>

Ok. So there's no way of doing this within mathed. Fair enough.

> > 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.
>
> I don't understand at least the last sentence.

Sure. I Posted an erratum. Perhaps you missed that?

It should read:

...no effect. \bmath_n_ produces a non-bold "n", whereas \mathbf_n_ works 
fine.

Ie, wrapping the font change inside the macro means it is ignored.

Angus

Reply via email to