[Distr-commits] r592 - in branches/distr-2.2/pkg: . SweaveListingUtils/inst SweaveListingUtils/inst/try distr distr/R distr/inst distr/inst/doc distr/man distrEx/R distrMod distrMod/R distrMod/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Oct 5 22:11:38 CEST 2009
Author: ruckdeschel
Date: 2009-10-05 22:11:38 +0200 (Mon, 05 Oct 2009)
New Revision: 592
Added:
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/algorithm2e.sty
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/fancyhdr.sty
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/lastpage.sty
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/test.Rnw
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try.Rnw
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try.Rtex
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try.tex
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try2.Rnw
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try2.tex
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try_Hausman.tex
branches/distr-2.2/pkg/SweaveListingUtils/inst/try/try_Hausmann.Rnw
branches/distr-2.2/pkg/distr/R/internals-qqplot.R
branches/distr-2.2/pkg/distr/R/qqbounds.R
branches/distr-2.2/pkg/distr/R/qqplot.R
branches/distr-2.2/pkg/distr/man/internals-qqplot.Rd
branches/distr-2.2/pkg/distr/man/qqbounds.Rd
branches/distr-2.2/pkg/distr/man/qqplot.Rd
branches/distr-2.2/pkg/distrEx/R/internals-qqplot-enhanced.R
branches/distr-2.2/pkg/distrMod/R/qqplot.R
branches/distr-2.2/pkg/distrMod/man/internals-qqplot.Rd
branches/distr-2.2/pkg/distrMod/man/qqplot.Rd
Modified:
branches/distr-2.2/pkg/distr/NAMESPACE
branches/distr-2.2/pkg/distr/R/AllGenerics.R
branches/distr-2.2/pkg/distr/inst/MASKING
branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf
branches/distr-2.2/pkg/distrMod/NAMESPACE
branches/distr-2.2/pkg/distrMod/man/GumbelLocationFamily.Rd
branches/distr-2.2/pkg/qqplot.R
Log:
+methods for qqplot filed into packages distr, distrEx, distrMod (and RobAStBase);
Added: branches/distr-2.2/pkg/SweaveListingUtils/inst/try/algorithm2e.sty
===================================================================
--- branches/distr-2.2/pkg/SweaveListingUtils/inst/try/algorithm2e.sty (rev 0)
+++ branches/distr-2.2/pkg/SweaveListingUtils/inst/try/algorithm2e.sty 2009-10-05 20:11:38 UTC (rev 592)
@@ -0,0 +1,2122 @@
+% algorithm2e.sty --- style file for algorithms
+%% Copyright 1996-2005 Christophe Fiorio
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% 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.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% This program consists of the files algorithm2e.sty and algorithm2e.tex
+%
+% Report bugs and comments to:
+% fiorio at lirmm.fr
+%
+% $Id: algorithm2e.sty,v 3.9 2005/10/04 12:34:52 fiorio Exp $
+%
+% PACKAGES REQUIRED:
+%
+% - float (in contrib/supported/float)
+% - ifthen (in base)
+% - xspace (in packages/tools)
+%
+%%%%%%%%%%%%%%% Release 3.9
+%
+% History:
+%
+% - October 04 2005 - revision 3.9 -
+% * ADD: - \setalcaphskip command which set the horizontal skip before Algorithm: in caption when
+% used in ruled algorithm.
+% * ADD: - SetAlgoInsideSkip command which allows to add an extra vertical space before and after
+% the core of the algorithm (ie: \SetAlgoInsideSkip{bigskip})
+% * CHANGE: - caption, when used with figure option, is no more controlled by algorithm2e package
+% and so follows the exact behaviour of figures. The drawback is that you cannot change
+% the typo with AlTitleFnt or CapFnt. The avantage is that if you use caption package,
+% it works.
+% * FIX: - problem with numbering line and pdflatex
+% * FIX: - error when algorithm2e package was used with beamer and listings together
+% - February 12 2005 - revision 3.8 -
+% * FIX: - extra line with noend option.
+% - February 10 2005 - revision 3.7 -
+% * ADD: - sidecomment: different macros allowing to put text right after code
+% on the same line. They are defined in the same time comment macros
+% are defined with a star after the macro name. By default comments
+% are right justified but this can be change with appropriate option
+% in the macro. Ex:
+% . default: \tcc*{side comment}
+% . same as previous: \tcc*[r]{side comment}
+% . left justify: \tcc*[l]{side comment}
+% . here: \tcc*[h]{side comment} don't put the end of line mark before
+% comment (; by default) and don't end the line.
+% . flushed: \tcc*[f]{side comment} same as the precedent but right
+% justified
+% * ADD: - scright OPTION (default): right justified side comments (side comments
+% are flushed to the righr)
+% * ADD: - scleft OPTION: left justified side comments (side comments are
+% put right after the code line)
+% * ADD: - \SetSideCommentLeft acts as scleft option
+% * ADD: - \SetSideCommentRight acts as scright option
+% * ADD: - block like macro side text: all macro defining a block allows now
+% to put text right after key words by putting text into (). Done to
+% be used with sidecomment macros, but all text can be used. Ex:
+% \eIf(\tcc*[f]{then comment}){test}{then text}(else side text){else text}
+% * ADD: - fillcomment OPTION (default): end mark of comment is flushed to the
+% right so comments fill all the width of text
+% * ADD: - nofillcomment OPTION: end mark of comment is put right after the
+% comment
+% * ADD: - \SetNoFillComment acts as nofillcomment option.
+% * ADD: - \SetFillComment acts as fillcomment option.
+% * ADD: - dotocloa OPTION which adds an entry in the toc for the list of
+% algorithms. This option load package tocbibind if not already done
+% and so list of figures and list of tables are also added in the toc.
+% If you want to control which ones of the lists will be added in the
+% toc, please load package tocbibind before package algorithm and give
+% it the options you want.
+% * FIX: - vertical spacing for uif macro with noend option
+% * FIX: - all the compatibility problems between caption and other packages
+% * FIX: - typographical differences between list of algorithms and other lists
+% when in report or book
+%
+% - January 24 2005 - revision 3.6 -
+% * FIX: - vertical spacing and space characters at the beginning or end of
+% comments.
+% line numbers of comments not in the nlsty.
+% Thanks to Arnaud Giersch for his comments and suggestions.
+% * FIX: - Set*Sty macro: the styles defined was not protected and was modified
+% by surrounding context. For example KwTo in a \For{}{} was in bold AND
+% italic instead of just in bold.
+% * FIX: - line number misplacement after \Indp
+%
+% - January 21 2005 - revision 3.5 -
+% * ADD: - hidden numbering of the lines. Lines are auto-numbered but numbers
+% are shown only on lines you specify:
+% * linesnumberedhidden option or \linesnumberedhidden macro activate
+% this functionnality.
+% * \showln and \showlnlabel{lab} macros make the number visible on
+% the line. \showlnlabel{lab} allows to set a label for this line.
+% Thanks to Samson de Jager who makes this suggestion and provides the
+% macros.
+% * ADD: - \AlCapFnt and \SetAlCapFnt which allow to have a different font for
+% caption. Works like \AlFnt and \SetAlFnt and by default is the same.
+% * ADD: - \AlCapSkip skip length. This vertical space is added before caption
+% in plain ou boxed mode. It allows to change distance between text
+% and caption.
+% * FIX: - caption compatible with IEEEtran class.
+% * FIX: - some vertical spacing error with \uIf macros (Thanks to Arnaud Giersch)
+% * FIX: - Procedure and Function: lines are also numbered like algorithms
+% * FIX: - CommentSty was not used for Comments
+%
+% - January 10 2005 - revision 3.4 -
+% * FIX: - caption compatible with new release of Beamer class.
+%
+% - June 16 2004 - revision 3.3 -
+% * FIX: - Hyperlink references of Hyperref package works now if compiled with pdflatex
+% and [naturalnames] option of hyperref package is used.
+% * FIX: - algorithm[H] had problem in an list environment - corrected
+% * FIX: - interline was not so regular in nested blocks - corrected
+% * ADD - \Setvlineskip macro which set the vertical skip after the little horizontal
+% rule which closes a block in Vlined mode. By default 0.8ex
+%
+% - June 11 2004 - revision 3.2 - AUTO NUMBERING LINES !!!
+% * ADD: auto numbering of the lines (the so asked and so long awaiting feature)
+% this feature is managed by 3 options and 3 commands:
+% - linesnumbered option: lines of the algo are numbered except for comments and
+% input/output (KwInput and KwInOut)
+% - commentsnumbered option: makes comments be numbered
+% - inoutnumbered option: makes data input/output be numbered
+% - \nllabel{lab} labels the line so you can cite with \ref{lab}
+% - \linesnumbered make the following algorithms having auto-numbered lines
+% - \linesnotnumbered make the following algorithms having no auto-numbered lines
+% * Change: algo2e option renames listofalgorithm in listofalgorithme
+% * FIX: new solution for compatibility with color package, more robust and not tricky.
+% Many thanks to David Carlisle for his advices
+%
+% - June 09 2004 - revision 3.1 -
+% * Change: \SetKwSwitch command defines an additionnal
+% macro \uCase and \Case prints end
+% * Change: now macros SetKw* do a renewcommand if the
+% keyword is already defined. So you can redefine
+% default definition at your own convenience or
+% change your definition without introducing a
+% new macro and changing your text.
+% * ADD: new macro \SetKwIF which do \SetKwIf and
+% \SetKwIfElseIf.The following default definition has been added:
+% \SetKwIF{If}{ElseIf}{Else}{if}{then}{else if}{else}{endif}
+% and so you get the macros;
+% \If \eIf \lIf \uIf \ElseIf \uElseIf \lElseIf \Else
+% \uElse \lElse
+% * ADD: new macro \SetAlgoSkip which allow to fix the
+% vertical skip before and after the algorithms.
+% Default is smallskip, do \SetAlgoSkip{} if you
+% don't want an extra space or \SetAlgoSkip{medskip}
+% or \SetAlgoSkip{bigskip} if you want bigger space.
+% * ADD: macro \SetKwIf defines in addition a new macro
+% \uElse (depending on wat name you
+% have given in #2 arg).
+% * ADD: macro \SetKwIfElseIf defines in addition a new macro
+% \uElse and \ugElseIf (depending on what name you
+% have given in #2 and #3 arg).
+% * Change: baseline of algorithm is now top, so two
+% algorithms can be put side by side.
+% * FIX: Compatibility with color package solved. The problem
+% was due to a redefinition of standard macros by color package
+% This solves compatibility problem with other packages
+% as pstcol or colortbl.
+% (notified by Dirk Fressmann, Antti Tarvainen and Koby Crammer)
+% * Fix: extra little shift to the right with boxed style
+% algorithm removed (notified by P. Tanovski)
+% * Fix: algoln option was buggy (notified bye Jiaying Shen)
+% * Fix: german and portuges option didn't work due to bad
+% typo (notified by Martin Sievers, Thorsten Vitt
+% and Jeronimo Pellegrini)
+%
+% - February 13 2004 - revision 3.0 -
+% * Major revision which makes the package independent from
+% float.sty, so now
+% - algorithm* works better, in particular can be used in
+% multicols environments
+% - (known bug corrected)
+% [H] works now for all sort of environment but is
+% handled differently for classic environment and star
+% environment (algorithm, figure, procedure and
+% function). For star environment, H acts like for
+% classical figure environment, so it doesn't stay here
+% absolutely.
+% - (known bug corrected)
+% you can use now floatflt package with algorithm
+% package and even with figure option. Beware that if
+% you want to put an algorithm inside a floatingfigure,
+% it cannot be floating, so [H] is required and then
+% figure option should not be used, since standard
+% figure[H] are still floating with LaTeX.
+% * boxruled: a new style added. Possible now since no
+% style no more defined by the float package.
+% * nocaptionofalgo: dosen't print Algorithm #: in the
+% caption for algorithm in ruled or algoruled style.
+% note: this is just documentation of a macro which was
+% already in the package.
+% - December 14 2003 - revision 2.52 -
+% * output message shorter
+% * french keyword macro \PourTous was missing for
+% longend option, it has been added.
+% * TitleofAlgo prints Function or Procedure in
+% corresponding environments.
+%
+% - October 27 2003 - revision 2.51 - Revision submitted to CTAN archive
+% * correction of a minor which make caption in procedure
+% and function to be blanck with pdfscreen package
+% (thanks to Joel Gossens for the notification)
+% * add two internal definition to avoid some errors when
+% used with Hyperref package (Hyperref package need to
+% define new counter macro from existing ones, and
+% don't do it for algorithm2e package, so we do it)
+%
+% - October 17 2003 - revision 2.50 - first revision for CTAN archive
+%
+% * add \AlFnt and \SetAlFnt{font} macros:
+% \AlFnt is used at the beginning of the caption and the
+% body of algorithm in order to define the fonts used
+% for typesetting algorithms. You can use it elsewhere
+% you want to typeset text as algorithm. For example
+% you can do \SetAlFnt{\small\sf} to have algorithms
+% typeset in small sf font. Default is nothing so
+% algorithm is typeset as the text of the document.
+% * add \AlTitleFnt{text} and \SetAlTitleFnt{font} macros:
+% The {Algorithm: } in the caption is typeset with
+% \AlTitleFnt{Algorithm:}. You can use it to have text
+% typeset as {Algorithm:} of captions. Default is
+% textbf.
+% Default can be redefined by \SetAlTitleFnt{font}.
+% * add CommentSty typo for text comment.
+% * add some compatibility with hyperref package (still
+% an error on multiply defined refs but pdf correctly
+% generated)
+% * flush text to left in order to have correct
+% indentation even with class as amsart which center
+% all figures
+% * add german, portugues and czech options for title of
+% algorithms and typo.
+% * add portuguese translation of predefined keywords
+% * add czech translation of some predefined keywords
+%
+% - December 23 2002 - revision 2.40
+% * add some french keyword missing
+% * add function* and procedure* environment like
+% algorithme* environment: print in one column even
+% if twocolumn option is specified for the document.
+% * add a new macro \SetKwComment to define macro which
+% writes comments in the text. First argument is the
+% name of the macro, second is the text put before the
+% comment, third is the text put at the end of the
+% comment.Default are \tcc and \tcp
+% * add new options to change the way algo are numbered:
+% [algopart] algo are numbered within part (counter must exist)
+% [algochapter] algo are numbered within chapter
+% [algosection] algo are numbered within section
+%
+% - March 27 2002 - revision 2.39
+% * Gilles Geeraerts: added the \SetKwIfElseIf to manage
+% if (c)
+% i;
+% else if (c)
+% i;
+% ...
+% else
+% i;
+% end
+% * Also added \gIf \gElsIf \gElse.
+%
+% - January 02 2001 - revision 2.38
+% * bugs related to the caption in procedure and function
+% environment are corrected.
+% * bug related to option noend (extra vertical space added
+% after block command as If or For) is corrected.
+% * czech option language added (thanks to Libor Bus: l.bus at sh.cvut.cz).
+%
+% - October 16 2000 - revision 2.37
+% * option algo2e added: change the name of environment
+% algorithm into algorithm2e. So allow to use the package
+% with some journal style which already define an algorithm
+% environment.
+%
+% - September 13 2000 - revision 2.36
+% * option slide added: require package color
+% * Hack for slide class in order to have correct
+% margins
+%
+% - November 25 1999 - revision 2.35
+% * revision number match RCS number
+% * Thanks to David A. Bader, a new option is added:
+% noend: no end keywords are printed.
+%
+% - November 19 1999 - revision 2.32
+% * minor bug on longend option corrected.
+%
+% - August 26 1999 - revision 2.31
+% * add an option : figure
+% this option makes algorithms be figure and so are numbered
+% as figures, have Figure as caption and are put in
+% the \listoffigures
+%
+% - January 21 1999 - revision 2.3 beta
+% add 2 new environments: procedure and function.
+% These environments works like algorithm environment but:
+% - the ruled (or algoruled) style is imperative.
+% - the caption now writes Procedure name....
+% - the syntax of the \caption command is restricted as
+% follow: you MUST put a name followed by 2 braces like
+% this ``()''. You can put arguments inside the braces and
+% text after. If no argument is given, the braces will be
+% removed in the title.
+% - label now puts the name (the text before the braces in the
+% caption) of the procedure or function as reference (not
+% the number like a classic algorithm environment).
+% There are also two new styles : ProcNameSty and
+% ProcArgSty. These style are by default the same as FuncSty
+% and ArgSty but are used in the caption of a procedure or a
+% function.
+%
+% - November 28 1996 - revision 2.22
+% add a new macro \SetKwInParam{arg1}{arg2}{arg3}:
+% it defines a macro \arg1{name}{arg} which prints name in keyword
+% style followed byt arg surrounded by arg2 and arg3. The main
+% application is to a function working as \SetKwInput to be used
+% in the head of the algorithm. For example
+% \SetKwInParam{Func}{(}{)} allows
+% \Func{functionname}{list of arguments} which prints:
+% \KwSty{functioname(}list of arguments\KwSty{)}
+%
+%
+% - November 27 1996 - revision 2.21 :
+% minor bug in length of InOut boxes fixed.
+% add algorithm* environment.
+%
+% - July 12 1996 - revision 2.2 : \SetArg and \SetKwArg macros removed.
+%
+% \SetArg has been removed since it never has been
+% documented.
+% \SetKwArg has been removed since \SetKw can now
+% take an argument in order to be consistent with
+% \SetKwData and \SetKwFunction macros.
+%
+% - July 04 1996 - revision 2.1 : still more LaTeX2e! Minor compatibility break
+%
+% Macros use now \newcommand instead of \def, use of \setlength,
+% \newsavebox, ... and other LaTeX2e specific stuff.
+% The compatibility break:
+% - \SetData becomes \SetKwData to be more consistent. So the old
+% \SetKwData becomes \SetKwInput
+% - old macros \titleofalgo, \Freetitleofalgo and \freetitleofalgo
+% from LaTeX209 version which did print a warning message and call
+% \Titleofalgo in version 2.0 are now removed!
+%
+% - March 13 1996 - revision 2.0: first official major revision.
+%
+%
+%%%%%%%%%%%%%%
+%
+% Known bugs:
+% -----------
+% - no more known bugs... all are corrected!
+%
+%%%%%%%%%%%%%%
+%
+% Package options:
+% ---------------
+% - french, english, german, portuguese, czech : for the name of the algorithm, e.g.
+% - boxed, boxruled, ruled, algoruled, plain : layout of the algorithm
+% - algo2e : environment is algorithm2e instead of algorithms
+% and \listofalgorithmes instead of \listofalgorithms
+% - slide : to use when making slides
+% - noline,lined,vlined : how block are designed.
+% - linesnumbered : auto numbering of the algorithm's lines
+% - algopart,algochapter,algosection : algo numbering within part, chapter or section
+% - titlenumbered,titlenotnumbered : numbering of title set by \Titleofalgo
+% - figure : algorithms are figures, numbered as figures, and put in the list of figures.
+% - resetcount, noresetcount : start value of line numbers.
+% - algonl : line numbers preceded by algo number
+% - shortend, longend, noend : short or long end keyword as endif for e.g.
+%
+% defaults are; english,plain,resetcount,titlenotnumbered
+%
+%%%%%%%%%%%%%%
+%
+% Short summary
+% -------------
+%
+% algorithm is an environment for writing algorithm in LaTeX2e
+% It provide macros that allow you to create differents
+% sorts of key words, therefore a set of predefined key word
+% is gived.
+%
+% IT should be used as follows
+%
+% \begin{algorithm}
+% ...
+% ...
+% \end{algorithm}
+%
+%
+% IMPORTANT : each line MUST end with \;
+%
+% Note that if you define macros outside algorithm environment they
+% are avaible in all the document and particulary you can use then
+% inside all algorithms without re-define them.
+%
+% an example:
+%
+% \begin{algorithm}[H]
+% \SetLine
+% \AlgData{this text}
+% \AlgResult{how to write algorithm with \LaTeX2e }
+%
+% initialization\;
+% \While{not at end of this document}{
+% read current section\;
+% \eIf{understand}{
+% go to next section\;
+% current section becomes this one\;
+% }{
+% go back to the beginning of current section\;
+% }
+% }
+% \caption{How to write algorithm}
+% \end{algorithm}
+%
+%
+%%%%%%%%%%%%%% predefined english keywords
+%
+% \AlgData{input}
+% \AlgResult{output}
+% \KwIn{input}
+% \KwOut{output}
+% \KwData{input}
+% \KwResult{output}
+% \Ret{[value]}
+% \KwTo % a simple keyword
+% \Begin{block inside}
+% \If{condition}{Then block} % in a block
+% \uIf{condition}{Then block} % in a block unended
+% \Else{inside Else} % in a block
+% \eIf{condition}{Then Block}{Else block} % in blocks
+% \lIf{condition}{Else text} % on the same line
+% \lElse{Else text} % on the same line
+% \Switch{Condition}{Switch block}
+% \Case{a case}{case block} % in a block
+% \lCase{a case}{case text} % on the same line
+% \Other{otherwise block} % in a block
+% \lOther{otherwise block} % on the same line
+% \For{condition}{text loop} % in a block
+% \lFor{condition}{text} % on the same line
+% \ForEach{condition}{text loop} % in a block
+% \lForEach{condition}{text} % on the same line
+% \Repeat{End condition}{text loop} % in a block
+% \lRepeat{condition}{text} % on the same line
+% \While{condition}{text loop} % in a block
+% \lWhile{condition}{text loop} % on the same line
+%
+%
+%%%%%%%%%%%%%% predefined french keywords
+%
+% \AlgDonnees{input}
+% \AlgRes{input}
+% \Donnees{input}
+% \Res{input}
+% \Retour[valeur]}
+% \Deb{block inside}
+% \KwA % un mot clef simple
+% \Si{condition}{Bloc du Alors} % Dans un bloc
+% \uSi{condition}{Bloc du Alors} % Dans un bloc non termine
+% \eSi{condition}{Bloc du Alors}{Bloc du Sinon} % Dans un bloc
+% \lSi{condition}{texte du Alors} % sur la meme ligne
+% \lSinon{texte du Sinon} % sur la meme ligne
+% \Suivant{Condition}{Bloc de l'instruction}
+% \Cas{cas}{Bloc de ce cas} % Dans un bloc
+% \lCas{cas}{Bloc de ce cas} % sur la meme ligne
+% \Autres{Bloc de l'alternative} % Dans un bloc
+% \lAutres{Bloc de l'alternative} % sur la meme ligne
+% \Pour{condition}{texte de la boucle} % Dans un bloc
+% \lPour{condition}{texte} % sur la meme ligne
+% \PourCh{condition}{texte de la boucle} % Dans un bloc
+% \lPourCh{condition}{texte} % sur la meme ligne
+% \Repeter{End condition}{texte de la boucle} % Dans un bloc
+% \lRepeter{condition}{texte} % sur la meme ligne
+% \Tq{condition}{texte de la boucle} % Dans un bloc
+% \lTq{condition}{texte de la boucle} % sur la meme ligne
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% for more complete informations you can see algorithm2e.tex
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%% Identification Part %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+%
+\ProvidesPackage{algorithm2e}[2005/10/04 v3.9 algorithms environments]
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%% Initial Code %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\@makeother\*% some package redefined it as a letter (as color.sty)
+%
+% definition of commands which can be redefined in options of the package.
+%
+\newcounter{AlgoLine}
+\setcounter{AlgoLine}{0}
+%
+\newcommand{\listalgorithmcfname}{}
+\newcommand{\algorithmcfname}{}
+\newcommand{\algocf at typo}{}
+\newcommand{\@algocf at procname}{}
+\newcommand{\@algocf at funcname}{}
+\newcommand{\@algocf at titleofalgoname}{\algorithmcfname}
+\newcommand{\@algocf at algotitleofalgo}{%
+ \renewcommand{\@algocf at titleofalgoname}{\algorithmcfname}}
+\newcommand{\@algocf at proctitleofalgo}{%
+ \renewcommand{\@algocf at titleofalgoname}{\algocf at procname}}
+%
+\newcommand{\algocf at style}{plain}
+\newcommand{\@ResetCounterIfNeeded}{}
+\newcommand{\@titleprefix}{}
+%
+\newcommand{\algocf at numbering}[1]{\newcommand{\algocf at within}{#1}}
+%
+\newcommand{\defaultsmacros at algo}{\algocf at defaults@shortend}
+%
+\newcommand{\algocf at list}{loa}
+\newcommand{\algocf at float}{algocf}
+%
+\newcommand{\algocf at envname}{algorithm}
+\newcommand{\algocf at listofalgorithms}{listofalgorithms}
+%
+%
+%%%%%%%%%%%%%%%%%%%%%% Declaration of Options %%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\RequirePackage{ifthen}
+%
+\DeclareOption{algo2e}{%
+ \renewcommand{\algocf at envname}{algorithm2e}
+ \renewcommand{\algocf at listofalgorithms}{listofalgorithmes}
+}
+%
+\newboolean{algocf at slide}\setboolean{algocf at slide}{false}
+\DeclareOption{slide}{%
+ \setboolean{algocf at slide}{true}%
+}
+%
+\DeclareOption{figure}{
+\renewcommand{\algocf at list}{lof}
+\renewcommand{\algocf at float}{figure}
+}
+%
+\DeclareOption{english}{%
+\renewcommand{\listalgorithmcfname}{List of Algorithms}%
+\renewcommand{\algorithmcfname}{Algorithm}%
+\renewcommand{\algocf at typo}{}%
+\renewcommand{\@algocf at procname}{Procedure}
+\renewcommand{\@algocf at funcname}{Function}
+}
+%
+\DeclareOption{french}{%
+\renewcommand{\listalgorithmcfname}{Liste des Algorithmes}%
+\renewcommand{\algorithmcfname}{Algorithme}%
+\renewcommand{\algocf at typo}{\ }%
+\renewcommand{\@algocf at procname}{Procédure}
+\renewcommand{\@algocf at funcname}{Fonction}
+}
+%
+\DeclareOption{czech}{%
+\renewcommand{\listalgorithmcfname}{Seznam algoritm\v{u}}%
+\renewcommand{\algorithmcfname}{Algoritmus}%
+\renewcommand{\algocf at typo}{}%
+\renewcommand{\@algocf at procname}{Procedura}
+\renewcommand{\@algocf at funcname}{Funkce}
+}
+%
+\DeclareOption{german}{%
+\renewcommand{\listalgorithmcfname}{Liste der Algorithmen}%
+\renewcommand{\algorithmcfname}{Algorithmus}%
+\renewcommand{\algocf at typo}{\ }%
+\renewcommand{\@algocf at procname}{Prozedur}%
+\renewcommand{\@algocf at funcname}{Funktion}%
+}
+%
+\DeclareOption{portugues}{%
+\renewcommand{\listalgorithmcfname}{Lista de Algoritmos}%
+\renewcommand{\algorithmcfname}{Algoritmo}%
+\renewcommand{\algocf at typo}{}%
+\renewcommand{\@algocf at procname}{Procedimento}
+\renewcommand{\@algocf at funcname}{Fun\c{c}\~{a}o}
+}
+%
+% OPTIONs plain, boxed, ruled, algoruled & boxruled
+%
+\newcommand{\algocf at style@plain}{\renewcommand{\algocf at style}{plain}}
+\newcommand{\algocf at style@boxed}{\renewcommand{\algocf at style}{boxed}}
+\newcommand{\algocf at style@ruled}{\renewcommand{\algocf at style}{ruled}}
+\newcommand{\algocf at style@algoruled}{\renewcommand{\algocf at style}{algoruled}}
+\newcommand{\algocf at style@boxruled}{\renewcommand{\algocf at style}{boxruled}}
+\newcommand{\restylealgo}[1]{\csname algocf at style@#1\endcsname}
+\DeclareOption{plain}{\algocf at style@plain}
+\DeclareOption{boxed}{\algocf at style@boxed}
+\DeclareOption{ruled}{\algocf at style@ruled}
+\DeclareOption{algoruled}{\algocf at style@algoruled}
+\DeclareOption{boxruled}{\algocf at style@boxruled}
+%
+% OPTIONs algopart,algochapter & algosection
+%
+\DeclareOption{algopart}{\algocf at numbering{part}} %algo part numbered
+\DeclareOption{algochapter}{\algocf at numbering{chapter}} %algo chapter numbered
+\DeclareOption{algosection}{\algocf at numbering{section}} %algo section numbered
+%
+% OPTIONs resetcount & noresetcount
+%
[TRUNCATED]
To get the complete diff run:
svnlook diff /svnroot/distr -r 592
More information about the Distr-commits
mailing list