I'm having a problem with
\newcommand. Below is my LyX document where the first line comes from the "Insert-Latex" command and the second line is using the "Insert-Math-Inline Formula"
When I compile the document using "View PDF" I get this error
Undefined control sequence Description: $\kon $ The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.
The weirdest part is that I've used this exact macro in other LyX documents and it works fine. If I remove the \text part, it also works fine. What's going on?