Thanks for taking the time out . Please find a file attached .You wrote
'*Put the cursor in the first of the boxes, and type: \#1\times\#1,  just as
written, then a space.

You should then see the second shot* .'
I do not get the second shot on typing \#1\times\#1 and then a space


On Thu, Oct 2, 2008 at 11:03 PM, rgheck <[EMAIL PROTECTED]> wrote:

> anu saxena wrote:
>
>> Hi Richard
>> Once only I got four boxes as displayed in the guide and it worked . Every
>> other time when I got just two boxes (Guide shows four boxes ) I tried just
>> what you have written and that is what the guide also says, nothing happened
>> .
>>
>>  Oh, I see what you mean about the four boxes. I think. Once a macro with
> three arguments has been properly defined and then you use it, you'll get
> the four boxes: One that shows your formula, and one for each argument. But
> the macro definition itself will show only two, as I said.
>
> But what do you mean "nothing happened"? When did nothing happen?
>
> Maybe we should start with a simple case. Do this. Exactly.
>
> Alt-x to open the mini-buffer
> Type: math-macro test 1, return.
>
> You should see the first screenshot below.
>
> Put the cursor in the first of the boxes, and type: \#1\times\#1, just as
> written, then a space.
>
> You should then see the second shot.
>
> Now enter a new line, type Ctrl-M to get a math formula, and type: \test
>
> You should now see screenshot three.
>
> Now you can enter an argument in the argument box. Type: \alpha, then a
> space.
>
> Screenshot four shows the result.
>
> Richard
>
> PS Please reply to the list in case others are following the thread.
>
>  Thanks
>> anu
>>
>> On Thu, Oct 2, 2008 at 3:29 AM, Richard Heck <[EMAIL PROTECTED]<mailto:
>> [EMAIL PROTECTED]>> wrote:
>>
>>        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
>>
>>
>>
>

Reply via email to