Merge pull request #33 from DARC-e-V/fix-centi-unit
fix: add dezi and centi for units
This commit is contained in:
@@ -2,6 +2,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
var macros = {
|
||||
",": (context) => context.future()?.text === " " ? "{\\char`,}" : "\\char`,",
|
||||
"\\qty": "{#1\\,\\mathrm{#2}}",
|
||||
"\\unit": "{\\mathrm{#1}}",
|
||||
"\\squared": "{^{2}}",
|
||||
"\\cubed": "{^{3}}",
|
||||
"\\per": "/",
|
||||
@@ -9,9 +10,12 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
"\\giga": "G",
|
||||
"\\mega": "M",
|
||||
"\\kilo": "k",
|
||||
"\\dezi": "d",
|
||||
"\\centi": "c",
|
||||
"\\milli": "m",
|
||||
"\\micro": "\\text{μ}",
|
||||
"\\nano": "n",
|
||||
"\\pico": "p",
|
||||
"\\kilogram": "\\text{kg}",
|
||||
"\\meter": "\\text{m}",
|
||||
"\\second": "\\text{s}",
|
||||
|
||||
Reference in New Issue
Block a user