From 7a78ebcf7ef352227380c46448d36e94c6305ec6 Mon Sep 17 00:00:00 2001 From: flavis Date: Tue, 9 Jun 2020 18:46:04 +0200 Subject: [PATCH] salign now supports geq and leq --- lecture.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lecture.cls b/lecture.cls index 841f5a8..e90341b 100644 --- a/lecture.cls +++ b/lecture.cls @@ -222,7 +222,7 @@ } % replace all relations with align characters (&) and add the needed padding \regex_replace_all:nnN - { (\c{iff}&|&\c{iff}|\c{impliedby}&|&\c{impliedby}|\c{implies}&|&\c{implies}|\c{approx}&|&\c{approx}|\c{equiv}&|&\c{equiv}|=&|&=|\c{le}&|&\c{le}|\c{ge}&|&\c{ge}|&\c{stackrel}(\[.*?\])?{.*?}{.*?}|\c{stackrel}(\[.*?\])?{.*?}{.*?}&|&\c{neq}|\c{neq}&|>&|&>|<&|&<) } + { (\c{leq}&|&\c{leq}|\c{geq}&|&\c{geq}|\c{iff}&|&\c{iff}|\c{impliedby}&|&\c{impliedby}|\c{implies}&|&\c{implies}|\c{approx}&|&\c{approx}|\c{equiv}&|&\c{equiv}|=&|&=|\c{le}&|&\c{le}|\c{ge}&|&\c{ge}|&\c{stackrel}(\[.*?\])?{.*?}{.*?}|\c{stackrel}(\[.*?\])?{.*?}{.*?}&|&\c{neq}|\c{neq}&|>&|&>|<&|&<) } { \c{kern} \u{l_tmp_dim_needed} \1 \c{kern} \u{l_tmp_dim_needed} } \l__lec_text_tl \l__lec_text_tl