-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
support \SI and \si from siunitx #817
Comments
@samridhgupta is |
Apparently it does. From the docs for the
results in
|
is there any progress? |
None yet. This is tricky because the non-optional argument to I'm curious about the benefits of this package. It seems like it'd be easier to type:
than
|
The benefit of this package is that you can obtain unified style of units across the pages, the spacing is always determined automatically, and the document becomes more semantic. I do want this function available for KaTeX too. |
Any progress on this feature? It would be really nice if KaTeX could support siunitx, even if it is only rudimentarily . |
100% agree, but no progress was made, I think. |
I would also like proper parsing... Currently, I use the following workaround: var macros = {
"\\SI": "{#1\\;\\mathrm{#2}}",
"\\squared": "{^{2}}",
"\\cubed": "{^{3}}",
"\\per": "/",
"\\tera": "T",
"\\giga": "G",
"\\mega": "M",
"\\kilo": "k",
"\\milli": "m",
"\\micro": "μ",
"\\nano": "n",
"\\kilogram": "\\text{kg}\\,",
"\\meter": "\\text{m}\\,",
"\\second": "\\text{s}\\,",
"\\ampere": "\\text{A}\\,",
"\\kelvin": "\\text{K}\\,",
"\\mol": "\\text{mol}\\,",
"\\candela": "\\text{cd}\\,",
"\\newton": "\\text{N}\\,",
"\\hertz": "\\text{Hz}\\,",
"\\pascal": "\\text{Pa}\\,",
"\\volt": "\\text{V}\\,",
"\\watt": "\\text{W}\\,",
"\\joule": "\\text{J}\\,",
"\\henry": "\\text{H}\\,",
"\\farad": "\\text{F}\\,",
"\\coulomb": "\\text{C}\\,",
"\\ohm": "\\Omega\\,",
"\\weber": "\\text{Wb}\\,",
"\\tesla": "\\text{T}\\,",
"\\degree": "\\text{deg}\\,"
};
...
katex.render(el.innerHTML, el, { displayMode: true, macros: macros }) |
Are there any new? |
That feature would be important for us |
No description provided.
The text was updated successfully, but these errors were encountered: