anu saxena schrieb:
I am trying to create a math macro as described in the User's guide
of the
documentation . when I execute the command math-macro name 3 in the
mini-buffer I do not get four red boxes instead I get only two .
You shouldn't get four boxes, just the two. Then you enter the formula
you want in the first box. Use "\#n" for the nth argument of the macro.
(You won't see the "\", but it's need to signal to LyX that what follows
isn't a literal "#".) You can optionally enter something else to be
displayed in LyX in the second box, if the thing in the first is too
complicated and you don't need to see it. Usually, you just leave the
second box empty, in which case LyX displays what is in the first box.
Richard