Colleagues:
Does anyone know of a method to define new functions such as \exp, \sin,
etc.?
I'd like to include \sgn or \sign in a document and the only method I've
identified is to include
\usepackage{amsmath}
\DeclareMathOperator{\sgn}{sgn}
in the preamble.
However, when setting the equation LyX does not / can not identify this so
I see "\sgn" in maroon text rather than "sgn" in black text (like I would
with exp or sin).
This is minor, but it would be nice to have a cohesive looking document
with non-standard named functions.
Any thoughts you can provide are appreciated.
Thank you,
Joel