$$ a/b $$ Multiline

16 weergaven
Naar het eerste ongelezen bericht

Calum

ongelezen,
10 jan 2023, 14:55:5010-01-2023
aan MathJax Users
Hello,

Can I get Mathjax to display $$ a/b $$ and other fractions written with slashes as


rather than



Thank you!

Davide Cervone

ongelezen,
11 jan 2023, 09:07:2711-01-2023
aan mathja...@googlegroups.com
One reason this isn't usually done is that the notation is ambiguous.  Does "a+b/2c" mean "(a+b)/(2c)" or "a+(b/2)c", for example?

It would be possible to make / act like Plain TeX's \over macro, so that you could use "{a/b}" to get the equivalent of "\frac{a}{b}", and so the two forms above would be distinguished by using "{a+b/2c}" versus "a+{b/2}c", but that may not be what you want.

Alternatively, you may want to consider using AsciiMath rather than LaTeX as your input format, as it does use / for fractions.

Davide


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/041cf9db-713e-475a-973b-cab7d5f9788bn%40googlegroups.com.

Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten