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, If I try surrounding the macro body with $ (by shifting into math mode in Lyx) I get a complaint that you can't use #1 inside math mode thanks