yx.org
Subject: Re: LyX & differential *operator*
On 9/01/2019 3:28 AM, Bernt Lie wrote:
> I use LyX 2.3.1 under Windows 10.
>
> I'm trying to create an "operator" for the infinitesimal d. Thus, instead of
> writing $dx$ -- which leads to "d" in italic font, I g
On 9/01/2019 3:28 AM, Bernt Lie wrote:
I use LyX 2.3.1 under Windows 10.
I'm trying to create an "operator" for the infinitesimal d. Thus, instead of writing $dx$
-- which leads to "d" in italic font, I go to Document/Settings... and the LaTeX Preamble
field:
\DeclareMathOperator{\diff}{d}
On Tue, Jan 8, 2019 at 7:54 AM Bernt Lie wrote:
> Perhaps better to define it as a **macro**?
>
> \newcommand{\diff}{\mathrm{d}}
>
This is what I do, and I'm happy with the result.
- Joel
...follow up:
Perhaps better to define it as a *macro*?
\newcommand{\diff}{\mathrm{d}}
??
-Original Message-
From: Bernt Lie
Sent: Tuesday, January 8, 2019 15:28
To: Bernt Lie ; lyx-users@lists.lyx.org
Subject: LyX & differential *operator*
I use LyX 2.3.1 under Window
I use LyX 2.3.1 under Windows 10.
I'm trying to create an "operator" for the infinitesimal d. Thus, instead of
writing $dx$ -- which leads to "d" in italic font, I go to Document/Settings...
and the LaTeX Preamble field:
\DeclareMathOperator{\diff}{d}
Next, in the document, I write $\diff