texlive[70762] Master/texmf-dist: dashrulex (25mar24)
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 25 20:57:40 CET 2024
Revision: 70762
https://tug.org/svn/texlive?view=revision&revision=70762
Author: karl
Date: 2024-03-25 20:57:40 +0100 (Mon, 25 Mar 2024)
Log Message:
-----------
dashrulex (25mar24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.pdf
trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.tex
trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty
Modified: trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.tex 2024-03-25 19:57:30 UTC (rev 70761)
+++ trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.tex 2024-03-25 19:57:40 UTC (rev 70762)
@@ -6,8 +6,8 @@
{
package = dashrulex,
title = the dashrulex package,
- version = v1.00b,
- date = 2024/03/18,
+ version = v1.00c,
+ date = 2024/03/25,
authors = Qu Yi,
info = Draw dashed rules,
email = toquyi at 163.com,
@@ -67,7 +67,7 @@
\command{hanyrule}[\oarg{leader}\marg{width}\marg{symbol list}]
This command sets the length of the dotted rule and fills it with arbitrary symbols. \meta{symbol list} can be more than one symbol and they are separated by \textcolor{red}{commas}. Symbols are best packed in boxes of a certain length, as spacing between symbols is not provided.
\begin{example}
- \newcommand{\dblelement}
+ \newcommand{\dblvmod}
{%
\tikz[color=blue]
{
@@ -82,7 +82,7 @@
5X\hanyrule[x]{5cm}{\makebox[8pt]{$\cdot$}}x \\
6X\hanyrule[x]{5cm}{\makebox[8pt]{$\cdot$},\makebox[8pt]{$\circ$}}x \\
7X\hanyrule[x]{5cm}{\makebox[5mm]{\vrulemod{3mm}{2pt,1pt,1pt}}}x \\
- 8X\hanyrule[x]{5cm}{\makebox[5mm]{\dblelement}}x
+ 8X\hanyrule[x]{5cm}{\makebox[5mm]{\dblvmod}}x
\end{example}
\end{commands}
Modified: trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty 2024-03-25 19:57:30 UTC (rev 70761)
+++ trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty 2024-03-25 19:57:40 UTC (rev 70762)
@@ -9,7 +9,7 @@
% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}[2012/02/12]
\RequirePackage{xparse}
-\ProvidesExplPackage{dashrulex}{2024/03/18}{1.00b}
+\ProvidesExplPackage{dashrulex}{2024/03/25}{1.00c}
{Draw dashed rules}
\DeclareDocumentCommand{\hdashrule}{O{0pt}O{x}mmm}
{
@@ -57,12 +57,11 @@
\NewDocumentCommand{\vrulemod}{O{0pt}oomm}
{
\group_begin:
- \IfValueTF{#2}
+ \IfValueT{#2}
{
\tl_set:Nn \l__drx_tmpa_tl { [#2] }
\IfValueT{#3}{\tl_put_right:Nn \l__drx_tmpa_tl { [#3] }}
}
- {\IfValueT{#3}{\tl_set:Nn \l__drx_tmpa_tl { [#3] }}}
\exp_last_unbraced:Nnf
\raisebox{#1}{\l__drx_tmpa_tl}
{
More information about the tex-live-commits
mailing list.