On 6/9/23 04:24, Scott Kostyshak wrote:
I often find myself of wanting to define a command in a module's preamble, and 
I want to define a corresponding LyX math macro to *display* it nicely in the 
LyX display; but I don't want the \global\long\def\mymacro that comes along 
with it. Is there a way to tell LyX that I already defined the command and I 
don't want the macro to define it?

Perhaps a different use case is that I might want to display a built-in LaTeX 
definition (or one in a package) differently, but I don't want to redefine it.

No, I don't think that's possible. I've had occasion to want something similar---e.g., some macro is defined in some package, but LyX does not handle it natively, and I'd like to see decent display. My usual strategy is just to define a 'dummy' macro the way you have there and use that.

Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to