Fixed a problem with \$.

This commit is contained in:
Michael Griebling
2023-01-19 09:44:52 -05:00
parent ae4400a164
commit 648905173f

View File

@@ -329,7 +329,7 @@ public class MTMathAtomFactory {
// Latex command characters // Latex command characters
"{" : MTMathAtom(type: .open, value: "{"), "{" : MTMathAtom(type: .open, value: "{"),
"}" : MTMathAtom(type: .close, value: "}"), "}" : MTMathAtom(type: .close, value: "}"),
"$" : MTMathAtom(type: .ordinary, value: "{"), "$" : MTMathAtom(type: .ordinary, value: "$"),
"&" : MTMathAtom(type: .ordinary, value: "&"), "&" : MTMathAtom(type: .ordinary, value: "&"),
"#" : MTMathAtom(type: .ordinary, value: "#"), "#" : MTMathAtom(type: .ordinary, value: "#"),
"%" : MTMathAtom(type: .ordinary, value: "%"), "%" : MTMathAtom(type: .ordinary, value: "%"),