diff options
author | Karl Berry <karl@freefriends.org> | 2024-12-09 21:13:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-12-09 21:13:44 +0000 |
commit | 31964857a46bdd14fe3fccad10ba966b3cb7411f (patch) | |
tree | 89fb4de76772248f540899560f42d9bd5bb00f77 /Master/texmf-dist | |
parent | 25e11a263dcf3b44897877451a407a343821fead (diff) |
scaletextbullet (9dec24)
git-svn-id: svn://tug.org/texlive/trunk@73082 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/scaletextbullet/beery.cls | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf | bin | 65280 -> 65951 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty | 4 |
5 files changed, 35 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md b/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md index 0f18ad5da15..aee88decf97 100644 --- a/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/scaletextbullet/CHANGELOG.md @@ -7,6 +7,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [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 diff --git a/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls b/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls index 7eba8ad48f9..2826ed38aa0 100644 --- a/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls +++ b/Master/texmf-dist/doc/latex/scaletextbullet/beery.cls @@ -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 } diff --git a/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf b/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf Binary files differindex 00a34d0f452..5a84b517a3f 100644 --- a/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf +++ b/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.pdf diff --git a/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex b/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex index 9cf8f324a09..087ac72828e 100644 --- a/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex +++ b/Master/texmf-dist/doc/latex/scaletextbullet/scaletextbullet.tex @@ -16,7 +16,7 @@ Resize the \cs{textbullet} without changing its vertical center 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 package defines some commands whose argument takes a \meta{floating point e 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 @@ Prints a number of \cs{textbullet}s equal to the value of \meta{integer expressi 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. diff --git a/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty b/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty index 06620c64501..1bb7c321d90 100644 --- a/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty +++ b/Master/texmf-dist/tex/latex/scaletextbullet/scaletextbullet.sty @@ -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. |