RE: LyX & differential *operator*

2019-01-08 Thread Bernt Lie
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

Re: LyX & differential *operator*

2019-01-08 Thread Andrew Parsloe
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}

Re: LyX & differential *operator*

2019-01-08 Thread Joel Kulesza
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

RE: LyX & differential *operator*

2019-01-08 Thread Bernt Lie
...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

LyX & differential *operator*

2019-01-08 Thread Bernt Lie
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