diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-03 21:19:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-03 21:19:01 +0000 |
commit | 1c739fc36f1e3f221e786e20636ba6478c377cdc (patch) | |
tree | ed9741a4bc3f2dc3c25850c587720871786811ca /Master/texmf-dist/tex/latex | |
parent | 1e7f7766f2fd93956c4b9bbb7c91ea1f682cef47 (diff) |
changebar (3jan24)
git-svn-id: svn://tug.org/texlive/trunk@69286 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/changebar/changebar.sty | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/changebar/changebar.sty b/Master/texmf-dist/tex/latex/changebar/changebar.sty index 762a571403e..8a75311761a 100644 --- a/Master/texmf-dist/tex/latex/changebar/changebar.sty +++ b/Master/texmf-dist/tex/latex/changebar/changebar.sty @@ -34,10 +34,10 @@ %% The list of derived (unpacked) files belonging to the distribution %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. -%% Copyright 1994-2023 (C) Johannes Braams. All rights reserved. +%% Copyright 1994-2024 (C) Johannes Braams. All rights reserved. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{changebar} - [2023/12/30 v3.7b Indicate changes with marginal bars] + [2024/01/01 v3.7c Indicate changes with marginal bars] \def\cb@maxpoint{80} \def\cb@minpoint{1} \def\cb@nil{0} @@ -787,17 +787,17 @@ \let\cb@resetpoints\relax \fi \global\let\cb@setup@specials\relax} -\newcommand*{\cbstart}{\@ifnextchar [%] +\newcommand*{\cbstart}{\@ifnextchar[%] {\cb@start}% {\cb@start[\changebarwidth]}} \newcommand*{\cbend}{\cb@end} -\newcommand*{\cbdelete}{\@ifnextchar [%] +\newcommand*{\cbdelete}{\@ifnextchar[%] {\cb@delete}% {\cb@delete[\deletebarwidth]}} \def\cb@delete[#1]{\vbox to \z@{\vss\cb@start[#1]\vskip #1\cb@end}} \newenvironment{changebar}% - {\@ifnextchar [{\cb@start}% - {\cb@start[\changebarwidth]}}% + {\@ifnextchar[{\cb@start}%] + {\cb@start[\changebarwidth]}}% {\cb@end} \newcommand*{\nochangebars}{% \def\cb@start[##1]{}% @@ -814,7 +814,8 @@ \@ifpackagewith{changebar}{\csname cb@color@pkg\endcsname}{% \RequirePackage{\cb@color@pkg}% \DeclareRobustCommand\cbcolor{% - \@ifnextchar[\@undeclaredcbcolor\@declaredcbcolor} + \@ifnextchar[%] + \@undeclaredcbcolor\@declaredcbcolor} \def\@undeclaredcbcolor[#1]#2{% \begingroup \color[#1]{#2}% @@ -853,7 +854,7 @@ \vskip \ht\strutbox}% \fi \cb@pagecount\cb@cnta - \cb@advancePoint} + \cb@advancePoint\ignorespaces} \def\cb@advancePoint{% \global\advance\cb@nextpoint by 4\relax \ifnum\cb@nextpoint>\cb@maxpoint @@ -876,7 +877,7 @@ \fi \cb@pagecount\cb@cnta \fi - \ignorespaces} + \ignorespacesafterend} \def\cb@checkpage#1{% \cb@cnta\cb@topleft\relax \advance\cb@cnta by #1\relax |