diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/semtex/semtex.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/semtex/semtex.sty | 53 |
1 files changed, 2 insertions, 51 deletions
diff --git a/Master/texmf-dist/tex/latex/semtex/semtex.sty b/Master/texmf-dist/tex/latex/semtex/semtex.sty index f7d979205d1..28c9303f69a 100644 --- a/Master/texmf-dist/tex/latex/semtex/semtex.sty +++ b/Master/texmf-dist/tex/latex/semtex/semtex.sty @@ -1,5 +1,5 @@ \RequirePackage{xparse} -\ProvidesExplPackage{semtex}{2020/09/10}{0.2}{} +\ProvidesExplPackage{semtex}{2020/09/27}{0.44}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -33,53 +33,4 @@ \cs_set:Npn\SemantexLeft { \mathopen{}\mathclose\bgroup\left } -\cs_set:Npn\SemantexRight { \aftergroup\egroup\right } - -\tl_set:Nn\SemantexDelimiterSize{} - -\DeclareDocumentCommand\SemantexParentheses { mmmm } -{ - \str_case:nnF { #1 } % This is where \big,\Big, etc. go. - { - { normal } { - \group_begin: - \tl_clear:N \SemantexDelimiterSize - \str_if_eq:nnF { #2 } { . } { \mathopen #2 } - #4 - \str_if_eq:nnF { #3 } { . } { \mathclose #3 } - \group_end: - } - { auto } { - \group_begin: - \tl_set_eq:NN \SemantexDelimiterSize \middle - \SemantexLeft #2 - #4 - \SemantexRight #3 - \group_end: - } - { * } { - \group_begin: - \tl_set_eq:NN \SemantexDelimiterSize \middle - \SemantexLeft #2 - #4 - \SemantexRight #3 - \group_end: - } - } - { - \group_begin: - \tl_set_eq:NN\SemantexDelimiterSize #1 - \mathopen #1 #2 - #4 - \mathclose #1 #3 - \group_end: - } -} - -\DeclareDocumentCommand\SemantexNoParentheses { m } -{ - \group_begin: - \tl_clear:N\SemantexDelimiterSize - #1 - \group_end: -}
\ No newline at end of file +\cs_set:Npn\SemantexRight { \aftergroup\egroup\right }
\ No newline at end of file |