texlive[66886] Master/texmf-dist: algpseudocodex (18apr23)
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 18 21:41:16 CEST 2023
Revision: 66886
http://tug.org/svn/texlive?view=revision&revision=66886
Author: karl
Date: 2023-04-18 21:41:16 +0200 (Tue, 18 Apr 2023)
Log Message:
-----------
algpseudocodex (18apr23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty
Modified: trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex 2023-04-18 19:40:44 UTC (rev 66885)
+++ trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex 2023-04-18 19:41:16 UTC (rev 66886)
@@ -29,7 +29,7 @@
\title{\bf{Algpseudocodex Package Documentation}}
\author{Christian Matt \\ \url{https://github.com/chrmatt/algpseudocodex}}
-\date{\today\\v1.1.1}
+\date{\today\\v1.1.2}
\begin{document}
@@ -688,6 +688,11 @@
\section{Revision History}
+\subsection*{v1.1.2 (2023-04-17)}
+\begin{itemize}
+ \item Fixed issue with resetting value of lineskiplimit.
+\end{itemize}
+
\subsection*{v1.1.1 (2023-04-16)}
\begin{itemize}
\item Fixed issue with resetting value of lineskip.
Modified: trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty 2023-04-18 19:40:44 UTC (rev 66885)
+++ trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty 2023-04-18 19:41:16 UTC (rev 66886)
@@ -20,7 +20,7 @@
% Based on Szasz Janos' algpseudocode.sty
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{algpseudocodex}[2023-04-16 v1.1.1 pseudocode typesetting]
+\ProvidesPackage{algpseudocodex}[2023-04-17 v1.1.2 pseudocode typesetting]
\RequirePackage{kvoptions}
\RequirePackage{algorithmicx}
\RequirePackage{etoolbox}
@@ -88,6 +88,7 @@
\newlength{\algpx at oldPos}
\newlength{\algpx at newPos}
\newlength{\algpx at tmpLen}% length to be used for various things
+\newlength{\algpx at currentLineskiplimit}% used to restore lineskiplimit in varwidth
\newlength{\algpx at currentLineskip}% used to restore lineskip in varwidth
\newlength{\algpx at indStartY}
\newlength{\algpx at indEndY}
@@ -179,9 +180,11 @@
% create box from here to end of line, leaving space for #3
\settowidth{\algpx at extraShiftX}{#2}% remember that line actually starts further right than last box
\settowidth{\algpx at tmpLen}{#3}%
+ \setlength{\algpx at currentLineskiplimit}{\lineskiplimit}% remember value of lineskiplimit
\setlength{\algpx at currentLineskip}{\lineskip}% remember value of lineskip
\begin{varwidth}[t]{\dimexpr \linewidth - \algpx at extraShiftX - \algpx at tmpLen - \algorithmicindent * \numexpr \value{ALG at nested} - 1 \relax \relax}%
- \setlength{\lineskip}{\algpx at currentLineskip}% rstore lineskip value
+ \setlength{\lineskiplimit}{\algpx at currentLineskiplimit}% restore lineskiplimit value
+ \setlength{\lineskip}{\algpx at currentLineskip}% restore lineskip value
}
% executed before \State, \If etc., i.e., at end of previous line
@@ -801,9 +804,11 @@
\algpx at setCodeBoxWest[\dimexpr \labelsep + \algpx at tmpLen \relax]%
\setbool{algpx at firstLine}{false}%
\setbool{algpx at executeEndVarwidth}{true}%
+ \setlength{\algpx at currentLineskiplimit}{\lineskiplimit}% remember value of lineskiplimit
\setlength{\algpx at currentLineskip}{\lineskip}% remember value of lineskip
\begin{varwidth}[t]{\dimexpr \linewidth - \labelsep - \algpx at tmpLen + \leftmargin \relax}%
- \setlength{\lineskip}{\algpx at currentLineskip}% rstore lineskip value
+ \setlength{\lineskiplimit}{\algpx at currentLineskiplimit}% restore lineskiplimit value
+ \setlength{\lineskip}{\algpx at currentLineskip}% restore lineskip value
\settoheight{\algpx at tmpLen}{#1}%
\rule{0pt}{\algpx at tmpLen}%
}
More information about the tex-live-commits
mailing list.