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

[FEATURE] Higher order partial derivatves #329

Open
K4LCIFER opened this issue Sep 17, 2024 · 1 comment
Open

[FEATURE] Higher order partial derivatves #329

K4LCIFER opened this issue Sep 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@K4LCIFER
Copy link

Description of the Problem

Currently, there is only a snippet for lower order partial derivatives. through pa[A-Za-Z][A-Za-z], or par, which will create something like \frac{\partial f}{\partial x}, but there's no option for a higher order partial derivative like \frac{\partial^2f}{\partial x^2}

Description of the Solution

It would be good to have a snippet for a higher order partial derivative.

Additional

Perhaps something like pa[0-9][A-Za-z][A-Za-z]?

@K4LCIFER K4LCIFER added the enhancement New feature or request label Sep 17, 2024
@nonrice
Copy link

nonrice commented Sep 21, 2024

You can accomplish this by adding a custom snippet. I used this:

{trigger: "par", replacement: "\\frac{ \\partial^{${0:}} ${1:y} }{ \\partial ${2:x}^{$0}}", options: "m"},

Example:

$$ \frac{ \partial^{2} f }{ \partial x^{2}} $$

Would be partab2tabftabx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants