From 52823433fd4c0da26fc5e558b0c4d5a2e5b7306f Mon Sep 17 00:00:00 2001 From: Oskar Persson Date: Sun, 19 May 2024 22:19:45 +0200 Subject: [PATCH] Add diamond symbol --- Sources/SwiftMath/MathRender/MTMathAtomFactory.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift b/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift index cdbde2f..5ec2275 100644 --- a/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift +++ b/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift @@ -380,6 +380,7 @@ public class MTMathAtomFactory { "cdots" : MTMathAtom(type: .ordinary, value: "\u{22EF}"), "ddots" : MTMathAtom(type: .ordinary, value: "\u{22F1}"), "triangle" : MTMathAtom(type: .ordinary, value: "\u{25B3}"), + "diamond" : MTMathAtom(type: .ordinary, value: "\u{2662}"), "imath" : MTMathAtom(type: .ordinary, value: "\u{0001D6A4}"), "jmath" : MTMathAtom(type: .ordinary, value: "\u{0001D6A5}"), "upquote" : MTMathAtom(type: .ordinary, value: "\u{0027}"),