summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-10 21:21:38 +0000
committerKarl Berry <karl@freefriends.org>2020-09-10 21:21:38 +0000
commitdff3b2da8adf6d691560c23b16d1425ffedc3ea9 (patch)
treeb5d797b610a4dbf27ca30459e21cd490c6f3f356
parent67e9f00d61bf2bd2cb28a7843ab5733112cea855 (diff)
semtex (10sep20)
git-svn-id: svn://tug.org/texlive/trunk@56314 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/semtex/semtex.pdfbin77110 -> 76606 bytes
-rw-r--r--Master/texmf-dist/doc/latex/semtex/semtex.tex2
-rw-r--r--Master/texmf-dist/tex/latex/semtex/semtex.sty34
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
index 5ac49589d83..3fe2797582e 100644
--- a/Master/texmf-dist/doc/latex/semtex/semtex.pdf
+++ b/Master/texmf-dist/doc/latex/semtex/semtex.pdf
Binary files differ
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 }
{