summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/algorithms/algorithm.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/algorithms/algorithm.sty')
-rw-r--r--Master/texmf-dist/tex/latex/algorithms/algorithm.sty66
1 files changed, 35 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/algorithms/algorithm.sty b/Master/texmf-dist/tex/latex/algorithms/algorithm.sty
index 34e1f1fd028..85585654b1b 100644
--- a/Master/texmf-dist/tex/latex/algorithms/algorithm.sty
+++ b/Master/texmf-dist/tex/latex/algorithms/algorithm.sty
@@ -1,28 +1,33 @@
-% ALGORITHM STYLE -- Released 8 April 1996
-% for LaTeX-2e
-% Copyright -- 1994 Peter Williams
-%
-% E-mail pwil3058@bigpond.net.au
-%
-% This style file is free software; you can redistribute it and/or
-% modify it under the terms of the GNU Lesser General Public
-% License as published by the Free Software Foundation; either
-% version 2 of the License, or (at your option) any later version.
-%
-% This style file is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-% Lesser General Public License for more details.
-%
-% You should have received a copy of the GNU Lesser General Public
-% License along with this style file; if not, write to the
-% Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-% Boston, MA 02111-1307, USA.
-%
-\NeedsTeXFormat{LaTeX2e}
+%%
+%% This is file `algorithm.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% algorithms.dtx (with options: `algorithm')
+%% This is a generated file.
+%%
+%% Copyright (C) 1994-2004 Peter Williams <pwil3058@bigpond.net.au>
+%% Copyright (C) 2005-2009 Rogério Brito <rbrito@ime.usp.br>
+%%
+%% This document file is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU Lesser General Public License as
+%% published by the Free Software Foundation; either version 2 of the
+%% License, or (at your option) any later version.
+%%
+%% This document file is distributed in the hope that it will be useful, but
+%% WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+%% General Public License for more details.
+%%
+%% You should have received a copy of the GNU Lesser General Public License
+%% along with this document file; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+%% USA.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{algorithm}
-\typeout{Document Style `algorithm' - floating environment}
-
+ [2009/08/24 v0.1 Document Style `algorithm' - floating environment]
\RequirePackage{float}
\RequirePackage{ifthen}
\newcommand{\ALG@within}{nothing}
@@ -31,9 +36,8 @@
\newcommand{\ALG@floatstyle}{ruled}
\newcommand{\ALG@name}{Algorithm}
\newcommand{\listalgorithmname}{List of \ALG@name s}
-
-% Declare Options
-% first appearance
+% Declare Options:
+% * first: appearance
\DeclareOption{plain}{
\renewcommand{\ALG@floatstyle}{plain}
}
@@ -43,7 +47,7 @@
\DeclareOption{boxed}{
\renewcommand{\ALG@floatstyle}{boxed}
}
-% then numbering convention
+% * then: numbering convention
\DeclareOption{part}{
\renewcommand{\ALG@within}{part}
\setboolean{ALG@within}{true}
@@ -69,7 +73,6 @@
\setboolean{ALG@within}{true}
}
\DeclareOption*{\edef\ALG@name{\CurrentOption}}
-
% ALGORITHM
%
\ProcessOptions
@@ -91,6 +94,7 @@
\newfloat{algorithm}{htbp}{loa}
}
\floatname{algorithm}{\ALG@name}
-
\newcommand{\listofalgorithms}{\listof{algorithm}{\listalgorithmname}}
-
+\endinput
+%%
+%% End of file `algorithm.sty'.