From e1038ccbe4bff1114d501d4f23cb80cb2d45bbb6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 10 Feb 2010 23:57:37 +0000 Subject: bosisio 2.2 (10feb10) git-svn-id: svn://tug.org/texlive/trunk@16959 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/bosisio/accenti.drv | 23 +- Master/texmf-dist/source/latex/bosisio/accenti.dtx | 125 +-- Master/texmf-dist/source/latex/bosisio/dblfont.drv | 23 +- Master/texmf-dist/source/latex/bosisio/dblfont.dtx | 82 +- Master/texmf-dist/source/latex/bosisio/envmath.drv | 61 ++ Master/texmf-dist/source/latex/bosisio/envmath.dtx | 975 +++++++++++++++++++++ .../texmf-dist/source/latex/bosisio/evenpage.drv | 61 ++ .../texmf-dist/source/latex/bosisio/evenpage.dtx | 143 +++ .../texmf-dist/source/latex/bosisio/graphfig.drv | 23 +- .../texmf-dist/source/latex/bosisio/graphfig.dtx | 157 ++-- Master/texmf-dist/source/latex/bosisio/mathcmd.drv | 23 +- Master/texmf-dist/source/latex/bosisio/mathcmd.dtx | 127 +-- Master/texmf-dist/source/latex/bosisio/mathenv.drv | 54 -- Master/texmf-dist/source/latex/bosisio/mathenv.dtx | 953 -------------------- Master/texmf-dist/source/latex/bosisio/quotes.drv | 23 +- Master/texmf-dist/source/latex/bosisio/quotes.dtx | 39 +- Master/texmf-dist/source/latex/bosisio/sobolev.drv | 23 +- Master/texmf-dist/source/latex/bosisio/sobolev.dtx | 97 +- 18 files changed, 1674 insertions(+), 1338 deletions(-) create mode 100644 Master/texmf-dist/source/latex/bosisio/envmath.drv create mode 100644 Master/texmf-dist/source/latex/bosisio/envmath.dtx create mode 100644 Master/texmf-dist/source/latex/bosisio/evenpage.drv create mode 100644 Master/texmf-dist/source/latex/bosisio/evenpage.dtx delete mode 100644 Master/texmf-dist/source/latex/bosisio/mathenv.drv delete mode 100644 Master/texmf-dist/source/latex/bosisio/mathenv.dtx (limited to 'Master/texmf-dist/source/latex/bosisio') diff --git a/Master/texmf-dist/source/latex/bosisio/accenti.drv b/Master/texmf-dist/source/latex/bosisio/accenti.drv index 026bf2bcdbd..0bd6a8c1ca8 100644 --- a/Master/texmf-dist/source/latex/bosisio/accenti.drv +++ b/Master/texmf-dist/source/latex/bosisio/accenti.drv @@ -22,19 +22,26 @@ %% in the same archive or directory.) %% %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -%% | Copyright(C) 1997-1999 by Francesco Bosisio | +%% | Copyright(C) 1997-2010 by F. Bosisio | %% | | -%% | This program can be redistributed and/or modified under the | -%% | terms of the LaTeX Project Public License Distributed from | -%% | CTAN archives in directory macros/latex/base/lppl.txt; | -%% | either version 1 of the License, or any later version. | +%% | This program can be redistributed and/or modified under | +%% | the terms of the LaTeX Project Public License, either | +%% | version 1.3 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.3 or later is part of all LaTeX distributions | +%% | version 2005/12/01 or later. | +%% | | +%% | This work has the LPPL maintenance status `maintained'. | +%% | The Current Maintainer of this work is F. Bosisio. | +%% | | +%% | This work consists of files accenti.dtx and accenti.html | +%% | and of the derived files accenti.sty and accenti.pdf. | %% | | %% | E-mail: fbosisio@bigfoot.com | -%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX | -%% | CTAN location: macros/latex/contrib/supported/bosisio/ | +%% | CTAN location: macros/latex/contrib/bosisio/ | %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% -%% %% If you make any improvment, find any bug or have %% any suggestion, please let me know about it. %% diff --git a/Master/texmf-dist/source/latex/bosisio/accenti.dtx b/Master/texmf-dist/source/latex/bosisio/accenti.dtx index 157f2de5f02..6f6ab9a78df 100644 --- a/Master/texmf-dist/source/latex/bosisio/accenti.dtx +++ b/Master/texmf-dist/source/latex/bosisio/accenti.dtx @@ -1,19 +1,26 @@ %\iffalse % MetaComment %% %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -%% | Copyright(C) 1997-1999 by Francesco Bosisio | +%% | Copyright(C) 1997-2010 by F. Bosisio | %% | | -%% | This program can be redistributed and/or modified under the | -%% | terms of the LaTeX Project Public License Distributed from | -%% | CTAN archives in directory macros/latex/base/lppl.txt; | -%% | either version 1 of the License, or any later version. | +%% | This program can be redistributed and/or modified under | +%% | the terms of the LaTeX Project Public License, either | +%% | version 1.3 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.3 or later is part of all LaTeX distributions | +%% | version 2005/12/01 or later. | +%% | | +%% | This work has the LPPL maintenance status `maintained'. | +%% | The Current Maintainer of this work is F. Bosisio. | +%% | | +%% | This work consists of files accenti.dtx and accenti.html | +%% | and of the derived files accenti.sty and accenti.pdf. | %% | | %% | E-mail: fbosisio@bigfoot.com | -%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX | -%% | CTAN location: macros/latex/contrib/supported/bosisio/ | +%% | CTAN location: macros/latex/contrib/bosisio/ | %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% -%% %% If you make any improvment, find any bug or have %% any suggestion, please let me know about it. %% @@ -25,10 +32,10 @@ % %<*package> %\fi -\def\fileversion{2.0} -\def\filedate{1997/12/20} -\def\docdate{1997/12/20} -\def\filedescr{Commands to make accents (BF)} +\def\fileversion{2.3} +\def\filedate{2005/04/02} +\def\docdate{2005/04/09} +\def\filedescr{Commands to make accents (FB)} % %\iffalse % MetaComment % @@ -84,13 +91,17 @@ % \changes{v1.1}{7 November 1997}{Fixed a bug in the options} % \changes{v2.0}{20 December 1997}{Separated from package ``quotes''} % \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses} +% \changes{v2.2}{2 April 2005}{All commands made robust} +%\iffalse % MetaComment +% The previous change was requested by Robin Fairbains (robin.fairbains@cl.cam.ac.uk) +%\fi +% \changes{v2.3}{9 April 2005}{Usage of the double-quote character (") avoided} % % \MakeShortVerb{\|} % % \title{Package \texttt{\FileName}\thanks{This is version \fileversion, % last revised \filedate; documentation date \docdate}} -% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}\\ -% \small Web page: \texttt{http://www.bigfoot.com/$\sim$fbosisio/LaTeX}} +% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}} % \date{\filedate} % \maketitle % @@ -108,42 +119,51 @@ % % \noindent % The redefined commands are:\\ -% ``|\a|", ``|\i|", ``|\o|" and ``|\u|",\\ -% whos job can now be done by the commands\\ -% ``|\oFinnick|" (finnick ``o" bar), -% ``|\DotlessI|" (dotless ``i", for accents), -% ``|\aAccent|" (for accents in |tabbing| environment) -% and ``|\uAccent|" (upsidedown ``hat" accent). +% ``|\a|'', ``|\i|'', ``|\o|'' and ``|\u|'',\\ +% whose job can now be done by the commands\\ +% ``|\oFinnick|'' (finnick ``o'' bar), +% ``|\DotlessI|'' (dotless ``i'', for accents), +% ``|\aAccent|'' (for accents in |tabbing| environment) +% and ``|\uAccent|'' (upsidedown ``hat'' accent). +% +% \section{Obsolete package} +% +% This package is \emph{obsolete}, as it has been superseeded by +% the standard ``|inputenc|'' package: indeed, the declaration\\ +% \mbox{}\qquad |\usepackage[latin1]{inputenc}|\\ +% directly allows the use of the characters ``\`a'', ``\`e'', +% ``\`\i'', ``\`o'', ``\`u'' and ``\'e'' in the document, which +% is extremly useful with an italian keyboard. % % \section{Required packages} % -% This package requires the ``|\xspace|" command provided by -% the ``|xspace|" package. +% This package requires the ``|\xspace|'' command provided by +% the ``|xspace|'' package. % % \section{Options} % -% This package provides the options ``|ExtdChar|" and -% ``|ExtdCharOnly|" which allow the use of the special -% chars ``\`a", ``\`e", ``\`\i", ``\`o", ``\`u" and ``\'e" +% This package provides the options ``|ExtdChar|'' and +% ``|ExtdCharOnly|'' which allow the use of the special +% characters ``\`a'', ``\`e'', ``\`\i'', ``\`o'', ``\`u'' and ``\'e'' % as accents-making commands. -% The second options also inhibits the definitions of -% ``|\a|", ``|\e|", ``|\i|", ``|\o|", ``|\u|", ``|\ee|" -% and ``|\che|" as short forms of the accent-commands +% The second option also inhibits the definitions of +% ``|\a|'', ``|\e|'', ``|\i|'', ``|\o|'', ``|\u|'', ``|\ee|'' +% and ``|\che|'' as short forms of the accent-commands % (it is particularly useful for non-Italian documents). % % \section{Accents} % -% Unless you specify the ``|ExtdCharOnly|" option, the -% commands ``|\a|", ``|\e|", ``|\i|", ``|\o|", ``|\u|" and ``|\E|" +% Unless you specify the ``|ExtdCharOnly|'' option, the +% commands ``|\a|'', ``|\e|'', ``|\i|'', ``|\o|'', ``|\u|'' and ``|\E|'' % prints the corresponding letter with a grave accent; -% the commands ``|\ee|" and ``|\che|" print the letter ``|e|" -% or the three letters ``|che|" with an acute accent (i.e. ``\'e" -% and ``ch\'e"). +% the commands ``|\ee|'' and ``|\che|'' print the letter ``|e|'' +% or the three letters ``|che|'' with an acute accent (i.e. ``\'e'' +% and ``ch\'e''). % -% Moreover, if the ``|ExtdChar|" or ``|ExtdCharOnly|" option was -% used, the chars ``\`a", ``\`e", ``\`\i", ``\`o", ``\`u" and ``\'e" -% are equivalent to the commands ``|\`a|", ``|\`e|", ``|\`\i|", -% ``|\`o|", ``|\`u|" and ``|\'e|". +% Moreover, if the ``|ExtdChar|'' or ``|ExtdCharOnly|'' option was +% used, the chars ``\`a'', ``\`e'', ``\`\i'', ``\`o'', ``\`u'' and ``\'e'' +% are equivalent to the commands ``|\`a|'', ``|\`e|'', ``|\`\i|'', +% ``|\`o|'', ``|\`u|'' and ``|\'e|''. % % \StopEventually{} % \newpage @@ -169,21 +189,29 @@ % % The original commands ``|\a|'', ``|\i|'', ``|\o|'' and ``|\u|'' are % saved before being redefined. +% The combined use of an intermediate internal command and of +% ``|\DeclareRobustCommand*|'', allow for all the commands of the +% package to be robust (even the saved original ones). % % \begin{macrocode} %% -\let\aAccent=\a -\let\DotlessI=\i -\let\oFinnick=\o -\let\uAccent=\u +\let\a@RIGINAL=\a +\let\i@RIGINAL=\i +\let\o@RIGINAL=\o +\let\u@RIGINAL=\u +%% +\DeclareRobustCommand*\aAccent{\a@RIGINAL} +\DeclareRobustCommand*\DotlessI{\i@RIGINAL} +\DeclareRobustCommand*\oFinnick{\o@RIGINAL} +\DeclareRobustCommand*\uAccent{\u@RIGINAL} % \end{macrocode} % -% The commands ``|\a|", ``|\e|", ``|\i|", ``|\o|", ``|\u|" and ``|\E|" +% The commands ``|\a|'', ``|\e|'', ``|\i|'', ``|\o|'', ``|\u|'' and ``|\E|'' % prints the corresponding letter with a grave accent; -% the commands ``|\ee|" and ``|\che|" print the letter ``|e|" -% or the three letters ``|che|" with an acute accent (i.e. ``\'e" -% and ``ch\'e"). -% The definitions are deferred at the ``|\begin{document}|" +% the commands ``|\ee|'' and ``|\che|'' print the letter ``|e|'' +% or the three letters ``|che|'' with an acute accent (i.e. ``\'e'' +% and ``ch\'e''). +% The definitions are deferred at the ``|\begin{document}|'' % in order to avoid conflicts with other packages. % % \begin{macrocode} @@ -205,7 +233,7 @@ % % \begin{macro}{Accents} % A trick adapted from the |doc| package (which, perhaps, may be -% done in a better way) is used (if the ``|ExtdChar|" option was +% done in a better way) is used (if the ``|ExtdChar|'' option was % selected) to associate the extended-ASCII chars which represents % accents with the corresponding accent-making commands. % @@ -293,8 +321,7 @@ %<*package> %\fi % -% \CheckSum{259} +% \CheckSum{271} % \Finale % \endinput - diff --git a/Master/texmf-dist/source/latex/bosisio/dblfont.drv b/Master/texmf-dist/source/latex/bosisio/dblfont.drv index f72d4d3e75a..e54a14131f8 100644 --- a/Master/texmf-dist/source/latex/bosisio/dblfont.drv +++ b/Master/texmf-dist/source/latex/bosisio/dblfont.drv @@ -22,19 +22,26 @@ %% in the same archive or directory.) %% %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -%% | Copyright(C) 1997-1999 by Francesco Bosisio | +%% | Copyright(C) 1997-2010 by F. Bosisio | %% | | -%% | This program can be redistributed and/or modified under the | -%% | terms of the LaTeX Project Public License Distributed from | -%% | CTAN archives in directory macros/latex/base/lppl.txt; | -%% | either version 1 of the License, or any later version. | +%% | This program can be redistributed and/or modified under | +%% | the terms of the LaTeX Project Public License, either | +%% | version 1.3 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.3 or later is part of all LaTeX distributions | +%% | version 2005/12/01 or later. | +%% | | +%% | This work has the LPPL maintenance status `maintained'. | +%% | The Current Maintainer of this work is F. Bosisio. | +%% | | +%% | This work consists of files dblfont.dtx and dblfont.html | +%% | and of the derived files dblfont.sty and dblfont.pdf. | %% | | %% | E-mail: fbosisio@bigfoot.com | -%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX | -%% | CTAN location: macros/latex/contrib/supported/bosisio/ | +%% | CTAN location: macros/latex/contrib/bosisio/ | %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% -%% %% If you make any improvment, find any bug or have %% any suggestion, please let me know about it. %% diff --git a/Master/texmf-dist/source/latex/bosisio/dblfont.dtx b/Master/texmf-dist/source/latex/bosisio/dblfont.dtx index f1592baf224..0598e5b3ef7 100644 --- a/Master/texmf-dist/source/latex/bosisio/dblfont.dtx +++ b/Master/texmf-dist/source/latex/bosisio/dblfont.dtx @@ -1,19 +1,26 @@ %\iffalse % MetaComment %% %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -%% | Copyright(C) 1997-1999 by Francesco Bosisio | +%% | Copyright(C) 1997-2010 by F. Bosisio | %% | | -%% | This program can be redistributed and/or modified under the | -%% | terms of the LaTeX Project Public License Distributed from | -%% | CTAN archives in directory macros/latex/base/lppl.txt; | -%% | either version 1 of the License, or any later version. | +%% | This program can be redistributed and/or modified under | +%% | the terms of the LaTeX Project Public License, either | +%% | version 1.3 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.3 or later is part of all LaTeX distributions | +%% | version 2005/12/01 or later. | +%% | | +%% | This work has the LPPL maintenance status `maintained'. | +%% | The Current Maintainer of this work is F. Bosisio. | +%% | | +%% | This work consists of files dblfont.dtx and dblfont.html | +%% | and of the derived files dblfont.sty and dblfont.pdf. | %% | | %% | E-mail: fbosisio@bigfoot.com | -%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX | -%% | CTAN location: macros/latex/contrib/supported/bosisio/ | +%% | CTAN location: macros/latex/contrib/bosisio/ | %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% -%% %% If you make any improvment, find any bug or have %% any suggestion, please let me know about it. %% @@ -25,10 +32,10 @@ % %<*package> %\fi -\def\fileversion{2.0} +\def\fileversion{2.2} \def\filedate{1997/12/13} -\def\docdate{1997/12/13} -\def\filedescr{Blackboard-bold symbols (BF)} +\def\docdate{2005/04/09} +\def\filedescr{Blackboard-bold symbols (FB)} % %\iffalse % MetaComment % @@ -83,13 +90,13 @@ % \changes{v1.1}{17 November 1997}{Added options in ``XX'' format} % \changes{v2.0}{13 December 1997}{Used ``newcommand*'' instead of ``def''} % \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses} +% \changes{v2.2}{9 April 2005}{Usage of the double-quote character (") avoided} % % \MakeShortVerb{\|} % % \title{Package \texttt{\FileName}\thanks{This is version \fileversion, % last revised \filedate; documentation date \docdate}} -% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}\\ -% \small Web page: \texttt{http://www.bigfoot.com/$\sim$fbosisio/LaTeX}} +% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}} % \date{\filedate} % \maketitle % @@ -98,19 +105,19 @@ % \end{abstract} % % \section{Introduction} -% This package provides the font ``|\DblFont|" (font |msbm10|), which +% This package provides the font ``|\DblFont|'' (font |msbm10|), which % corresponds to the so called blackdoard-bold symbols. % % \section{The options} -% For each uppercase letter ``|X|" a corresponding ``|X|" and ``|XX|" -% options exist: they declare the command ``|\X|" and ``|\XX|" which -% generates the letter |X| in |DblFont|. -% If a command named ``|\X|" or ``|\XX|" already exists in \LaTeX{}, -% their definition is first saved in ``|\BackDoubleX|" or -% ``|\BackDoubleXX|", respectively. +% For each uppercase letter ``|X|'' a corresponding ``|X|'' and ``|XX|'' +% options exist: they declare the commands ``|\X|'' and ``|\XX|'' which +% both generate the letter |X| in |DblFont|. +% If a command named ``|\X|'' or ``|\XX|'' already exists in \LaTeX{}, +% its definition is first saved in ``|\BackDoubleX|'' or +% ``|\BackDoubleXX|'', respectively. % % \noindent -% Also a ``|RT|" option exists: it declares the ``|\RT|" command, +% Also a ``|RT|'' option exists: it declares the ``|\RT|'' command, % which generates the two letters |RT| in |DblFont| (used for the % Raviart-Thomas spaces). % @@ -124,16 +131,16 @@ \ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr] % \end{macrocode} % -% The font ``|\DblFont|" is loaded, if not already done. +% The font ``|\DblFont|'' is loaded, if not already done. % \begin{macrocode} %% \newfont{\DblFont}{msbm10 scaled \magstep1} % \end{macrocode} % -% The ``|\DeclareDblFontSymbol|" has one argument which is used +% The ``|\DeclareDblFontSymbol|'' has one argument which is used % both as the command name to define and as the output it should % generate (in |\DblFont|). -% The ``|\csname #1 \endcsname|" sequence adds a backslash in front +% The ``|\csname #1 \endcsname|'' sequence adds a backslash in front % of the argument, to get the command name. % \begin{macrocode} %% @@ -141,10 +148,10 @@ \expandafter\newcommand*\csname #1\endcsname{\ensuremath{\mathbb{#1}}}% } % \end{macrocode} -% The ``|\dECL@REdBLfONTsYMBOL|" has one argument which is used +% The ``|\dECL@REdBLfONTsYMBOL|'' has one argument which is used % both as the command name to define (doubled) and as the output % it should generate (in |\DblFont|). -% The ``|\csname #1#1 \endcsname|" sequence adds a backslash in front +% The ``|\csname #1#1 \endcsname|'' sequence adds a backslash in front % of the argument and doubles it, to get the command name. % \begin{macrocode} \newcommand*\dECL@REdBLfONTsYMBOL[1]{% @@ -152,9 +159,9 @@ } % \end{macrocode} % -% The command ``|\BackUpL@texCmd{}|" saves the command ``|\|" in -% the macro ``|\BackDouble|" and then undefines ``|\|", so that a -% ``|\newcommand*\{..}|" can be used to redefine it. +% The command ``|\BackUpL@texCmd{}|'' saves the command ``|\|'' in +% the macro ``|\BackDouble|'' and then undefines ``|\|'', so that a +% ``|\newcommand*\{..}|'' can be used to redefine it. % \begin{macrocode} %% \newcommand*\BackUpL@texCmd[1]{% @@ -165,10 +172,10 @@ % \end{macrocode} % % An option exists for each uppercase letter: it declares the -% command ``|\X|" which generates the letter |X| in |DblFont|, +% command ``|\X|'' which generates the letter |X| in |DblFont|, % where |X| denotes the letter under consideration. -% If a command named ``|\X|" already exists in \LaTeX{}, its definition -% is saved in ``|\BackDoubleX|", before being redefined. +% If a command named ``|\X|'' already exists in \LaTeX{}, its definition +% is saved in ``|\BackDoubleX|'', before being redefined. % \begin{macrocode} %% \DeclareOption{A}{\DeclareDblFontSymbol{A}} @@ -199,10 +206,10 @@ \DeclareOption{Z}{\DeclareDblFontSymbol{Z}} % \end{macrocode} % -% An option ``|XX|" exists for each uppercase letter ``|X|": it declares -% the command ``|\XX|" which generates the letter |X| in |DblFont|. -% If a command named ``|\XX|" already exists in \LaTeX{}, its -% definition is saved in ``|\BackDoubleXX|", before being redefined. +% An option ``|XX|'' exists for each uppercase letter ``|X|'': it declares +% the command ``|\XX|'' which generates the letter |X| in |DblFont|. +% If a command named ``|\XX|'' already exists in \LaTeX{}, its +% definition is saved in ``|\BackDoubleXX|'', before being redefined. % \begin{macrocode} %% \DeclareOption{AA}{\dECL@REdBLfONTsYMBOL{A}} @@ -234,7 +241,7 @@ % \end{macrocode} % % A further option is for Raviart-Thomas spaces: it declares the -% command ``|\RT|" which generates the two letters |RT| in |DblFont| +% command ``|\RT|'' which generates the two letters |RT| in |DblFont| % \begin{macrocode} % \DeclareOption{RT}{\DeclareDblFontSymbol{RT}} @@ -255,4 +262,3 @@ % \Finale % \endinput - diff --git a/Master/texmf-dist/source/latex/bosisio/envmath.drv b/Master/texmf-dist/source/latex/bosisio/envmath.drv new file mode 100644 index 00000000000..a7a33ad20c3 --- /dev/null +++ b/Master/texmf-dist/source/latex/bosisio/envmath.drv @@ -0,0 +1,61 @@ +%% +%% This is file `envmath.drv', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% envmath.dtx (with options: `driver') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from envmath.drv. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file envmath.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% +%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +%% | Copyright(C) 1997-2010 by F. Bosisio | +%% | | +%% | This program can be redistributed and/or modified under | +%% | the terms of the LaTeX Project Public License, either | +%% | version 1.3 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.3 or later is part of all LaTeX distributions | +%% | version 2005/12/01 or later. | +%% | | +%% | This work has the LPPL maintenance status `maintained'. | +%% | The Current Maintainer of this work is F. Bosisio. | +%% | | +%% | This work consists of files envmath.dtx and envmath.html | +%% | and of the derived files envmath.sty and envmath.pdf. | +%% | | +%% | E-mail: fbosisio@bigfoot.com | +%% | CTAN location: macros/latex/contrib/bosisio/ | +%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +%% +%% If you make any improvment, find any bug or have +%% any suggestion, please let me know about it. +%% +\def\FileName{envmath} +\documentclass[12pt,a4paper]{ltxdoc} + \EnableCrossrefs + \CodelineIndex + \RecordChanges + %\OnlyDescription % Uncomment not to see the implementation +\begin{document} + \DocInput{\FileName.dtx} + \PrintIndex + \PrintChanges +\end{document} +\endinput +%% +%% End of file `envmath.drv'. diff --git a/Master/texmf-dist/source/latex/bosisio/envmath.dtx b/Master/texmf-dist/source/latex/bosisio/envmath.dtx new file mode 100644 index 00000000000..e1f74afc039 --- /dev/null +++ b/Master/texmf-dist/source/latex/bosisio/envmath.dtx @@ -0,0 +1,975 @@ +%\iffalse % MetaComment +%% +%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +%% | Copyright(C) 1997-2010 by F. Bosisio | +%% | | +%% | This program can be redistributed and/or modified under | +%% | the terms of the LaTeX Project Public License, either | +%% | version 1.3 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.3 or later is part of all LaTeX distributions | +%% | version 2005/12/01 or later. | +%% | | +%% | This work has the LPPL maintenance status `maintained'. | +%% | The Current Maintainer of this work is F. Bosisio. | +%% | | +%% | This work consists of files envmath.dtx and envmath.html | +%% | and of the derived files envmath.sty and envmath.pdf. | +%% | | +%% | E-mail: fbosisio@bigfoot.com | +%% | CTAN location: macros/latex/contrib/bosisio/ | +%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +%% +%% If you make any improvment, find any bug or have +%% any suggestion, please let me know about it. +%% +%<*package,driver> +%\fi +% +\def\FileName{envmath} +%\iffalse % MetaComment +% +%<*package> +%\fi +\def\fileversion{2.5} +\def\filedate{2010/02/10} +\def\docdate{2005/04/09} +\def\filedescr{Extended math environments (FB)} +% +%\iffalse % MetaComment +% +%<*dtx> +%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +% This section is the installation driver +% +\def\batchfile{\FileName.dtx} +% +\input docstrip +% +\keepsilent +% \askforoverwritefalse +% +\generateFile{\FileName.sty}{f}{\from{\FileName.dtx}{package}} +% +\generateFile{\FileName.drv}{f}{\from{\FileName.dtx}{driver}} +% +\Msg{******************************************************} +\Msg{*} +\Msg{* To produce the documentation run the} +\Msg{* file `\FileName.drv' through LaTeX.} +\Msg{*} +\Msg{******************************************************} +% +\endbatchfile +% +% End of the installation driver +%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +% +% +% This section is the documentation driver +% +%<+driver>\documentclass[12pt,a4paper]{ltxdoc} +%<+driver> \EnableCrossrefs +%<+driver> \CodelineIndex +%<+driver> \RecordChanges +%<+driver> %\OnlyDescription % Uncomment not to see the implementation +%<+driver>\begin{document} +%<+driver> \DocInput{\FileName.dtx} +%<+driver> \PrintIndex +%<+driver> \PrintChanges +%<+driver>\end{document} +% +% End of the documentation driver +%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +%<*package> +%\fi +% +% \changes{v0.1}{20 April 1997}{First release (basic environments)} +% \changes{v0.2}{10 May 1997}{Added the ``*-form'' of environments} +% \changes{v1.0}{24 May 1997}{Documentation added} +% \changes{v1.1}{18 October 1997}{``EQNarray'' and ``EqSystem'' environments} +% \changes{v1.2}{5 November 1997}{Options to behave like ``Standard'' LateX} +% \changes{v1.3}{8 November 1997}{Documentation updated} +% \changes{v2.0}{20 December 1997}{Separated from package ``mathcmd''} +% \changes{v2.1}{4 February 1998}{``MultiLine'' and ``EqSystem'' environments +% reimplemented; ``EQNarray'' environment and +% ``CONTINUE'' command made obsolete} +% \changes{v2.2}{6 February 1998}{``@StandartEquation'' deferred +% ``AtBeginDocument''; some ``def'' replaced +% by ``newcommand*''; documentation updated} +% \changes{v2.3}{5 March 1999}{Added copyright notice and changed addresses} +% \changes{v2.4}{9 April 2005}{Usage of the double-quote character (") avoided} +% \changes{v2.5}{10 February 2010}{Package renamed from ``mathenv'' to +% ``envmath'' to avoid name conflicts} +%\iffalse % MetaComment +% The previous change was requested by Karl Berry (karl@freefriends.org) +%\fi +% +% \MakeShortVerb{\|} +% +% \title{Package \texttt{\FileName}\thanks{This is version \fileversion, +% last revised \filedate; documentation date \docdate}} +% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}} +% \date{\filedate} +% \maketitle +% +% \begin{abstract} +% Documentation for the package \texttt{\FileName}. +% \end{abstract} +% +% \section{Introduction} +% This package provides some useful math-commands and enviroments, +% which are simpler to use and prettier then their standard \LaTeX{} +% counterpart. +% +% In particular some commands are redefined\footnote{See the options +% in next section if you don't want these comand to be redefined}, so +% care should be taken, expecially when including this package in an +% already existent \LaTeX{} file. +% +% \noindent +% The redefined commands are:\\ +% |\(|, |\)|, |\[|, |\]|, |\{| and |\}| \\ +% The effect of ``|\(| \dots |\)|'' can still be achieved by the +% \LaTeX{} equivalent commands ``|\begin{math}| \dots |\end{math}|'' +% or ``|$| \dots |$|''. +% +% \noindent +% Similarly, the effect of ``|\[| \dots |\]|'' can be achieved by +% the \LaTeX{} equivalent commands +% ``|\begin{displaymath}| \ldots |\end{displaymath}|'' +% or ``|$$| \dots |$$|''. +% +% \noindent +% The ``|\{|'' and ``|\}|'' commands are the more error-prone, since +% one may try to use ``|\left\{|'', which now is incorrect, because +% the ``|\{|'' command already contains a ``|\left|'' declaration. +% In the rare occasions where a brace of normal size is needed, one +% can use the \LaTeX{} commands ``|\lbrace|'' and ``|\rbrace|'' +% +% \noindent +% Also the ``|equation|'' environment has been changed, but it is +% completly compatible with the original definition, so it should +% be safe, perhaps except when the first character of the equation +% is an open square bracket or it is placed in a moving argument: +% in fact, the new version of this command is fragile, and this is +% true also for most of the commands defined by this package. +% +% \section{Backward compatibility} +% The package has been renamed from ``|mathenv|'' to ``|envmath|'', +% in order to avoid conflicts with another package with the same name: +% if you were using the ``old'' package, you need to change your \LaTeX{} +% files in order to include the new ones.\\ +% Alternatively, you can also rename the package to give it the ``old'' +% name (you need to change also the ``|\def\FileName{...}|'' line inside +% the ``|sty|''-file), but you must take care not to have another package +% with the same name installed on your system. +% +% \section{The options} +% At now, five options are available with the \texttt{\FileName} +% package. +% +% \noindent +% The ``|RedefEquation|''/``|StdEquation|'' and +% ``|RedefBrackets|''/``|StdBrackets|'' options control +% whether the ``|equation|'' environment and the brace commands +% ``|\(|'', ``|\(|'', ``|\)|'', ``|\[|'', ``|\]|'', ``|\{|'' and ``|\}| +% should be redefined or retain their original \LaTeX{} meaning. +% More precisely, ``|RedefEquation|'' (default) redefines the +% ``equation'' environment to have an optional argument (used as a +% label), while ``|StdEquation|'' leaves it unchanged. In the first +% case, the ``equation'' environment will be equivalent to the +% ``Equation'' environment (capitalized!) described below, whereas in +% the second case they will be different. +% Similarly, the ``|RedefBrackets|'' option (default) makes the +% brackets command to be redefined, whilst ``|StdBrackets|'' leave +% them their original meaning. +% Also a ``|Standard|'' option exists, which amounts to specify both +% the ``|StdEquation|'' and ``|StdBrackets|'' options, thus making the +% package fully standard, which may be useful when sending your +% \LaTeX{} files to someone else. +% +% \section{Math-mode environments} +% This package provides three math-mode environments, each with a +% ``*-form'' which does not generates numbers. +% +% \subsection{The \texttt{Equation} environment} +% The ``|Equation|'' environment has an optional argument +% which is used as a label to reference it. +% \begin{verbatim} +% \begin{Equation}[label] +% ... +% \end{Equation} +% \end{verbatim} +% If the ``|RedefEquation|'' option is in effect (default), +% then the ``|equation|'' environment is redefined to have +% the same optional argument as ``|Equation|''. +% +% There is also a *-form, which does not generate a number +% (so this *-form is really a ``displaymath'' and not an +% equation, but it has been added for simmetry and for making +% it easier to add or remove the number to a formula). +% +% \noindent +% The *-form has an optional argument like the non-* form, +% which is disregarded by the environment and is added only +% for simmetry reasons. +% \begin{verbatim} +% \begin{equation*}[disregarded-label] +% ... +% \end{equation*} +% \end{verbatim} +% +% \subsection{The \texttt{MultiLine} equation environment} +% The ``|MultiLine|'' environment is intended for formulas +% that don't fit on a single line, and so must be broken +% across lines. +% +% \noindent +% As for the |Equation| environment above, it has an optional +% argument which is used as a label. +% +% \noindent +% All the lines but the first are automatically indented by +% the lenght ``|\MultiLineIndent|'', which is rougthly what +% one expects, but can be changed at any time by the user +% with ``|\setlenght{\MultiLineIndent}{...}|''. +% You can also control the alignment of the continuation rows +% by placing an optional |&| in the first row: is such a case +% all the others line will \emph{not} be indented +% by ``|\MultiLineIndent|'' but wil behave \emph{as if} there +% there were an ampersand in front of them (i.e. they will be +% left-aligned at the right of the \& in the first row). +% +% \noindent +% Each line but the last must end with a ``|\\|'' command +% (which can have an optional argument to add some vertical +% space between lines). +% When the line is broken in the middle (e.g. after a ``+'' +% sign) and not at the end (i.e. after a ``='' or similar), the +% *-form ``|\\*|'' may be used to indicate the line-break, the +% difference being in an extra space added at the beginning of +% the next line. +% The width of a thise space defaults to 1em and can be changed +% by the user with ``|\setlenght{\MultiLineStarIndent}{...}|''. +% +% \begin{verbatim} +% \begin{MultiLine}[label] +% ... [&]= ... = \\ +% = ... + \\* +% + ... = \\ +% = ... +% \end{MultiLine} +% \end{verbatim} +% +% Also this environment has a *-form which differs only in that +% it does not generate an equation number. +% \begin{verbatim} +% \begin{MultiLine*}[disregarded-label] +% ... [&]= ... = \\ +% = ... + \\* +% + ... = \\ +% = ... +% \end{MultiLine*} +% \end{verbatim} +% +% \subsection{The \texttt{System} environment} +% The ``|System|'' environment is used for grouping a set of +% equations together inside a left brace, with one only +% equation number. +% +% \noindent +% Again there is an optional argument to indicate a label and +% each equation is separated by a ``|\\|'' or ``|\\*|'' command, +% as for the ``|MultiLine|'' environment. +% +% \noindent +% The rows (except the ones ended with the *-form ``|\\*|'') +% may optionally contain one ``|&|'', which is usually used +% when some text should be added to the equation. +% \begin{verbatim} +% \begin{System}[label] +% ... = ... [& ...] \\ +% ... = ... + \\* +% + ... [& ...] \\ +% ... = ... [& ...] +% \end{System} +% \end{verbatim} +% +% A *-form which does not generate any number is also provided. +% \begin{verbatim} +% \begin{System*}[disregarded-label] +% ... = ... [& ...] \\ +% ... = ... + \\* +% + ... [& ...] \\ +% ... = ... [& ...] +% \end{System*} +% \end{verbatim} +% +% \subsection{The \texttt{EqSystem} environment} +% The ``|EqSystem|'' environment is used for grouping a set of +% equations together inside a left brace, each with its own +% equation number. +% +% \noindent +% Again there is an optional argument to indicate a label and +% each equation is separated by a ``|\\|'' or ``|\\*|'' command. +% +% \noindent +% The rows may optionally contain one ``|&|'', which is +% usually used when some text should be added to the equation. +% \begin{verbatim} +% \begin{EqSystem}[label] +% ... = ... [& ...] \\ % (1.1) +% ... = ... + \\* % (1.2) +% + ... [& ...] \\ % (1.3) +% ... = ... [& ...] % (1.4) +% \end{EqSystem} +% \end{verbatim} +% +% A *-form is also provided: it differs in that each equation +% is numbered with the same number but with a lowercase letter +% added, i.e. like (1.1a), (1.1b), etc. instead of (1.1), +% (1.2) and so on. +% \begin{verbatim} +% \begin{EqSystem*}[label] +% ... = ... [& ...] \\ % (1.5a) +% ... = ... + \\* % (1.5b) +% + ... [& ...] \\ % (1.5c) +% ... = ... [& ...] % (1.5d) +% \end{EqSystem*} +% \end{verbatim} +% In both cases, if the optional argument is present, each +% equation can be referenced by |\ref{