Re: Problem with math-macro

2005-09-04 Thread Paul A. Rubin
Srinivas Nedunuri wrote: Hello, I tried defining a macro as described in the User Guide (the macrowarg example). However, I get the following erroe message: Extra }, or forgotten $. \newcommand{\macrowarg}[1]{2+\sqrt{#1}} What is wrong here? The code looks identical to what the User Gu

Re: Problem with math-macro

2005-09-04 Thread Paul Smith
On 9/4/05, Srinivas Nedunuri <[EMAIL PROTECTED]> wrote: > Hello, I tried defining a macro as described in the User Guide (the > macrowarg example). However, I get the following erroe message: > > Extra }, or forgotten $. > \newcommand{\macrowarg}[1]{2+\sqrt{#1}} > > What is wrong here? T

Problem with math-macro

2005-09-04 Thread Srinivas Nedunuri
Hello, I tried defining a macro as described in the User Guide (the macrowarg example). However, I get the following erroe message: Extra }, or forgotten $. \newcommand{\macrowarg}[1]{2+\sqrt{#1}} What is wrong here? The code looks identical to what the User Guide says is produced. (BTW