summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/clrscode/README2
-rw-r--r--Master/texmf-dist/doc/latex/clrscode/clrscode.pdfbin38180 -> 38588 bytes
-rw-r--r--Master/texmf-dist/tex/latex/clrscode/clrscode.sty17
-rw-r--r--Master/texmf-dist/tpm/clrscode.tpm9
-rw-r--r--Master/texmf/lists/clrscode1
5 files changed, 24 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/clrscode/README b/Master/texmf-dist/doc/latex/clrscode/README
new file mode 100644
index 00000000000..a68d0a8c9be
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/clrscode/README
@@ -0,0 +1,2 @@
+Use this package to typeset pseudocode in the style of Introduction
+to Algorithms (second edition) by Cormen, Leiserson, Rivest, and Stein. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/clrscode/clrscode.pdf b/Master/texmf-dist/doc/latex/clrscode/clrscode.pdf
index a80c5a5e06e..4d1009eaa6c 100644
--- a/Master/texmf-dist/doc/latex/clrscode/clrscode.pdf
+++ b/Master/texmf-dist/doc/latex/clrscode/clrscode.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/clrscode/clrscode.sty b/Master/texmf-dist/tex/latex/clrscode/clrscode.sty
index 300a8745128..02061ae12e2 100644
--- a/Master/texmf-dist/tex/latex/clrscode/clrscode.sty
+++ b/Master/texmf-dist/tex/latex/clrscode/clrscode.sty
@@ -2,8 +2,14 @@
% clrscode.sty
-% $Id: clrscode.sty,v 1.5 2003/11/11 15:45:37 thc Exp $
+% $Id: clrscode.sty,v 1.7 2007/03/29 19:12:30 thc Exp $
% $Log: clrscode.sty,v $
+% Revision 1.7 2007/03/29 19:12:30 thc
+% Added date and version information to the \ProvidesPackage command.
+%
+% Revision 1.6 2005/07/14 20:55:00 thc
+% Added a definition for \numref. Thanks to Matt Suder(?) and Johan Gade.
+%
% Revision 1.5 2003/11/11 15:45:37 thc
% Removed a macro that is no longer needed.
%
@@ -93,7 +99,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{clrscode}
+\ProvidesPackage{clrscode}[2007/03/29 v1.7 format pseudocode]
\usepackage{latexsym} % needed for \Comment symbol
% Commands for typesetting constants, procedure names, identifiers, and
@@ -259,6 +265,13 @@
\ifnumberedline\thecodelinenumber\fi\'\Indent%
}
+\providecommand{\numref}[1]{%
+ \@ifundefined{r@#1}{000}{%
+ \expandafter\expandafter\expandafter\@firstoftwo
+ \csname r@#1\endcsname
+ }%
+}
+
% \setlinenumber sets the line number to its argument
\newcommand{\setlinenumber}[1]{\setcounter{codelinenumber}{\numref{#1}}%
\addtocounter{codelinenumber}{-1}}
diff --git a/Master/texmf-dist/tpm/clrscode.tpm b/Master/texmf-dist/tpm/clrscode.tpm
index a5b3cc7fa31..6b71dc2c833 100644
--- a/Master/texmf-dist/tpm/clrscode.tpm
+++ b/Master/texmf-dist/tpm/clrscode.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/clrscode.zip">
<TPM:Name>clrscode</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/01/09 00:49:07</TPM:Date>
+ <TPM:Date>2006/06/08 23:00:00</TPM:Date>
<TPM:Version>1.3</TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>
@@ -22,11 +22,14 @@ the text.
<TPM:Size>50419</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="12239">
+ <TPM:RunFiles size="12652">
texmf-dist/tex/latex/clrscode/clrscode.sty
texmf-dist/tpm/clrscode.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="38180">texmf-dist/doc/latex/clrscode/clrscode.pdf</TPM:DocFiles>
+ <TPM:DocFiles size="38728">
+texmf-dist/doc/latex/clrscode/README
+texmf-dist/doc/latex/clrscode/clrscode.pdf
+ </TPM:DocFiles>
<TPM:Provides>Package/clrscode</TPM:Provides>
</rdf:Description>
</rdf:RDF>
diff --git a/Master/texmf/lists/clrscode b/Master/texmf/lists/clrscode
index c36addf6ed6..422d23bd986 100644
--- a/Master/texmf/lists/clrscode
+++ b/Master/texmf/lists/clrscode
@@ -1,3 +1,4 @@
+texmf-dist/doc/latex/clrscode/README
texmf-dist/doc/latex/clrscode/clrscode.pdf
texmf-dist/tex/latex/clrscode/clrscode.sty