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

Re: Macro with comma in argument

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

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 Betreff: Re: Macro with comma

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

Re: Macro with comma in argument

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

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 Betreff: Re: Macro with comma

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

Re: Macro with comma in argument

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

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 > Betreff: Re