diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-27 21:28:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-27 21:28:27 +0000 |
commit | a31b3211df4fe9b3714aa092f9b703c155987261 (patch) | |
tree | 4ccf4b186ba056564dfa6d2d02c2f339e3136166 /Master/texmf-dist/tex | |
parent | 33fb2810502fa7c62e017ee6defb956db30125a0 (diff) |
semtex (27sep20)
git-svn-id: svn://tug.org/texlive/trunk@56456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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 |