texlive[73020] Master/texmf-dist: dashrulex (2dec24)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 2 21:59:12 CET 2024


Revision: 73020
          https://tug.org/svn/texlive?view=revision&revision=73020
Author:   karl
Date:     2024-12-02 21:59:12 +0100 (Mon, 02 Dec 2024)
Log Message:
-----------
dashrulex (2dec24)

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-12-02 20:59:02 UTC (rev 73019)
+++ trunk/Master/texmf-dist/doc/latex/dashrulex/dashrulex.tex	2024-12-02 20:59:12 UTC (rev 73020)
@@ -7,8 +7,8 @@
   {
     package           = dashrulex,
     title             = dashrulex,
-    version           = v1.01d,
-    date              = 2024/10/22,
+    version           = v1.01e,
+    date              = 2024/12/02,
     authors           = Qu Yi,
     title             = \dashrulex{} package,
     info              = Draw dashed rules,
@@ -54,7 +54,7 @@
 \section{User commands}
 \begin{commands}
   \command{hdashrule}[\oarg{raise}\oarg{leader}\marg{width}\marg{thickness list}\marg{dash rules}]
-  The command to draw horizontal dashed rules, based on the \cs{rule} command, and the same as the \cs{rule} command when the \meta{dash rules} are empty. \meta{raise} is the vertical offset of the rule. \meta{leader} is the alignment of the dashed line fill, which can be empty, \code{c}, or \code{x} (the \textcolor{red}{default}), corresponding to the \cs{leaders}, \cs{cleaders}, and \cs{xleaders} commands, respectively. \meta{width} is the length of the dashed line, which can be set to \cs{fill} when used to fill the remaining part of the current text line. \meta{thickness list} is a rule for the height of \textcolor{red}{vertical} lines, separated by \textcolor{red}{commas} and written as \fbox{\splitmeta{height 1}{height a}\code{,...}}, where \meta{height 1} denotes the height of a solid line and \meta{height a} denotes the height of a blank space. \meta{dash rules} stands for \textcolor{red}{horizontal} dashed line rules, which expressed as \fbox{\splitmeta[\code{|}]{length 1}{length a}\code{,}\splitmeta[\code{|}]{length 2}{length b}\code{,...}}, where \meta{length 1} represents the length of the solid line and \meta{length a} represents the length of the blank space, such as \fbox{\code{5pt|2pt,3pt}}, if the blank space is empty, then it is equal to the solid line length.
+  The command to draw horizontal dashed rules, based on the \cs{rule} command, and the same as the \cs{rule} command when the \meta{dash rules} are empty. \meta{raise} is the vertical offset of the rule. \meta{leader} is the alignment of the dashed line fill, which can be empty, \code{c}, or \code{x} (the \textcolor{red}{default}), corresponding to the \cs{leaders}, \cs{cleaders}, and \cs{xleaders} commands, respectively. \meta{width} is the length of the dashed line, which can be set to \cs{fill} when used to fill the remaining part of the current text line. \meta{thickness list} is a rule for the height of \textcolor{red}{vertical} lines, separated by \textcolor{red}{commas} and written as \fbox{\splitmeta{height 1}{height a}\code{,...}}, where \meta{height 1} denotes the height of a solid line and \meta{height a} denotes the height of a blank space. \meta{dash rules} stands for \textcolor{red}{horizontal} dashed line rules, which expressed as \fbox{\splitmeta[\code{:}]{length 1}{length a}\code{,}\splitmeta[\code{:}]{length 2}{length b}\code{,...}}, where \meta{length 1} represents the length of the solid line and \meta{length a} represents the length of the blank space, such as \fbox{\code{5pt:2pt,3pt}}, if the blank space is empty, then it is equal to the solid line length.
 \begin{demohigh}
 1X\rule{2cm}{1pt}x \\
 2X\hdashrule{2cm}{1pt}{}x \\
@@ -64,9 +64,9 @@
 6X\hdashrule[0.5ex]{4cm}{1pt}{3mm}x \\
 7X\hdashrule[0.5ex]{4cm}{1mm}{3mm}x \\
 8X\hdashrule[0.5ex]{4cm-3mm}{1mm}{3mm}\vrulemod[0.5ex]{3mm}{1mm}x \\
-9X\hdashrule[0.5ex]{4cm}{1mm}{3mm|3pt}x \\
-10X\hdashrule[0.5ex]{4cm}{1mm}{3mm|3pt,1mm|2pt}x \\
-11X\hdashrule[0.5ex]{4cm}{2pt,1pt,1pt}{3mm|3pt,1mm|2pt}x
+9X\hdashrule[0.5ex]{4cm}{1mm}{3mm:3pt}x \\
+10X\hdashrule[0.5ex]{4cm}{1mm}{3mm:3pt,1mm:2pt}x \\
+11X\hdashrule[0.5ex]{4cm}{2pt,1pt,1pt}{3mm:3pt,1mm:2pt}x
 \end{demohigh}
   \command{vrulemod}[\oarg{raise}\oarg{height}\oarg{depth}\marg{width}\marg{thickness list}]
   The vertical model used to fill the dashed line. \meta{thickness list} is consistent with the \cs{hdashrule} command, \meta{width} represents the length of the component, and the three optional parameters are consistent with those of the \cs{raisebox} command.

Modified: trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty	2024-12-02 20:59:02 UTC (rev 73019)
+++ trunk/Master/texmf-dist/tex/latex/dashrulex/dashrulex.sty	2024-12-02 20:59:12 UTC (rev 73020)
@@ -9,7 +9,7 @@
 %   https://creativecommons.org/licenses/by/4.0/legalcode
 \NeedsTeXFormat{LaTeX2e}[2012/02/12]
 \RequirePackage{xparse}
-\ProvidesExplPackage{dashrulex}{2024/10/22}{1.01d}
+\ProvidesExplPackage{dashrulex}{2024/12/02}{1.01e}
   {Draw dashed rules}
 \DeclareDocumentCommand{\hdashrule}{O{0pt}O{x}mmm}
   {
@@ -28,9 +28,11 @@
           }
       }
   }
+\ExplSyntaxOff
 \NewDocumentCommand{\drx at parse@dash}
-  {mm>{\SplitArgument{1}{|}}m}
+  {mm>{\SplitArgument{1}{:}}m}
   {\drx at parse@dash at inner{#1}{#2}#3}
+\ExplSyntaxOn
 \cs_set_protected:Npn \drx at parse@dash at inner #1#2#3#4
   {
     \IfNoValueTF{#4}



More information about the tex-live-commits mailing list.