Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add basic \odv and \pdv #3273

Closed
wants to merge 2 commits into from
Closed

feat: add basic \odv and \pdv #3273

wants to merge 2 commits into from

Conversation

visika
Copy link

@visika visika commented Sep 22, 2021

What is the new behavior after this PR?
Two new commands are available: \odv{y}{x} and \pdv{y}{x}, respectively for ordinary derivatives and partial derivatives.
These are macros based on \frac and only support first order derivatives.

See #3038 for discussion.

Working on KaTeX#3038
At the moment, the commands work with two and only two parameters,
i.e. first order derivatives only.
Copy link
Member

@ylemkimon ylemkimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! Could you let me know which package the \odv is from? Furthermore, I'm reluctant to merge partial support for forward compatibility.

@visika
Copy link
Author

visika commented Nov 2, 2021

@ylemkimon That's from the derivative package. The original package supports many additional options that I don't know how to implement. I appeal to anyone with more expertise if you really want to support those right now. In my opinion, this pull request is enough to improve the experience of anyone using derivatives in KaTeX, more can come later.
The forward compatibility is guaranteed, as the options only add features on top of the default cases.

@visika
Copy link
Author

visika commented Jan 12, 2023

I'm closing this pull request, as it is superseded by #3703 with more features.

@visika visika closed this Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants