Support `\diff` from `esdiff` latex package
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
It is really annoying to write
\frac{d x}{d y}
\frac{\partial x}{\partial y}
every time I want to render derivative.
There is a latex package called esdiff
which allows to do this:
\diff{x}{y}
\partdiff{x}{y}
as an equivalent to the above.
Describe the solution you'd like
idk how mathjax uses latex, but in a standard project it'd be just adding \usepackage{esdiff}
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
$$
\frac{\partial x}{\partial y}
$$
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked esdiff package description and MathJax's existing LaTeX extension support. Check how the examples using \diff{x}{y} and \partdiff{x}{y} should render, then verify both commands produce the corresponding derivative expressions in MathJax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, latex
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100