Bug#670165: texlive-science-doc: [algorithm2e] Typo in the documentation
Package: texlive-science-doc
Version: 2011.20120322-1
Severity: minor
Tags: patch
Hi,
The documentation of the algorithm2e package contains a typo, see
/usr/share/doc/texlive-science-doc/latex/algorithm2e/algorithm2e.pdf,
page 23, section 10.2: “\SetKwData{Kw}{thetext} defines the macro
\Kw{w}hich defines […]” (instead of “the macro \Kw which defines”).
The attached patch fixes it.
Cheers,
Matteo
--- algorithm2e.tex 2012-04-23 17:30:19.364076424 +0200
+++ algorithm2e-new.tex 2012-04-23 17:35:34.553635157 +0200
@@ -1209,7 +1209,7 @@
defines a keyword \emph{thetext} and prints it in keyword
typography. It can take one argument: $backslash$Kw\{arg\}. If so,
\emph{arg} is printed in argument typography.
-\item[\Almacpp{SetKwData}{Kw}{thetext}] defines the macro \almacp{Kw}
+\item[\Almacpp{SetKwData}{Kw}{thetext}] defines the macro \almac{Kw}
which defines a data text. Prints \emph{thetext} in data typography.
Note that this macros can takes one argument as function macros.
\item[\Almacpp{SetKwHangingKw}{name}{text}] (hanging indent with keyword): This creates a hanging indent much like
Reply to: