Am 15.03.2008 um 01:44 schrieb Pavel Sanda:

Define a macro with the "\foo :=" button. Then go into math mode and use the macro. When you enter with the cursor, the different editing modes come
into play.

sorry i'm lost, whatsoever i do, no difference.
can you describe step by step what exactly should i do?
pavel


I maybe forgot to say that you have to add at least one parameter to the macro. So you do this:

1. Click the "\foo :=" button in the toolbar.
2. Change the macro name to "\foo"
3. Go into the first box (the macro definition) and enter "\#1" (this makes the macro into a unary one)
4. Leave the macro definition and create a formula
5. Enter "\foo<SPACE>". You see the macro with the hole.
6. Go back with the cursor to enter the hole.

Now you see that a grey box is drawn around it. This depends on the macro editing mode. Some people like it like this. For others the small metrics changes, which cause a bit of jumping of the formulas on screen, is already too much. They can use the mode without the grey "foo" header. The third mode is like it was in LyX 1.5, i.e. with a list of parameters.

Stefan

<<inline: Bild 1.png>>


Reply via email to