There are two cases to discuss.

### Using \newcommand in the the LyX document preamble.

I get this behaviour:
1) new document
2) write this in preamble:

    \newcommand{\mycommand}{ciao}

3) create math inset (equivalent of $\mycommand$).
   math is properly rendered

4) change the preamble in

    \newcommand{\mycommand}{ola}

At this point, should the rendering change? Nothing changes for me.

I am confused. What do you mean by 3) ? I type $\mycommand$ in the document. Of course it is rendered as an unknown tex tag on screen, but rendered correctly in dvi/pdf output. If I change the preample the screen view does not change, but the pdf/dvi output does.

Stefan

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to