On 02/24/2017 10:07 AM, Bernt Lie wrote:
Assuming that you are loading AMSMath, try adding \DeclareMathOperator{\sgn}{sgn} to the document preamble and then use \sgn in math insets.I use LyX 2.2 on Win10.I need to typeset the signum function as an operator. I have tried to insert "\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should. Is there a syntax for this? -Bernt
Paul