Thank you! Now I understand! I just inserted it as plain LaTeX, instead of 'Macro'
Pascal > -----Ursprüngliche Nachricht----- > Von: rgheck [mailto:rgh...@bobjweil.com] > Gesendet: Freitag, 15. Januar 2010 14:00 > An: Pascal Boehm > Cc: lyx-users@lists.lyx.org > Betreff: Re: Macro with comma in argument > On 01/15/2010 05:02 AM, Pascal Boehm wrote: > > Dear Lyx-Users! > > > > I use the following macro: > > > > \newcommand{\ket}[1]{|#1\rangle} > > > > This should produce stuff like |F,mF> with the argument being 'F,mF' > > > > My problem is: entering the comma, Lyx leaves the argument-focus of \ket > > This means, Lyx produces |F>,mF (when I compile with pdfLatex) > > > > Does andybody know what I can do? > > > > > I don't see this. See the attached. > > rh > -- Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02