On 23.07.08, Richard heck wrote: > LittleNew wrote: >> I wanted to add a "\arccot" self-defined function in my >> document, and I followed the help's instruction to add >> "\DeclareMathOperator{\arccot}{arccot}" in "Document->settings...->LaTeX >> Preamble", but after I did it, nothing happened. ... > Is the problem that it doesn't look right in LyX itself or in the LaTeX > output? I don't think it will look any different in LyX. But it should > look right in the output.
To fix this in LyX, you would need to define a math-macro in a disabled branch or a comment. (This works in LyX <= 1.5.5, I do not know about 1.6). See the attachment for an example. GM