Re: Macro with comma in argument

2010-01-15 Thread Pascal Boehm
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 > Betr

Macro with comma in argument

2010-01-15 Thread Pascal Boehm
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