On Thursday 21 March 2002 3:18 pm, Angus Leeming wrote:
> 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_

that's:
  to have no effect. \bmath_n_ produces a non-bold "n", whereas \mathbf_n_


> works fine.
>
> Can you help?
>
> Angus

-- 
Dr Angus Leeming
Dept. of Bioengineering
Imperial College
London SW7 2BX

Tel +44 (0) 20 7594 5186
Fax +44 (0) 20 7584 6897

Reply via email to