texlive[73082] Master/texmf-dist: scaletextbullet (9dec24)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 9 22:13:44 CET 2024


Revision: 73082
          https://tug.org/svn/texlive?view=revision&revision=73082
Author:   karl
Date:     2024-12-09 22:13:44 +0100 (Mon, 09 Dec 2024)
Log Message:
-----------
scaletextbullet (9dec24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls
    trunk/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf
    trunk/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex
    trunk/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty

Modified: trunk/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md	2024-12-09 21:13:34 UTC (rev 73081)
+++ trunk/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md	2024-12-09 21:13:44 UTC (rev 73082)
@@ -7,6 +7,12 @@
 
 ## [Unreleased]
 
+## [v1.0.3] - 2024-12-09
+
+### Changed
+- The documentation now displays code in a light-gray background using the
+  `tcolorbox` package. This subtle contrast enhances readability.
+
 ## [v1.0.2] - 2024-11-25
 
 ### Changed

Modified: trunk/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls	2024-12-09 21:13:34 UTC (rev 73081)
+++ trunk/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls	2024-12-09 21:13:44 UTC (rev 73082)
@@ -4,7 +4,7 @@
 \NeedsTeXFormat{LaTeX2e}[2023-11-01]
 \ProvidesExplClass
   {beery}
-  {2024-11-25}
+  {2024-12-09}
   {}
   {}
 
@@ -27,6 +27,18 @@
 \RequirePackage { multicol }
 \RequirePackage { scaletextbullet }
 
+\RequirePackage { tcolorbox }
+\tcbuselibrary { breakable }
+\NewTColorBox { mydisplaycode } { }
+  {
+      size   = minimal
+    , left   = 2pt
+    , right  = 2pt
+    , top    = 2pt
+    , bottom = 2pt
+    , breakable
+  }
+
 % CUSTOM MACROS
 
 \tl_const:Nn \c_beery_alphabet_tl { abcdefghijklmnopqrstuvwxyz }

Modified: trunk/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex	2024-12-09 21:13:34 UTC (rev 73081)
+++ trunk/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex	2024-12-09 21:13:44 UTC (rev 73082)
@@ -16,7 +16,7 @@
 
 Oliver Beery
 
-Version 1.0.2\quad{}25 November 2024
+Version 1.0.3\quad{}9 December 2024
 
 
 \section{Introduction}
@@ -51,22 +51,26 @@
 This syntax has the same representation as the arguments to \cs{fpeval} and \cs{inteval}, documented in \pkg{usrguide}.%
 \footnote{\url{https://ctan.org/pkg/usrguide}}
 
-\cs{SetTextBulletFactor} \marg{floating point expression}
-\KeepNextPar*
+\begin{mydisplaycode}
+  \cs{SetTextBulletFactor} \marg{floating point expression}
+\end{mydisplaycode}
 
 Sets the \textbulletfactor{} to the result of computing the \meta{floating point expression}.
 The \textbulletfactor{} is the ratio of the width of the \cs{textbullet}, excluding its empty space, to its width, including its empty space.
 This change is local to the current group.
 The initial \textbulletfactor{} is \num{0.4}\---this matches the dimensions of the \cs{textbullet} of the Latin Modern font at size \qty{10}{pt}.
+\pagebreak%manual
 
-\cs{ScaleTextBullet} \marg{floating point expression}
-\KeepNextPar*
+\begin{mydisplaycode}
+  \cs{ScaleTextBullet} \marg{floating point expression}
+\end{mydisplaycode}
 
 Prints a \cs{textbullet} with its size scaled by the result of computing the \meta{floating point expression}.
 The new \cs{textbullet} will be printed with the same vertical center only if the \textbulletfactor{} is set to the correct value.
 
-\cs{ScaleTextBullets} \oarg{floating point expression} \marg{integer expression}
-\KeepNextPar*
+\begin{mydisplaycode}
+  \cs{ScaleTextBullets} \oarg{floating point expression} \marg{integer expression}
+\end{mydisplaycode}
 
 Prints a number of \cs{textbullet}s equal to the value of \meta{integer expression} with about the same total area as the original \cs{textbullet}.%
 \footnote
@@ -76,8 +80,9 @@
 If the optional argument is used, the size of each \cs{textbullet} is instead scaled by the result of computing the \meta{floating point expression}.
 The new \cs{textbullet} will be printed with the same vertical center only if the \textbulletfactor{} is set to the correct value.
 
-\cs{scaletextbulletdebug}
-\KeepNextPar*
+\begin{mydisplaycode}
+  \cs{scaletextbulletdebug}
+\end{mydisplaycode}
 
 This command is provided only to help the user estimate the \textbulletfactor{}.
 Prints \num{15} consecutive \cs{textbullet}s with decreasing sizes.

Modified: trunk/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty	2024-12-09 21:13:34 UTC (rev 73081)
+++ trunk/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty	2024-12-09 21:13:44 UTC (rev 73082)
@@ -9,8 +9,8 @@
 \NeedsTeXFormat{LaTeX2e}[2023-11-01]
 \ProvidesExplPackage
   {scaletextbullet}
-  {2024-11-25}
-  {1.0.2}
+  {2024-12-09}
+  {1.0.3}
   {Resize the \noexpand\textbullet without changing its vertical center.}
 
 % l3kernel version 2023-10-10 added many 'e'-variants.



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