fix: dash type

This commit is contained in:
Matthias Jung
2026-01-04 17:51:50 +04:00
parent f950a19d34
commit a7a03c084a
+1 -1
View File
@@ -2,7 +2,7 @@ document.addEventListener("DOMContentLoaded", function() {
var macros = { var macros = {
",": (context) => context.future()?.text === " " ? "{\\char`,}" : "\\char`,", ",": (context) => context.future()?.text === " " ? "{\\char`,}" : "\\char`,",
"\\qty": "{#1\\,\\mathrm{#2}}", "\\qty": "{#1\\,\\mathrm{#2}}",
"\\qtyrange": "{#1 - #2\\,\\mathrm{#3}}", "\\qtyrange": "{#1--#2\\,\\mathrm{#3}}",
"\\unit": "{\\mathrm{#1}}", "\\unit": "{\\mathrm{#1}}",
"\\squared": "{^{2}}", "\\squared": "{^{2}}",
"\\cubed": "{^{3}}", "\\cubed": "{^{3}}",