Re: Possible to only get LyX display of macro, but no LaTeX def?

2023-06-09 Thread Andrew Parsloe
On 9/06/2023 8:24 pm, 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 ther

Re: Possible to only get LyX display of macro, but no LaTeX def?

2023-06-09 Thread Richard Kimberly Heck
On 6/9/23 19:39, Richard Kimberly Heck wrote: 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\

Re: Possible to only get LyX display of macro, but no LaTeX def?

2023-06-09 Thread Richard Kimberly Heck
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 w

Possible to only get LyX display of macro, but no LaTeX def?

2023-06-09 Thread Scott Kostyshak
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