Quick patch to avoid LaTeX errors with double subscripts, now that I'm using katex-convert-unicode to convert some characters to LaTeX directly (I should do this only for HTML output… to be fixed later)
This commit is contained in:
parent
8714493822
commit
a03874e520
|
@ -23,40 +23,40 @@
|
|||
(if (string? str)
|
||||
(string-replace*
|
||||
str
|
||||
'([₀ "_0"]
|
||||
[₁ "_1"]
|
||||
[₂ "_2"]
|
||||
[₃ "_3"]
|
||||
[₄ "_4"]
|
||||
[₅ "_5"]
|
||||
[₆ "_6"]
|
||||
[₇ "_7"]
|
||||
[₈ "_8"]
|
||||
[₉ "_9"]
|
||||
[ᵢ "_i"]
|
||||
[ⱼ "_j"]
|
||||
[ₖ "_k"]
|
||||
[ₗ "_l"]
|
||||
[ₘ "_m"]
|
||||
[ₙ "_n"]
|
||||
[ₒ "_o"]
|
||||
[⁰ "^0"]
|
||||
[¹ "^1"]
|
||||
[² "^2"]
|
||||
[³ "^3"]
|
||||
[⁴ "^4"]
|
||||
[⁵ "^5"]
|
||||
[⁶ "^6"]
|
||||
[⁷ "^7"]
|
||||
[⁸ "^8"]
|
||||
[⁹ "^9"]
|
||||
[ⁱ "^i"]
|
||||
[ʲ "^j"]
|
||||
[ᵏ "^k"]
|
||||
[ˡ "^l"]
|
||||
[ᵐ "^m"]
|
||||
[ⁿ "^n"]
|
||||
[ᵒ "^o"]
|
||||
'([₀ "{}_0"]
|
||||
[₁ "{}_1"]
|
||||
[₂ "{}_2"]
|
||||
[₃ "{}_3"]
|
||||
[₄ "{}_4"]
|
||||
[₅ "{}_5"]
|
||||
[₆ "{}_6"]
|
||||
[₇ "{}_7"]
|
||||
[₈ "{}_8"]
|
||||
[₉ "{}_9"]
|
||||
[ᵢ "{}_i"]
|
||||
[ⱼ "{}_j"]
|
||||
[ₖ "{}_k"]
|
||||
[ₗ "{}_l"]
|
||||
[ₘ "{}_m"]
|
||||
[ₙ "{}_n"]
|
||||
[ₒ "{}_o"]
|
||||
[⁰ "{}^0"]
|
||||
[¹ "{}^1"]
|
||||
[² "{}^2"]
|
||||
[³ "{}^3"]
|
||||
[⁴ "{}^4"]
|
||||
[⁵ "{}^5"]
|
||||
[⁶ "{}^6"]
|
||||
[⁷ "{}^7"]
|
||||
[⁸ "{}^8"]
|
||||
[⁹ "{}^9"]
|
||||
[ⁱ "{}^i"]
|
||||
[ʲ "{}^j"]
|
||||
[ᵏ "{}^k"]
|
||||
[ˡ "{}^l"]
|
||||
[ᵐ "{}^m"]
|
||||
[ⁿ "{}^n"]
|
||||
[ᵒ "{}^o"]
|
||||
[⊆ "\\subseteq" "\\ensuremath{\\subseteq}"]
|
||||
[⊂ "\\subset" "\\ensuremath{\\subset}"]
|
||||
[⊇ "\\supseteq" "\\ensuremath{\\supseteq}"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user