diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/semtex/semtex.pdf | bin | 77110 -> 76606 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/semtex/semtex.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/semtex/semtex.sty | 34 |
3 files changed, 19 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/semtex/semtex.pdf b/Master/texmf-dist/doc/latex/semtex/semtex.pdf Binary files differindex 5ac49589d83..3fe2797582e 100644 --- a/Master/texmf-dist/doc/latex/semtex/semtex.pdf +++ b/Master/texmf-dist/doc/latex/semtex/semtex.pdf diff --git a/Master/texmf-dist/doc/latex/semtex/semtex.tex b/Master/texmf-dist/doc/latex/semtex/semtex.tex index 10805c37bd2..45e64e16da7 100644 --- a/Master/texmf-dist/doc/latex/semtex/semtex.tex +++ b/Master/texmf-dist/doc/latex/semtex/semtex.tex @@ -38,7 +38,7 @@ \usepackage[nameinlink]{cleveref} -\title{\texttt{semtex}: For stripped Seman\!\TeX\ documents (v$0.1\beta$)} +\title{\texttt{semtex}: For stripped Seman\!\TeX\ documents (v0.2)} \date{\today} \author{Sebastian Ørsted (\href{mailto:sorsted@gmail.com}{sorsted@gmail.com})} diff --git a/Master/texmf-dist/tex/latex/semtex/semtex.sty b/Master/texmf-dist/tex/latex/semtex/semtex.sty index 1824d0389cf..f7d979205d1 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/07}{0.1beta}{} +\ProvidesExplPackage{semtex}{2020/09/10}{0.2}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -12,28 +12,30 @@ % Bullets: -\box_new:N \g__semantex_bullet_box -\hbox_set:Nn \g__semantex_bullet_box { $\cdot$ } -\box_scale:Nnn \g__semantex_bullet_box {1.2} {1.2} -\tl_set:Nn\g_semantex_bullet +\box_if_exist:NF \g__semantex_bullet_box { - \box_move_up:nn{-0.25ex}{\box_use:N \g__semantex_bullet_box} -} - -\tl_set:Nn\g_semantex_double_bullet{\g_semantex_bullet \g_semantex_bullet} - -\tl_set_eq:NN\SemantexBullet \g_semantex_bullet - -\tl_set_eq:NN \SemantexDoubleBullet \g_semantex_double_bullet + \box_new:N \g__semantex_bullet_box + \hbox_set:Nn \g__semantex_bullet_box { $\cdot$ } + \box_scale:Nnn \g__semantex_bullet_box {1.2} {1.2} + \tl_set:Nn\g_semantex_bullet + { + \box_move_up:nn{-0.25ex}{\box_use:N \g__semantex_bullet_box} + } + \tl_set:Nn\g_semantex_double_bullet{\g_semantex_bullet \g_semantex_bullet} + + \tl_set_eq:NN\SemantexBullet \g_semantex_bullet + + \tl_set_eq:NN \SemantexDoubleBullet \g_semantex_double_bullet +} % Parentheses: -\cs_new:Npn\SemantexLeft { \mathopen{}\mathclose\bgroup\left } +\cs_set:Npn\SemantexLeft { \mathopen{}\mathclose\bgroup\left } -\cs_new:Npn\SemantexRight { \aftergroup\egroup\right } +\cs_set:Npn\SemantexRight { \aftergroup\egroup\right } -\tl_new:N\SemantexDelimiterSize +\tl_set:Nn\SemantexDelimiterSize{} \DeclareDocumentCommand\SemantexParentheses { mmmm } { |