Add more siunitx stubs
This commit is contained in:
@@ -5,6 +5,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
"\\qty": "{#1\\,\\mathrm{#2}}",
|
"\\qty": "{#1\\,\\mathrm{#2}}",
|
||||||
"\\qtyrange": "{#1\\text{--}#2\\,\\mathrm{#3}}",
|
"\\qtyrange": "{#1\\text{--}#2\\,\\mathrm{#3}}",
|
||||||
"\\unit": "{\\mathrm{#1}}",
|
"\\unit": "{\\mathrm{#1}}",
|
||||||
|
"\\num": "{#1}",
|
||||||
"\\squared": "{^{2}}",
|
"\\squared": "{^{2}}",
|
||||||
"\\cubed": "{^{3}}",
|
"\\cubed": "{^{3}}",
|
||||||
"\\per": "/",
|
"\\per": "/",
|
||||||
@@ -48,6 +49,8 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
"\\weber": "\\text{Wb}",
|
"\\weber": "\\text{Wb}",
|
||||||
"\\tesla": "\\text{T}",
|
"\\tesla": "\\text{T}",
|
||||||
"\\bit": "\\text{b}",
|
"\\bit": "\\text{b}",
|
||||||
|
"\\degree": "^\\circ",
|
||||||
|
"\\degreeCelsius": "^\\circ\\text{C}",
|
||||||
};
|
};
|
||||||
|
|
||||||
renderMathInElement(document.body, {
|
renderMathInElement(document.body, {
|
||||||
|
|||||||
Reference in New Issue
Block a user