From 307b8a5c72e09ffdde8cb8796745e24f9fd62651 Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Mon, 26 Aug 2024 18:39:10 +0200 Subject: [PATCH] Add more `emptyset`/`nothing` symbol variants (#4826) --- crates/typst/src/symbols/sym.rs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/crates/typst/src/symbols/sym.rs b/crates/typst/src/symbols/sym.rs index f2a32dfab..3957f8bf9 100644 --- a/crates/typst/src/symbols/sym.rs +++ b/crates/typst/src/symbols/sym.rs @@ -332,8 +332,22 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! { image: '⊷', // Set theory. - emptyset: ['∅', rev: '⦰'], - nothing: ['∅', rev: '⦰'], + emptyset: [ + '∅', + bar: '⦱', + circle: '⦲', + larrow: '⦴', + rarrow: '⦳', + rev: '⦰', + ], + nothing: [ + '∅', + bar: '⦱', + circle: '⦲', + larrow: '⦴', + rarrow: '⦳', + rev: '⦰', + ], without: '∖', complement: '∁', in: [