mathjax / ctop

A JavaScript implementation of David Carlsle's Content-to-PresentationMathML xsl
Apache License 2.0
3 stars 5 forks source link

Choice of renderings for `diff` and `partialdiff` #8

Open christianp opened 10 years ago

christianp commented 10 years ago

http://www.w3.org/Math/testsuite/build/main/Content/Calculus/degree/rec-degree1-form.xhtml http://www.w3.org/Math/testsuite/build/main/Content/Calculus/diff/rec-diff2-form.xhtml

pkra commented 10 years ago

I don't really know enough about diff. equations to make a call. Will different people have different preferences? I prefer the image in the first link to ctop's current rendering (which resolves things to d^n+m) But that's much like the discussion about 7+ (-1)...

christianp commented 10 years ago

On reflection, I also prefer d^n+m. For the second one, I've just written code to put f(x) to the right of the fraction in d/dx f(x), because I don't like having too much stuff on the top.

pkra commented 10 years ago

IIUC, this means ctop.js now produces something like \frac{d^{n+m}}{d x^n d y^m } f(x)?

christianp commented 10 years ago

Yeah, but not for partial differentiation yet because I'm still working on that.

pkra commented 10 years ago

sounds good.

christianp commented 10 years ago

I don't think I prefer the multiple-fractions version of partialdiff enough to implement it.

pkra commented 10 years ago

I think that's fine for this iteration.