Re: [NTG-context] Problems with inner products

2009-09-05 Thread Mojca Miklavec
On Sat, Sep 5, 2009 at 02:10, Guilherme P. de Freitas wrote: Hi everybody, I am trying to define a command for inner products. I would like to type $\innerprod{x, y}$ and obtain in the output x, y. Now, I defined \define[2]\innerprod  {\langle #1, #2 \rangle} If you define it that way

[NTG-context] Problems with inner products

2009-09-04 Thread Guilherme P. de Freitas
Hi everybody, I am trying to define a command for inner products. I would like to type $\innerprod{x, y}$ and obtain in the output x, y. Now, I defined \define[2]\innerprod {\langle #1, #2 \rangle} but then, when I used the command, I got some weird behavior: the next character after y would