summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/algpseudocodex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-17 21:50:23 +0000
committerKarl Berry <karl@freefriends.org>2023-02-17 21:50:23 +0000
commitc293e076e4daad8567df3f605b12a3e7da8f4857 (patch)
treece684f86ba92b9f97ba0b657b0db2528a4a81821 /Master/texmf-dist/doc/latex/algpseudocodex
parent6c605777c8c6cf31abd4df3c3eaeffae04815931 (diff)
algpseudocodex (17feb23)
git-svn-id: svn://tug.org/texlive/trunk@65860 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/algpseudocodex')
-rw-r--r--Master/texmf-dist/doc/latex/algpseudocodex/README.md9
-rw-r--r--Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdfbin355364 -> 356253 bytes
-rw-r--r--Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex30
3 files changed, 29 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/algpseudocodex/README.md b/Master/texmf-dist/doc/latex/algpseudocodex/README.md
index 67a4fe8a716..cfa9d2e7ac8 100644
--- a/Master/texmf-dist/doc/latex/algpseudocodex/README.md
+++ b/Master/texmf-dist/doc/latex/algpseudocodex/README.md
@@ -1,4 +1,11 @@
# algpseudocodex
+## Overview
This package allows typesetting pseudocode in LaTeX. It is based on algpseudocode from the algorithmicx package and uses the same syntax, but adds several new features and improvements. Notable features include customizable indent guide lines and the ability to draw boxes around parts of the code for highlighting differences. This package also has better support for long code lines spanning several lines and improved comments.
-This material is subject to the LATEX Project Public License 1.3c.
+The package documentation can be found in the file algpseudocodex.tex.
+
+## Author and Contact
+The package is authored and maintained by Christian Matt. For bug reports and other issues please visit the official repository at <https://github.com/chrmatt/algpseudocodex>.
+
+## License
+This material is subject to the LaTeX Project Public License (LPPL), version 1.3c.
diff --git a/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf b/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
index 1f7c2faa6ab..e2e416f52b9 100644
--- a/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
+++ b/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex b/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
index dce6c95ac76..4a134d9ddf5 100644
--- a/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
+++ b/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
@@ -1,19 +1,19 @@
-%% documentation.tex
-%% Copyright 2020-2022 Christian Matt
+%% algpseudocodex.tex
+%% Copyright 2020-2023 Christian Matt
%
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2008-05-04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Christian Matt.
%
-% This work consists of the files algpseudocodex.sty and documentation.tex.
+% This work consists of the files algpseudocodex.sty and algpseudocodex.tex.
\documentclass[11pt,a4paper,USenglish]{article}
\usepackage[T1]{fontenc}
@@ -29,7 +29,7 @@
\title{\bf{Algpseudocodex Package Documentation}}
\author{Christian Matt \\ \url{https://github.com/chrmatt/algpseudocodex}}
-\date{\today\\v1.0.2}
+\date{\today\\v1.1.0}
\begin{document}
@@ -384,11 +384,18 @@ If \verb|false|, the end of blocks are marked with the expression ``end'' follow
\begin{minipage}[t]{0.45\textwidth}
\verb|noEnd=false|:
\begin{algorithmic}
+ % redefine if commands here to handle noEnd = false
\makeatletter
\setbool{algpx@noEnd}{false}%
- \algtext{EndIf}{\algpx@endIndent\algpx@startCodeCommand\algorithmicend\ \algorithmicif%
- \algpx@startIndent% \EndIf ends another indent. Start fake one here to handle that.
+ \let\If\undefined%
+ \let\EndIf\undefined%
+ \algdef{SE}[IF]{If}{EndIf}[1]{%
+ \algpx@startCodeCommand\algpx@startIndent\algorithmicif\ #1\ \algorithmicthen%
+ }{%
+ \algpx@startEndBlockCommand\algpx@endIndent\algorithmicend\ \algorithmicif%
}
+ \pretocmd{\If}{\algpx@endCodeCommand}{}{}%
+ \pretocmd{\EndIf}{\algpx@endCodeCommand[0]}{}{}%
\makeatother
\If{$x > 0$}
\State $x \gets x - 1$
@@ -681,6 +688,11 @@ The following keywords can be customized:
\section{Revision History}
+\subsection*{v1.1.0 (2023-02-17)}
+\begin{itemize}
+ \item Added support for indent guide lines spanning multiple pages.
+\end{itemize}
+
\subsection*{v1.0.2 (2022-10-07)}
\begin{itemize}
\item Fixed bug with incorrectly ended indent block for nested statements.