Leedehai / typst-physics

physica: vectors, fields, differentials, derivatives, Dirac brakets, tensors, and more. See examples in the manual PDF.
https://github.com/Leedehai/typst-physics
MIT License
343 stars 11 forks source link

Make differential operators in `partialderivative`(`pdv`) customizable #36

Closed RungeCC closed 3 days ago

RungeCC commented 4 days ago

As the title says, I add a new **kwargs d to partialderivative to customize its differential operators. Manual is also updated.

Motivation:

Sometimes I need to write some second order functional derivatives like in:

image

Hence, it will be convenient to allow to customize the differential operators in pdv.

Feel free to edit this pr, or just close it and implement your own if it's not satisfactory.

Leedehai commented 3 days ago

Thank you!