On Thu, Sep 1, 2022 at 3:27 AM Udicoudco wrote:
> Using \globaldefs (see page 275 in The TeX Book, or here) we might get a
> global assignment with \newcommand. First we can define a new command fo the
> matter (LyX may include this line in the preamble if it notices a math macro
> defintion w
Hello LyX Developers,
Currently (or at least in LyX 2.3.6.1) the definition of a new math macro
with LyX's GUI is implemented using a latex code of the form
\global\long\def\foo#1{}
I'm guessing this is implemented this way because you can never be sure if
a user will define the macro within a