LyX & "derivative" package

Bernt Lie via lyx-users <[email protected]> Sun, 11 Jan 2026 15:13:10 +0000
Newsgroups gmane.editors.lyx.general
Message-ID <OLAP279MB0152D5EE1964626225C256549C80A@OLAP279MB0152.NORP279.PROD.OUTLOOK.COM>
I am trying to use the "derivative" package to get consistent use of derivatives as operators, etc.

I have previously written my own macro:

\newcommand{\diff}{\mathrm{d}}

To produce dx/dt = ..., I thus write: \frac + space + \diff + space + x + TAB + \diff + space + t + space = ...

This is quite fast. But now I an trying to use the "derivative" package.

My understanding is that to get

[cid:eed37c90-4f75-4050-a6bf-6e56905adb8a]

with "derivative", I should be able to write:

\dv[2]{x}{t} = f...

Is there a way to make this work with LyX?

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users
image.png (image/png, 14.1 KB) - not displayed