diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-26 23:46:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-26 23:46:11 +0000 |
commit | c014be04b37537bc6c6498f794ac1e95282b5fb2 (patch) | |
tree | 1bea4d10ae2de5437b3402a0e1cb2f20dc092439 /Master/texmf-dist/tex/latex/algorithms/algorithm.sty | |
parent | 17f57f38948d8f21988f2a874b1fc89b5013e1f6 (diff) |
algorithms 0.1 (25aug09)
git-svn-id: svn://tug.org/texlive/trunk@14871 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/algorithms/algorithm.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/algorithms/algorithm.sty | 66 |
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'. |