feature: add qtyrange command

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