summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bosisio
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-18 01:02:30 +0000
committerKarl Berry <karl@freefriends.org>2009-01-18 01:02:30 +0000
commit9a5f9a8fbaf534d7f2b0afa74d07e45ea5fada89 (patch)
tree44f442c8f248f8e30563a2f3cd93808afd27f906 /Master/texmf-dist/source/latex/bosisio
parentfb9eedce0aead30fcccca93da6d6b9a6d64bac46 (diff)
new old latex packages bosisio (17jan09)
git-svn-id: svn://tug.org/texlive/trunk@11906 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bosisio')
-rw-r--r--Master/texmf-dist/source/latex/bosisio/accenti.drv54
-rw-r--r--Master/texmf-dist/source/latex/bosisio/accenti.dtx300
-rw-r--r--Master/texmf-dist/source/latex/bosisio/dblfont.drv54
-rw-r--r--Master/texmf-dist/source/latex/bosisio/dblfont.dtx258
-rw-r--r--Master/texmf-dist/source/latex/bosisio/graphfig.drv55
-rw-r--r--Master/texmf-dist/source/latex/bosisio/graphfig.dtx478
-rw-r--r--Master/texmf-dist/source/latex/bosisio/mathcmd.drv54
-rw-r--r--Master/texmf-dist/source/latex/bosisio/mathcmd.dtx403
-rw-r--r--Master/texmf-dist/source/latex/bosisio/mathenv.drv54
-rw-r--r--Master/texmf-dist/source/latex/bosisio/mathenv.dtx953
-rw-r--r--Master/texmf-dist/source/latex/bosisio/quotes.drv55
-rw-r--r--Master/texmf-dist/source/latex/bosisio/quotes.dtx170
-rw-r--r--Master/texmf-dist/source/latex/bosisio/sobolev.drv54
-rw-r--r--Master/texmf-dist/source/latex/bosisio/sobolev.dtx536
14 files changed, 3478 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/bosisio/accenti.drv b/Master/texmf-dist/source/latex/bosisio/accenti.drv
new file mode 100644
index 00000000000..026bf2bcdbd
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/accenti.drv
@@ -0,0 +1,54 @@
+%%
+%% This is file `accenti.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% accenti.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 accenti.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file accenti.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{accenti}
+\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 `accenti.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/accenti.dtx b/Master/texmf-dist/source/latex/bosisio/accenti.dtx
new file mode 100644
index 00000000000..157f2de5f02
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/accenti.dtx
@@ -0,0 +1,300 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{accenti}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.0}
+\def\filedate{1997/12/20}
+\def\docdate{1997/12/20}
+\def\filedescr{Commands to make accents (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% 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}{4 May 1997}{First release (basic accents-command)}
+% \changes{v0.2}{20 August 1997}{Added extended-chars handling}
+% \changes{v1.0}{5 September 1997}{Documentation added}
+% \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}
+%
+% \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}}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% Documentation for the package \texttt{\FileName}.
+% \end{abstract}
+%
+% \section{Introduction}
+% This package provides a shorter version of some accents-making
+% commands, particularly suited for italian language.
+%
+% In particular some commands are redefined, so care should be
+% taken, expecially when including this package in an already
+% existent \LaTeX{} file.
+%
+% \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).
+%
+% \section{Required packages}
+%
+% 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"
+% 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
+% (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|"
+% 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").
+%
+% 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
+% \section{Implementation}
+%
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+\RequirePackage{xspace}[1996/12/06 v1.05]
+%%
+\newif\if@ExtendedAccChar\@ExtendedAccCharfalse
+\DeclareOption{ExtdChar}{\@ExtendedAccChartrue}
+%%
+\newif\if@NotOnlyExtended@\@NotOnlyExtended@true
+\DeclareOption{ExtdCharOnly}{\@NotOnlyExtended@false}
+%%
+\ProcessOptions
+%%
+% \end{macrocode}
+%
+% \begin{macro}{\a,\e,\i,\o,\u,\ee,\che,\E}
+%
+% The original commands ``|\a|'', ``|\i|'', ``|\o|'' and ``|\u|'' are
+% saved before being redefined.
+%
+% \begin{macrocode}
+%%
+\let\aAccent=\a
+\let\DotlessI=\i
+\let\oFinnick=\o
+\let\uAccent=\u
+% \end{macrocode}
+%
+% 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}|"
+% in order to avoid conflicts with other packages.
+%
+% \begin{macrocode}
+%%
+\if@NotOnlyExtended@ %-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\
+ \AtBeginDocument{%
+ \renewcommand*\a{\`a\xspace}%
+ \newcommand*\e{\`e\xspace}%
+ \renewcommand*\i{\`\DotlessI\xspace}%
+ \renewcommand*\o{\`o\xspace}%
+ \renewcommand*\u{\`u\xspace}%
+ \newcommand*\E{\`E\xspace}%
+ \newcommand*\ee{\'e\xspace}%
+ \newcommand*\che{ch\'e\xspace}%
+ }
+\fi %-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
+% \end{macrocode}
+% \end{macro}
+%
+% \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
+% selected) to associate the extended-ASCII chars which represents
+% accents with the corresponding accent-making commands.
+%
+% \begin{macrocode}
+%%
+\if@ExtendedAccChar %-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\
+%%
+%% %%%%%%%%%%
+%% % à = \a %
+%% %%%%%%%%%%
+\begingroup
+ \catcode`\~\active \lccode`\~`\à%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\à\endcsname~%
+ \gdef~{\`a}}%
+\endgroup
+\global\catcode`\à\active
+%%
+%% %%%%%%%%%%
+%% % è = \e %
+%% %%%%%%%%%%
+\begingroup
+ \catcode`\~\active \lccode`\~`\è%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\è\endcsname~%
+ \gdef~{\`e}}%
+\endgroup
+\global\catcode`\è\active
+%%
+%% %%%%%%%%%%%
+%% % é = \ee %
+%% %%%%%%%%%%%
+\begingroup
+ \catcode`\~\active \lccode`\~`\é%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\è\endcsname~%
+ \gdef~{\'e}}%
+\endgroup
+\global\catcode`\é\active
+%%
+%% %%%%%%%%%%
+%% % ì = \i %
+%% %%%%%%%%%%
+\begingroup
+ \catcode`\~\active \lccode`\~`\ì%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\ì\endcsname~%
+ \gdef~{\`\DotlessI}}%
+\endgroup
+\global\catcode`\ì\active
+%%
+%% %%%%%%%%%%
+%% % ò = \o %
+%% %%%%%%%%%%
+\begingroup
+ \catcode`\~\active \lccode`\~`\ò%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\ò\endcsname~%
+ \gdef~{\`o}}%
+\endgroup
+\global\catcode`\ò\active
+%%
+%% %%%%%%%%%%
+%% % ù = \u %
+%% %%%%%%%%%%
+\begingroup
+ \catcode`\~\active \lccode`\~`\ù%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\ù\endcsname~%
+ \gdef~{\`u}}%
+\endgroup
+\global\catcode`\ù\active
+%%
+\fi %-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
+% \end{macrocode}
+% \end{macro}
+%
+%\iffalse % MetaComment
+%<*package>
+%\fi
+%
+% \CheckSum{259}
+% \Finale
+%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/bosisio/dblfont.drv b/Master/texmf-dist/source/latex/bosisio/dblfont.drv
new file mode 100644
index 00000000000..f72d4d3e75a
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/dblfont.drv
@@ -0,0 +1,54 @@
+%%
+%% This is file `dblfont.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% dblfont.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 dblfont.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file dblfont.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{dblfont}
+\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 `dblfont.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/dblfont.dtx b/Master/texmf-dist/source/latex/bosisio/dblfont.dtx
new file mode 100644
index 00000000000..f1592baf224
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/dblfont.dtx
@@ -0,0 +1,258 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{dblfont}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.0}
+\def\filedate{1997/12/13}
+\def\docdate{1997/12/13}
+\def\filedescr{Blackboard-bold symbols (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% 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}{1 November 1997}{First release}
+% \changes{v1.0}{7 November 1997}{Documentation added}
+% \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}
+%
+% \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}}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% Documentation for the package \texttt{\FileName}.
+% \end{abstract}
+%
+% \section{Introduction}
+% 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.
+%
+% \noindent
+% Also a ``|RT|" option exists: it declares the ``|\RT|" command,
+% which generates the two letters |RT| in |DblFont| (used for the
+% Raviart-Thomas spaces).
+%
+% \StopEventually{}
+% \newpage
+% \section{Implementation}
+%
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+% \end{macrocode}
+%
+% 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
+% 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
+% of the argument, to get the command name.
+% \begin{macrocode}
+%%
+\newcommand*\DeclareDblFontSymbol[1]{%
+\expandafter\newcommand*\csname #1\endcsname{\ensuremath{\mathbb{#1}}}%
+}
+% \end{macrocode}
+% 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
+% of the argument and doubles it, to get the command name.
+% \begin{macrocode}
+\newcommand*\dECL@REdBLfONTsYMBOL[1]{%
+\expandafter\newcommand*\csname #1#1\endcsname{\ensuremath{\mathbb{#1}}}%
+}
+% \end{macrocode}
+%
+% The command ``|\BackUpL@texCmd{<X>}|" saves the command ``|\<X>|" in
+% the macro ``|\BackDouble<X>|" and then undefines ``|\<X>|", so that a
+% ``|\newcommand*\<X>{..}|" can be used to redefine it.
+% \begin{macrocode}
+%%
+\newcommand*\BackUpL@texCmd[1]{%
+\expandafter\let\csname BackDouble#1\endcsname=\csname #1\endcsname%
+\expandafter\let\csname #1\endcsname\undefined%
+\typeout{*** Command name ``#1'' has been replaced by ``BackDouble#1''! ***}%
+}
+% \end{macrocode}
+%
+% An option exists for each uppercase letter: it declares the
+% 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.
+% \begin{macrocode}
+%%
+\DeclareOption{A}{\DeclareDblFontSymbol{A}}
+\DeclareOption{B}{\DeclareDblFontSymbol{B}}
+\DeclareOption{C}{\DeclareDblFontSymbol{C}}
+\DeclareOption{D}{\DeclareDblFontSymbol{D}}
+\DeclareOption{E}{\DeclareDblFontSymbol{E}}
+\DeclareOption{F}{\DeclareDblFontSymbol{F}}
+\DeclareOption{G}{\DeclareDblFontSymbol{G}}
+\DeclareOption{H}{\BackUpL@texCmd{H} \DeclareDblFontSymbol{H}}
+\DeclareOption{I}{\DeclareDblFontSymbol{I}}
+\DeclareOption{J}{\DeclareDblFontSymbol{J}}
+\DeclareOption{K}{\DeclareDblFontSymbol{K}}
+\DeclareOption{L}{\BackUpL@texCmd{L} \DeclareDblFontSymbol{L}}
+\DeclareOption{M}{\DeclareDblFontSymbol{M}}
+\DeclareOption{N}{\DeclareDblFontSymbol{N}}
+\DeclareOption{O}{\BackUpL@texCmd{O} \DeclareDblFontSymbol{O}}
+\DeclareOption{P}{\BackUpL@texCmd{P} \DeclareDblFontSymbol{P}}
+\DeclareOption{Q}{\DeclareDblFontSymbol{Q}}
+\DeclareOption{R}{\DeclareDblFontSymbol{R}}
+\DeclareOption{S}{\BackUpL@texCmd{S} \DeclareDblFontSymbol{S}}
+\DeclareOption{T}{\DeclareDblFontSymbol{T}}
+\DeclareOption{U}{\DeclareDblFontSymbol{U}}
+\DeclareOption{V}{\DeclareDblFontSymbol{V}}
+\DeclareOption{W}{\DeclareDblFontSymbol{W}}
+\DeclareOption{X}{\DeclareDblFontSymbol{X}}
+\DeclareOption{Y}{\DeclareDblFontSymbol{Y}}
+\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.
+% \begin{macrocode}
+%%
+\DeclareOption{AA}{\dECL@REdBLfONTsYMBOL{A}}
+\DeclareOption{BB}{\dECL@REdBLfONTsYMBOL{B}}
+\DeclareOption{CC}{\dECL@REdBLfONTsYMBOL{C}}
+\DeclareOption{DD}{\dECL@REdBLfONTsYMBOL{D}}
+\DeclareOption{EE}{\dECL@REdBLfONTsYMBOL{E}}
+\DeclareOption{FF}{\dECL@REdBLfONTsYMBOL{F}}
+\DeclareOption{GG}{\dECL@REdBLfONTsYMBOL{G}}
+\DeclareOption{HH}{\dECL@REdBLfONTsYMBOL{H}}
+\DeclareOption{II}{\dECL@REdBLfONTsYMBOL{I}}
+\DeclareOption{JJ}{\dECL@REdBLfONTsYMBOL{J}}
+\DeclareOption{KK}{\dECL@REdBLfONTsYMBOL{K}}
+\DeclareOption{LL}{\dECL@REdBLfONTsYMBOL{L}}
+\DeclareOption{MM}{\dECL@REdBLfONTsYMBOL{M}}
+\DeclareOption{NN}{\dECL@REdBLfONTsYMBOL{N}}
+\DeclareOption{OO}{\dECL@REdBLfONTsYMBOL{O}}
+\DeclareOption{PP}{\dECL@REdBLfONTsYMBOL{P}}
+\DeclareOption{QQ}{\dECL@REdBLfONTsYMBOL{Q}}
+\DeclareOption{RR}{\dECL@REdBLfONTsYMBOL{R}}
+\DeclareOption{SS}{\BackUpL@texCmd{SS} \dECL@REdBLfONTsYMBOL{S}}
+\DeclareOption{TT}{\dECL@REdBLfONTsYMBOL{T}}
+\DeclareOption{UU}{\dECL@REdBLfONTsYMBOL{U}}
+\DeclareOption{VV}{\dECL@REdBLfONTsYMBOL{V}}
+\DeclareOption{WW}{\dECL@REdBLfONTsYMBOL{W}}
+\DeclareOption{XX}{\dECL@REdBLfONTsYMBOL{X}}
+\DeclareOption{YY}{\dECL@REdBLfONTsYMBOL{Y}}
+\DeclareOption{ZZ}{\dECL@REdBLfONTsYMBOL{Z}}
+% \end{macrocode}
+%
+% A further option is for Raviart-Thomas spaces: it declares the
+% command ``|\RT|" which generates the two letters |RT| in |DblFont|
+% \begin{macrocode}
+%
+\DeclareOption{RT}{\DeclareDblFontSymbol{RT}}
+% \end{macrocode}
+%
+% Finally, the user option are parsed, thereby defining the
+% corresponding commands.
+% \begin{macrocode}
+%
+\ProcessOptions
+% \end{macrocode}
+%
+%\iffalse % MetaComment
+%<*package>
+%\fi
+%
+% \CheckSum{154}
+% \Finale
+%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/bosisio/graphfig.drv b/Master/texmf-dist/source/latex/bosisio/graphfig.drv
new file mode 100644
index 00000000000..e6bc491bc31
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/graphfig.drv
@@ -0,0 +1,55 @@
+%%
+%% This is file `graphfig.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% graphfig.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 graphfig.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file graphfig.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{graphfig}
+\documentclass[12pt,a4paper]{article}
+\usepackage{doc}
+ \EnableCrossrefs
+ \CodelineIndex
+ \RecordChanges
+ %\OnlyDescription % Uncomment not to see the implementation
+\begin{document}
+ \DocInput{\FileName.dtx}
+ \PrintIndex
+ \PrintChanges
+\end{document}
+\endinput
+%%
+%% End of file `graphfig.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/graphfig.dtx b/Master/texmf-dist/source/latex/bosisio/graphfig.dtx
new file mode 100644
index 00000000000..1c0a9836974
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/graphfig.dtx
@@ -0,0 +1,478 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{graphfig}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.0}
+\def\filedate{1997/15/12}
+\def\docdate{1997/15/12}
+\def\filedescr{Commands to include graphics files (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% This section is the documentation driver
+%
+%<+driver>\documentclass[12pt,a4paper]{article}
+%<+driver>\usepackage{doc}
+%<+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}{21 April 1997}{First release}
+% \changes{v0.2}{5 July 1997}{Added the ``\texttt{clip}'' option to ``\texttt{psfig}''}
+% \changes{v0.3}{29 August 1997}{Modified the ``\texttt{@PS@Figure}" command}
+% \changes{v1.0}{8 September 1997}{Documentation added}
+% \changes{v1.1}{19 November 1997}{Improved the ``SubFigure'' command}
+% \changes{v1.2}{11 December 1997}{Fixed a bug in ``SubFigure'' references}
+% \changes{v1.3}{12 December 1997}{Standard ``graphics'' package instead of ``psfig''}
+%\iffalse % MetaComment
+% The previous change has been suggested by Sebastian Rahtz (spqr@ftp.tex.ac.uk)
+%\fi
+% \changes{v2.0}{15 December 1997}{``graphfile'' instead of ``PSFigure/SubFigure''}
+% \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses}
+%
+% \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}}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% Documentation for the package \texttt{\FileName}.
+% \end{abstract}
+%
+% \section{Introduction}
+% This package provides some commands to make the use of graphic
+% files in \LaTeX{} simpler.
+%
+% \noindent
+% It declares the ``|Figure|" environment (capitalized!) and
+% the two commands ``|\graphfile|" and ``|\graphfile*|".
+% Combining this commands, it it possible to include graphic
+% files in a \LaTeX{} document very simply.
+%
+% \section{Required packages}
+% This package uses the ``|\includegraphics*|" command defined in the
+% standard |graphics| package.
+% Moreover, it uses the package |subfigure| when the |subfigure|
+% option is specified, and the |float| package if the |AllowH|
+% option is used.
+%
+% \section{The options}
+% At now, two options are available: ``|subfigure|" and ``|AllowH|".
+%
+% \noindent
+% The ``|subfigure|" option allow the use of sub-figures
+% inside a |Figure| environment, in order to place multiple
+% pictures in a single \LaTeX{} figure (cfr. the |subfigure|
+% standard package).
+%
+% \noindent
+% The ``|AllowH|" option allow the use of the ``|H|" float specifier
+% for the |Figure| environment, in order to place the figure exaclty
+% where the command is placed (cfr. the |float| standard package).
+%
+% \section{The \texttt{Figure} environment and its relatives}
+% The ``|Figure|" environment (capitalized!) is somewhat different
+% from the standard \LaTeX{} ``|figure|" environment: besides an
+% optional argument used to specify the placement parameters (which
+% now defaults to ``|[htbp]|"), it has a mandatory agrument specifying
+% the ``caption" and another optional argument, used as a ``label" for
+% cross-referencies:
+%
+% \begin{verbatim}
+% \begin{Figure}[<htbpH>]{<caption>}[<label>]
+% ...
+% \end{Figure}
+% \end{verbatim}
+%
+% \noindent
+% The use of the ``|H|" specifier (i.e. ``I want my float here!") is
+% possible only if the ``|AllowH|" option has been specified.
+%
+% \subsection{The \texttt{graphfile} command}
+% Inside the ``|Figure|" environment, are available the commands:
+%
+% \begin{verbatim}
+% \graphfile[<width>]{<file>}[<sub-caption>]
+% \graphfile*[<heigth>]{<file>}[<sub-caption>]
+% \end{verbatim}
+%
+% \noindent
+% which are a simplified version of the ``|\includegraphics*|"
+% command (which is automatically included by this package; see the
+% |graphics| package for reference), since you don't have to worry
+% about scaling: the mandatory argument is the name of the graphic file to
+% include, whereas the first optional argument specifies the desired
+% width (in the non *-form) or heigth (in the *-form) of the figure as
+% a fraction of ``|\linewidth|" (e.g. ``|50|" means ``|.50\linewidth|",
+% i.e. half a line! ), so no unit of measure (as ``|cm|" or ``|pt|")
+% is required.
+% Moreover, since the ``*-form" of ``|\includegraphics|" is used, the
+% regions outside the bounding-box are not drawn.
+% Another advantage of the combined use of the ``|Figure|" environment
+% and the ``|\graphfile|" commands is that the picture is automatically
+% centered horizontally, so no ``|\centering|" or similar declartion
+% is required.
+%
+% \begin{verbatim}
+% \begin{Figure}[<htbpH>]{<caption>}[<label>]
+% \graphfile[<width>]{<file>}
+% \end{Figure}
+% \end{verbatim}
+%
+% \subsection{Sub-figures}
+%
+% If you want to include more than one file in a single figure,
+% you need to specify the ``|subfigure|" option, which includes the
+% |subfigure| package and provides the authomatic placement of a
+% sub-caption below each picture.
+%
+% \begin{verbatim}
+% \graphfile[<width_1>]{<file_1>}[<sub-caption_1>]
+% ...
+% \graphfile[<width_N>]{<file_N>}[<sub-caption_N>]
+% \end{verbatim}
+%
+% \noindent
+% which is a combined version of ``|\subfigure|" and ``|\includegraphics*|"
+% (see the |subfigure| and |graphics| packages for reference):
+% the last optional argument specify a ``caption" for the sub-figure under
+% consideration, while the first two arguments work exactly like as
+% described above in the case of one only picture (indeed, you can
+% use the last optional argument even if the |subfigure| option was
+% not specified, in which case it is simply ignored).
+% Each individual caption is printed preceded by a bracketed letter,
+% which is the sub-figure counter and is printed even if no caption is
+% specified.
+% Using only a series of ``|\graphfile[|$\dots$|]{|$\dots$|}[|$\dots$|]|"
+% commands inside a ``|Figure|" environment provides an equal spacing
+% beetween the pictures and around them, without the need for any
+% extra command.
+% Finally, if a ``|<label>|" was specified as the last optional argument
+% to the ``|Figure|" environment, you can reference to each individual
+% sub-figure by the labels ``|<label>:a|", ``|<label>:b|", and so on,
+% without the need for declaring them.
+%
+% \begin{verbatim}
+% \begin{Figure}[<htbpH>]{<caption>}[<label>]
+% \graphfile[<width_1>]{<file_1>}[<sub-caption_1>]
+% \graphfile[<width_2>]{<file_2>}[<sub-caption_2>]
+% :
+% :
+% \end{Figure}
+% \end{verbatim}
+%
+% \subsection{The \texttt{FigureDefaultPlacement} command}
+%
+% The command ``|FigureDefaultPlacement{|$\dots$|}|'' can be used to
+% specify the default value for the placement argument of the ``|Figure|''
+% environment.
+% This is useful to change the default placement from the standard
+% value ``htbp''.
+%
+% \StopEventually{}
+% \newpage
+% \section{Implementation}
+% We start defining the options and including the required packages.
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+\RequirePackage{graphics}
+%%
+\newif\if@AllowSubFigure\@AllowSubFigurefalse
+\newif\if@AllowHfloat\@AllowHfloatfalse
+%%
+\DeclareOption{subfigure}{\@AllowSubFiguretrue}
+\DeclareOption{AllowH}{\@AllowHfloattrue}
+%%
+\ProcessOptions
+%%
+\if@AllowSubFigure
+ \RequirePackage{subfigure}[1995/03/06 v2.0]
+% \end{macrocode}
+%
+% These redefinitions are needed in order to obtain the right form
+% of the references (i.e. like ``Fig. 1a" and not ``Fig. 1(a)")
+% \begin{macrocode}
+ \def\thesubfigure{\alph{subfigure}}
+% \end{macrocode}
+%
+% We use ``|\renewcommand|" instead of ``|\def|" in order to realize
+% possible changes in the |subfigure| package which may eliminate the
+% inner command ``|\@thesubfigure|".
+% \begin{macrocode}
+ \renewcommand*\@thesubfigure{{\subcaplabelfont(\thesubfigure)}\space}
+ \let\SubGR@PH=\subfigure
+\else
+% \end{macrocode}
+%
+% If the ``subfigure" option is not present, we let the internal
+% command ``|\SubGR@PH|'' to simply execute its mandatory argument
+% \begin{macrocode}
+ \newcommand*\SubGR@PH[2][]{#2}
+\fi
+\if@AllowHfloat
+ \RequirePackage{float}[1995/03/29 v1.2c]
+ \restylefloat{figure}
+\fi
+%%
+\newif\if@FirstPicture\@FirstPicturetrue
+\let\SubFig@Label=\relax
+% \end{macrocode}
+%
+% \begin{macro}{\@Graph@Figure}
+% This is the core command which includes and scales the graphic file
+% using the commands provided by the |graphic| package.
+% \begin{macrocode}
+%%
+\newcommand*\@Graph@Figure[3]{\resizebox{#1}{#2}{\includegraphics*{#3}}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\graphfile}
+% The command ``|\graphfile"| and its *-version simply calls one
+% of the forthcoming commands.
+% \begin{macrocode}
+\newcommand*\graphfile{\@ifnextchar*{\graphfile@star}{%
+\@ifnextchar[{\GraphFile@width}{\GraphFile@noSize}}%
+}
+\def\graphfile@star*{\@ifnextchar[{\GraphFile@heigth}{\GraphFile@noSize}}
+% \end{macrocode}
+% These commands, in turns, calls ``|\@GraphFile@Draw|" with suitable
+% arguments (i.e. the lengths are turned into fractions of ``|\linewidth|"
+% and an exclamation mark ``|!|" is used where the scaling factor has
+% to be the same as the other direction; furthermore the actual size
+% of the graphic image is used [throught the ``|\width|" command] if
+% no scaling parameter is given).
+% \begin{macrocode}
+%%
+\def\GraphFile@width[#1]{%
+\@ifnextchar[{\@GraphFile@width@heigth{#1}}{\@GraphFile@widthNOheigth{#1}}%
+}
+\def\@GraphFile@width@heigth#1[#2]#3{%
+\@ifnextchar[{\@GraphFile@Draw{.#1\linewidth}{.#2\linewidth}{#3}}{%
+\@GraphFile@Draw{.#1\linewidth}{.#2\linewidth}{#3}[]}%
+}
+\def\@GraphFile@widthNOheigth#1#2{%
+\@ifnextchar[{\@GraphFile@Draw{.#1\linewidth}{!}{#2}}{%
+\@GraphFile@Draw{.#1\linewidth}{!}{#2}[]}%
+}
+\def\GraphFile@heigth[#1]#2{%
+\@ifnextchar[{\@GraphFile@Draw{!}{.#1\linewidth}{#2}}{%
+\@GraphFile@Draw{!}{.#1\linewidth}{#2}[]}%
+}
+\newcommand*\GraphFile@noSize[1]{%
+\@ifnextchar[{\@GraphFile@Draw{\expandafter\width}{!}{#1}}{%
+\@GraphFile@Draw{\expandafter\width}{!}{#1}[]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@GraphFile@Draw}
+% This command has three mandatory arguments and an optional one,
+% which represent, respectively, the width, heigth, file-name and
+% sub-caption of the current picture.
+% \begin{macrocode}
+%%
+\def\@GraphFile@Draw#1#2#3[#4]{%
+\if@FirstPicture%
+% \end{macrocode}
+% If it is the first call to this command in the current |Figure|
+% environment, we simply store it in ``|\TMP@Graph|".
+% We also set ``|@FirstPicture|" to false for the next call.
+% \begin{macrocode}
+ \@FirstPicturefalse%
+ \def\TMP@Graph{\SubGR@PH[#4\SubFig@Label]{\@Graph@Figure{#1}{#2}{#3}}}%
+\else%
+ \ifx\TMP@Graph\undefined%
+% \end{macrocode}
+% If ``|\TMP@Graph|" is not defined, this is the third call (or more).
+% So we invoke the ``|\SubGR@PH|" command (which may be ``|\subfigure|"
+% or simply its second argument depending on the options) with a
+% ``|\@Graph@Figure|" command inside and followed by an ``|\hfill|"
+% command for centering purposes.
+% \begin{macrocode}
+ \SubGR@PH[#4\SubFig@Label]{\@Graph@Figure{#1}{#2}{#3}}\hspace*{\fill}%
+ \else%
+% \end{macrocode}
+% If we arrive at this point it is the second call to ``|\graphfile|"
+% inside the current |Figure| environment: before plotting the
+% current figure (as above) we must call ``|\TMP@Graph|" to plot
+% the first one (which was only saved).
+% We also undefine ``|\TMP@Graph|" for the next time.
+% \begin{macrocode}
+ \hspace*{-4pt}\TMP@Graph\hspace*{\fill}%
+ \let\TMP@Graph\undefined%
+ \SubGR@PH[#4\SubFig@Label]{\@Graph@Figure{#1}{#2}{#3}}\hspace*{\fill}%
+ \fi%
+\fi%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\FigureDefaultPlacement}
+% The ``|\FigureDefaultPlacement|" macro is defined to set the value of
+% the ``|\Default@FigurePlacement|'' to its argument.
+% Also ``|\Default@FigurePlacement|" is initialized to ``|htbp|".
+% \begin{macrocode}
+%%
+\newcommand*\FigureDefaultPlacement[1]{\def\Default@FigurePlacement{#1}}
+\def\Default@FigurePlacement{htbp}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{Figure}
+% \begin{macrocode}
+%%
+\newenvironment{Figure}[2][\Default@FigurePlacement]{%
+% \end{macrocode}
+% The code for ``|\begin{Figure}|" starts by setting ``|@FirstPicture|"
+% to true.
+% \begin{macrocode}
+\@FirstPicturetrue%
+% \end{macrocode}
+% Then we start a standard ``|figure|" environment followed by an
+% ``|\hfill|" command (for centering purposes).
+% \begin{macrocode}
+\figure[#1]%
+\hspace*{\fill}%
+% \end{macrocode}
+% We change the definition of ``|\\|" so that an ``|\hfill|" command
+% is added at the beginning of next line.
+% \begin{macrocode}
+\let\@Figure@CR=\\%
+\def\\{\par\hspace*{\fill}}%
+% \end{macrocode}
+% If there is the last optional argument, ``|\@Figure@quadra|" is
+% invoked, otherwise ``|\MK@Figure@Caption|" is directly defined
+% to print the specified caption.
+% \begin{macrocode}
+\@ifnextchar[{\@Figure@quadra{#2}}{\def\MK@Figure@Caption{\caption{#2}}}%
+}{%
+% \end{macrocode}
+% The code for ``|\end{Figure}|" starts by checking that ``|\TMP@Graph|"
+% is undefined, otherwise this means that there was one only picture:
+% in such a case we have to print it out before continuing.
+% \begin{macrocode}
+\ifx\TMP@Graph\undefined\else%
+ \if@AllowSubFigure%
+ \renewcommand*\SubGR@PH[2][]{##2}%
+ \TMP@Graph\hspace*{\fill}%
+ \let\SubGR@PH=\subfigure%
+ \else%
+ \TMP@Graph\hspace*{\fill}%
+ \fi%
+ \global\let\TMP@Graph\undefined%
+\fi%
+% \end{macrocode}
+% The ``|\MK@Figure@Caption|" prints the previously saved caption.
+% \begin{macrocode}
+\MK@Figure@Caption%
+% \end{macrocode}
+% All local commands are undefined in order to save \TeX{} memory.
+% \begin{macrocode}
+\let\Mk@Figure@Caption\undefined%
+\let\SubFig@Label=\relax%
+\let\\=\@Figure@CR%
+\let\@Figure@CR\undefined%
+% \end{macrocode}
+% The standard ``|figure|" environment is closed.
+% \begin{macrocode}
+\endfigure%
+% \end{macrocode}
+% The command ``|\thesubfigure|" is redefined so that it correctly
+% prints the figure number, too.
+% \begin{macrocode}
+\def\thesubfigure{\thefigure\alph{subfigure}}%
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{macro}{\@Figure@quadra}
+% The ``|\MK@Figure@Caption|" is defined to print the specified
+% caption with an added label.
+% Also ``|\SubFig@Label|" generates a label in the form ``|<label>:a|".
+% \begin{macrocode}
+%%
+\def\@Figure@quadra#1[#2]{%
+\def\MK@Figure@Caption{\caption{#1}\label{#2}}%
+\def\SubFig@Label{\expandafter\label{#2:\expandafter\alph{subfigure}}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%\iffalse % MetaComment
+%<*package>
+%\fi
+%
+% \CheckSum{181}
+% \Finale
+%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/bosisio/mathcmd.drv b/Master/texmf-dist/source/latex/bosisio/mathcmd.drv
new file mode 100644
index 00000000000..e6e23a250b3
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/mathcmd.drv
@@ -0,0 +1,54 @@
+%%
+%% This is file `mathcmd.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mathcmd.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 mathcmd.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file mathcmd.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{mathcmd}
+\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 `mathcmd.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx b/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx
new file mode 100644
index 00000000000..54588786644
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx
@@ -0,0 +1,403 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{mathcmd}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.0}
+\def\filedate{1997/12/20}
+\def\docdate{1997/12/20}
+\def\filedescr{Extensions to math environments (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% 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}{3 May 1997}{Added package options}
+% \changes{v1.0}{24 May 1997}{Documentation added}
+% \changes{v2.0}{20 December 1997}{Separated from package ``mathenv''}
+% \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses}
+%
+% \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}}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% Documentation for the package \texttt{\FileName}.
+% \end{abstract}
+%
+% \section{Introduction}
+% This package provides some useful math-commands which are simpler
+% to use and prettier then their standard \LaTeX{} counterpart.
+%
+% In particular the ``|\d|" command is redefined, so
+% care should be taken, expecially when including this package in an
+% already existent \LaTeX{} file.
+%
+% \noindent
+% The original work of ``|\d|" (i.e. place a dot under its argument)
+% is now done by the ``|\UnderDot|" command.
+%
+% \section{The options}
+% At now, six options are available with the \texttt{\FileName}
+% package, which comes out in matched pairs.
+%
+% \noindent
+% The ``|ThreeSubscrSum|" and ``|TwoSubscrSum|" options control the
+% placement of subscripts for the ``|\Sum|" command: the latter
+% (which is the default) puts the index under the simbol toghether
+% with the starting point, while the former puts the index on the
+% lower right corner.
+%
+% \noindent
+% The ``|ProdVettWedge|" and ``|ProdVettTimes|" options select
+% which symbol is to be used for the \emph{vector product}: the first
+% one uses a ``|\wedge|" (default), whilst the second uses a
+% ``|\times|".
+%
+% \noindent
+% Finally, the ``|VectOpStr|" and ``|VectOpSymb|" options controls
+% whether the vector-operator commands ``|\Grad|", ``|\Div|" and
+% ``|\Rot|" should produce a roman string (default) or a
+% ``|\nabla|" symbol followed by an operator, respectively.
+%
+% \section{Math-mode commands}
+% The \texttt{\FileName} package defines a number of math-mode
+% commands.
+%
+% \subsection{The \texttt{text} command}
+% The ``|\text{|\ldots|}|" command is defined to be
+% equivalent to ``|\mbox|" (except when the ``|amstext|"
+% package is also used, since this package already defines
+% this command in a better way).
+%
+% \noindent
+% It is intended for inserting pieces of text in a formula.
+%
+% \subsection{Commands for doing integrals}
+% The ``|\Int|" (capitalized) differs from the \LaTeX{}
+% command ``|\int|" in that it is always printed in
+% |displaystyle| and if it has only a subscript, this is
+% somewhat lowered so that it looks better.
+% \begin{verbatim}
+% \Int_{...}^{...} ... \d{...}
+% \end{verbatim}
+%
+% The ``|\d{|\ldots|}|" command is for making the
+% differential symbol at the end of integrals: it simply
+% prints a ``|d|" followed by its argument and preceded by
+% a little space, which seems prettier.
+%
+% \subsection{Commands for making sums}
+% The ``|\Sum{|$\cdots=\cdots,\cdots$|}|" command works
+% differently, depending on which option between
+% ``|TwoSubscrSum|" (default) and ``|ThreeSubscrSum|" has
+% been specified.
+%
+% \noindent
+% In the first case, it expands to
+% ``|\displaystyle\sum_{...=...}^{...}|", whereas in the
+% second case the second and third argument are treated
+% in the same way as before (i.e. as a subscript and
+% superscript, respectively), but the first argument
+% (the one before the ``=") is placed near
+% the lower-left edge of the ``|\sum|" symbol and the ``="
+% is not printed.
+%
+% There is also a ``|\SUM{|\ldots|}|" command which is useful
+% when only a subscript is desired, irrespectively of the
+% option specified: in fact, is is equivalent to
+% ``|\displaystyle\sum_{|\ldots|}|".
+%
+% \subsection{Derivatives symbols}
+% The commands ``|\DerTot{|\ldots|}{|\ldots|}|",
+% ``|\DerPar{|\ldots|}{|\ldots|}|" and ``|\DerNorm{|\ldots|}|"
+% generate the symbols of total derivative, partial derivative
+% and normal derivative, respectively.
+%
+% \noindent
+% In other words, they are the same as:
+% \begin{verbatim}
+% \displaystyle\frac{d...}{d...}
+% \displaystyle\frac{\partial ...}{\partial ...}
+% \displaystyle\frac{\partial ...}{\partial n}
+% \end{verbatim}
+%
+% \subsection{Arrow-limits commands}
+% The command ``|\TendsTo|[$\cdots,\cdots$]" generates a
+% right-arrow with optionally an underscript wich is another
+% smaller right-arrow between the two comma-separeted
+% arguments inside the square brackets.
+%
+% \noindent
+% For example, the command ``|f(x) \TendsTo[x,0] 1|" generates
+% the following output:
+% $f(x) \mathop{\longrightarrow}\limits_{x \rightarrow 0} 1$.
+%
+% \subsection{Vector-operators commands}
+% Finally, the commands ``|\Grad|", ``|\Div|" and
+% ``|\Rot|" generates the strings ``grad", ``div" and ``rot"
+% in roman type and with small spaces added before and after,
+% if the ``VectOpStr" option is in effect (default).
+% If, instead, the option ``VectOpSymb" was specified, they
+% generate ``|\nabla|", ``|\nabla\cdot|" and
+% ``|\nabla\ProdVett|" respectively.
+%
+% The command ``|\ProdVett|" is intended for making the
+% symbol of vector product, and evaluates to ``|\times|"
+% with the option ``ProdVettTimes" and to ``|\wedge|" with
+% the (default) option ``ProdVettWedge".
+%
+% \begin{tabular}{lcccc}
+% & & |VectOpStr| & \multicolumn{2}{c}{|VectOpSymb|} \\
+% & & &|ProdVettWedge|&|ProdVettTimes|\\
+% |\Grad|& $\Rightarrow$ & $\mathrm{grad}$& $\nabla$ & $\nabla$ \\
+% |\Div| & $\Rightarrow$ & $\mathrm{div}$& $\nabla\cdot$ & $\nabla\cdot$ \\
+% |\Rot| & $\Rightarrow$ & $\mathrm{rot}$& $\nabla\wedge$& $\nabla\times$
+% \end{tabular}
+%
+%
+% \StopEventually{}
+% \newpage
+% \section{Implementation}
+%
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+%%
+\newif\if@ThreeSubscrSum
+\DeclareOption{ThreeSubscrSum}{\@ThreeSubscrSumtrue}
+\DeclareOption{TwoSubscrSum}{\@ThreeSubscrSumfalse}
+%%
+\DeclareOption{ProdVettWedge}{\let\ProdVett=\wedge}
+\DeclareOption{ProdVettTimes}{\let\ProdVett=\times}
+%%
+\newif\if@VectOper@Symbol
+\DeclareOption{VectOpStr}{\@VectOper@Symbolfalse}
+\DeclareOption{VectOpSymb}{\@VectOper@Symboltrue}
+%%
+\ExecuteOptions{TwoSubscrSum,ProdVettWedge,VectOpStr}
+% \end{macrocode}
+%
+% The ``|\ProcessOptions*|" command was used here instead of
+% ``|\ProcessOptions*|" in order to process the options in the
+% ``|\usepackage|" order, rather than in the declaration order
+% \begin{macrocode}
+%%
+\ProcessOptions*
+% \end{macrocode}
+%
+% \begin{macro}{\text}
+% The definition of |\text| is deferred at the |\begin{document}|,
+% so that if the \texttt{amstext} package is loaded (even after this
+% package), its definition of text will be used, since it seems
+% better.
+% \begin{macrocode}
+%%
+\AtBeginDocument{\ifx\undefined\text \def\text#1{\ \mbox{#1}\ } \fi}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Int}
+% The command |\@INT@sub@SUP| has one argument and then a mandatory
+% superscript: il typesets an integral symbol (in |\displaystyle|)
+% with the argument as a lower-bound and the superscript as an
+% upper-bound.
+% \begin{macrocode}
+%%
+\def\@INT@sub@SUP#1^#2{{\displaystyle\int_{#1}^{#2}}}
+% \end{macrocode}
+% The command |\@INT@subONLY| has only an argument, which is used as
+% as a subscript for a |displaystyle| |\int|, but lowered of |0.2ex|.
+% \begin{macrocode}
+\def\@INT@subONLY#1{{\displaystyle\int_{\raisebox{-0.2ex}{$_{#1}$}}}}
+% \end{macrocode}
+% The command |\@INT@sub| must have a subscript and may optionally be
+% followed by a superscript.
+% \begin{macrocode}
+\def\@INT@sub_#1{\@ifnextchar^{\@INT@sub@SUP{#1}}{\@INT@subONLY{#1}}}
+% \end{macrocode}
+% The command |\@INT@SUP@sub| must have a superscript and a subscript,
+% in that order: they are passed to a |displaystyle| |\int| command.
+% \begin{macrocode}
+\def\@INT@SUP@sub^#1_#2{{\displaystyle\int_{#2}^{#1}}}
+% \end{macrocode}
+% The |\Int| command invokes |\@INT@SUP@sub| or |\@INT@sub| or simply
+% expands to |\displaystyle\int| depending on what follows (|^|, |_|
+% or neither of them).
+% \begin{macrocode}
+\newcommand{\Int}{\@ifnextchar^{\@INT@SUP@sub}{\@ifnextchar_{\@INT@sub}{\displaystyle\int}}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\d}
+% The original |\d| command is saved in |\UnderDot|, then (at the
+% |\begin{document}| to avoid conflicts with other packages) it is
+% redefined as a ``|d|" preceeded by some space an followed by its
+% argument (it is intended for printing the differential symbol at
+% the end of an integral).
+% \begin{macrocode}
+%%
+\AtBeginDocument{ \let\UnderDot=\d \renewcommand{\d}[1]{\:\:d#1} }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Sum}
+% The command |\INNER@SUM| is defined differently depending on the
+% selected option. It has 3 or 2 orguments, ended by an exclamation
+% mark and separated by an equal sign and a comma.
+% The two last arguments are passed as a subscrit and as a superscript
+% to a |displaystyle| |\sum|, whereas the first argument (if they are
+% 3) is typeset in |scriptstyle| and lowered so that it occours at the
+% lower right corner of the |sum| symbol.
+% \begin{macrocode}
+%%
+\if@ThreeSubscrSum
+ \def\INNER@SUM#1=#2,#3!{{\displaystyle\sum_{#2}^{#3}\raisebox{-0.6ex}{$_{\!#1}$}}}
+\else
+ \def\INNER@SUM#1,#2!{{\displaystyle\sum_{#1}^{#2}}}
+\fi
+% \end{macrocode}
+% The |\Sum| command is then simply a call to |\INNER@SUM|, with a
+% question mark added to denote the end of the argument.
+% \begin{macrocode}
+\newcommand{\Sum}[1]{\INNER@SUM#1!}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SUM}
+% The |\SUM| command has one only argument which is used as a
+% subscript and, again, is always printed in |\displaystyle|.
+% \begin{macrocode}
+\newcommand{\SUM}[1]{{\displaystyle\sum_{#1}}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\DerPar}
+% The commands ``|\DerPar|", ``|\DerTot|" and ``|\DerNorm|" generate a
+% |displaystyle| |\frac| command, with a ``|\partial|" or ``|d|" or
+% ``|\partial n|" added to its arguments and followed by a little space.
+% \begin{macrocode}
+%%
+\newcommand\DerPar[2]{{\displaystyle\frac{\partial #1}{\partial #2}\:}}
+\newcommand\DerTot[2]{{\displaystyle\frac{d#1}{d#2}\:}}
+\newcommand\DerNorm[1]{{\displaystyle\frac{\partial #1}{\partial n}\:}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\TendsTo}
+% The command |\@TendeQuando| must be followed by a pair of square
+% brackets, which enclose two arguments separated by a comma.
+% It place a |\rightarrow| command between them and puts the whole
+% under a bigger |\rightarrow|.
+% The |\mathop| allows the |\limits| command, which, in turn, place
+% the subscript \emph{under} the symbol.
+% \begin{macrocode}
+%%
+\def\@TendeQuando[#1,#2]{ \mathop{\longrightarrow}\limits_{#1 \rightarrow #2} }
+% \end{macrocode}
+% The |\TendsTo| command invokes |\@TendeQuando| if followed by
+% a ``['', or |\longrightarrow| otherwise.
+% \begin{macrocode}
+\def\TendsTo{\@ifnextchar[{\@TendeQuando}{\longrightarrow}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Grad}
+% The |\Grad|, |\Div| and |\Rot| commands generates a symbol or a
+% roman word, depending on the selected option.
+% \begin{macrocode}
+%%
+\if@VectOper@Symbol
+ \newcommand\Grad{\nabla}
+ \newcommand\Div{\nabla\cdot}
+ \newcommand\Rot{\nabla\ProdVett}
+\else
+ \newcommand\Grad{\:\mathrm{grad}\,}
+ \newcommand\Div{\:\mathrm{div}\,}
+ \newcommand\Rot{\:\mathrm{rot}\,}
+\fi
+% \end{macrocode}
+% \end{macro}
+%
+%\iffalse % MetaComment
+%<*package>
+%\fi
+%
+% \CheckSum{154}
+% \Finale
+%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/bosisio/mathenv.drv b/Master/texmf-dist/source/latex/bosisio/mathenv.drv
new file mode 100644
index 00000000000..23bba643bbc
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/mathenv.drv
@@ -0,0 +1,54 @@
+%%
+%% This is file `mathenv.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mathenv.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 mathenv.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file mathenv.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{mathenv}
+\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 `mathenv.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/mathenv.dtx b/Master/texmf-dist/source/latex/bosisio/mathenv.dtx
new file mode 100644
index 00000000000..6f75938148d
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/mathenv.dtx
@@ -0,0 +1,953 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{mathenv}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.2}
+\def\filedate{1998/02/04}
+\def\docdate{1998/02/06}
+\def\filedescr{Extended math environments (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% 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}
+%
+% \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}}
+% \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{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{<label>:a}|,
+% |\ref{<label>:b}|, \dots, where |<label>|, stands for
+% the string used as optional argument.
+% In the case of the *-form, a reference of the kind
+% |\ref{<label>}| will print the equation number without
+% any letter, thus referring to the system as a whole,
+% whereas such a reference is meaningless (and indeed does
+% not exists) when dealing with the non *-form.
+%
+%
+% \section{Math-mode commands}
+% In addition to the previously mentioned environments, the
+% \texttt{\FileName} package defines also some of math-mode
+% commands which considerably simplify the use of adjustable-size
+% parentheses.
+%
+% \noindent
+% The ``|\(|", ``|\[|", ``|\{|", ``|\)|", ``|\]|"
+% and ``|\}|" generates the corresponding parenthesis but
+% with a ``|\left|" or ``|\right|" declaration
+% (respectively) added, so they must come in matched pairs or
+% coupled with a ``|\left.|" or ``|\rigtht.|" or another
+% adjustable-size delimiter.
+%
+% \StopEventually{}
+% \newpage
+% \section{Implementation}
+%
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+%%
+\newif\if@Redefine@Equation@
+\DeclareOption{RedefEquation}{\@Redefine@Equation@true}
+\DeclareOption{StdEquation}{\@Redefine@Equation@false}
+%%
+\newif\if@Redefine@Brackets@
+\DeclareOption{RedefBrackets}{\@Redefine@Brackets@true}
+\DeclareOption{StdBrackets}{\@Redefine@Brackets@false}
+%%
+\DeclareOption{Standard}{\@Redefine@Equation@false\@Redefine@Brackets@false}
+%%
+\ExecuteOptions{RedefEquation,RedefBrackets}
+% \end{macrocode}
+%
+% The ``|\ProcessOptions*|" command was used here instead of
+% ``|\ProcessOptions*|" in order to process the options in the
+% ``|\usepackage|" order, rather than in the declaration order
+% \begin{macrocode}
+%%
+\ProcessOptions*
+% \end{macrocode}
+%
+% \begin{macro}{\StartMath@Err}
+% The ``|\StartMath@Err|" prints an error message if used in math-mode
+% (saying that you can't use the command passed to it as an argument in
+% math-mode); otherwise it just entres math-mode through a |$$|.
+% It is used by the *-form of the math-environments to prevent
+% their use in math-mode.
+% \begin{macrocode}
+%%
+\newcommand*\StartMath@Err[1]{%
+\ifmmode\PackageError{mathenv}{%
+You can't use environment "#1" in math mode}{%
+You probably used "\string\end{#1}" without a previous "\string\begin{#1}".}%
+\else$$\fi%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{Equation}
+% The definition of the original ``|equation|" environment is first saved
+% in the ``|\@StandardEquation|" command.
+% Then the ``|\@LabelledEquation|" command is defined as an |equation|
+% with a label.
+% The |Equation| command simply calls ``|\@LabelledEquation|" or
+% ``|\@StandardEquation|", depending on the presence or absence of the
+% optional argument (indicated by the square bracket).
+% \begin{macrocode}
+%%
+\AtBeginDocument{%
+\let\@StandardEquation=\equation
+}
+\def\@LabelledEquation[#1]{\@StandardEquation\label{#1}}
+\newenvironment{Equation}{%
+\@ifnextchar[{\@LabelledEquation}{\@StandardEquation}%
+}{%
+\endequation%
+}
+% \end{macrocode}
+%
+% If the ``|RedefEquation|" option is in effect, |equation| is defined
+% to be the same as |Equation|.
+% The actual definition of the |equation| environment is deferred at the
+% ``|\begin{document}|" in order to minimize the possibility of
+% conflicts with other packages.
+% \begin{macrocode}
+\if@Redefine@Equation@
+ \AtBeginDocument{\let\equation=\Equation}
+\fi
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{equation*}
+% The command ``|\Equation@Star|" simply enters math-mode (via the
+% ``|\StartMath@Err|" command).
+% The definition of ``|equation*|" is deferred at the
+% ``|\begin{document}|" so that this definition takes precedence over
+% the analogue one from the ``|amsmath|" package, if both are included.
+% The command ``|\global\@ignoretrue|" in the definition of
+% ``|\end{equation*}|" prevents spurious spaces at the beginning of next
+% line.
+% \begin{macrocode}
+%%
+\def\Equation@Star[#1]{\StartMath@Err{equation*}}
+\AtBeginDocument{%
+\@namedef{equation*}{\@ifnextchar[{\Equation@Star}{\Equation@Star[]}}%
+\@namedef{endequation*}{$$\global\@ignoretrue}%
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{macro}{\ARRAY@CR}
+% The original definition of ``|\@arraycr|" is saved in the command
+% ``|\@ArrayCR|".
+% Then ``|\ARRAY@CR|" is defined to do the same job of ``|\@arraycr|"
+% and add a ``|\displaystyle|" declation at the beginning of next row.
+% \begin{macrocode}
+%%
+\let\@ArrayCR=\@arraycr
+\def\@ArrayCR@quadra[#1]{\@ArrayCR[#1]\displaystyle}
+\def\@ArrayCR@star@quadra[#1]{%
+\@ArrayCR[#1]\displaystyle\mbox{\hspace{\SystemStarIndent}}%
+}
+\def\@ArrayCR@star*{%
+\@ifnextchar[{\@ArrayCR@star@quadra}{%
+\@ArrayCR\displaystyle\mbox{\hspace{\SystemStarIndent}}}}%
+\newcommand*{\ARRAY@CR}{\@ifnextchar*{\@ArrayCR@star}{%
+\@ifnextchar[{\@ArrayCR@quadra}{\@ArrayCR\displaystyle}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\MakeAmper@Active}
+% Makes ``\&" active (instead of a tab marker), giving
+% it the meaning specified by the argument.
+% \begin{macrocode}
+%%
+\newcommand*\MakeAmper@Active[1]{
+\global\def\@AMPERSAND{#1}%
+\begingroup%
+ \catcode`\~\active \lccode`\~`\&%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\&\endcsname~%
+ \gdef~{\@AMPERSAND}}%
+\endgroup%
+\global\catcode`\&\active%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\MakeAmper@Tab}
+% Restores ``\&" to its original meaning (a tab marker).
+% \begin{macrocode}
+%%
+\newcommand*\MakeAmper@Tab{\global\catcode`\&=4}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\OneShot@Amper}
+% Makes ``\&" active for one occurrence only: when encountered, the
+% code in the first argument is executed, then ``\&" is restored to
+% its original meaning, a tab marker is inserted, and finally the
+% code in the second argument is executed.
+% \begin{macrocode}
+%%
+\newcommand*\OneShot@Amper[2]{%
+\MakeAmper@Active{#1\expandafter\MakeAmper@Tab&#2}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\MultiLineIndent}
+% The length ``|\MultiLineIndent|" represents the amount of spece by
+% which each line but the first of a ``|MultiLine|" environment is
+% indented. It defaults to 1.7em, which is roughtly equal to the width
+% of a character followed by an equal sign (e.g.: ``|A = |" ).
+% \begin{macrocode}
+%%
+\newlength\MultiLineIndent
+\setlength{\MultiLineIndent}{1.7em}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\MultiLineStarIndent}
+% The length ``|\MultiLineStarIndent|" represents the amount of spece by
+% which each line following a ``|\\*|" in a ``|MultiLine|" environment is
+% indented. It defaults to 1em, which is roughtly equal to the width
+% of a an equal sign (e.g.: ``|=|" ).
+% \begin{macrocode}
+%%
+\newlength\MultiLineStarIndent
+\setlength\MultiLineStarIndent{1em}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@MultiLineCR}
+% The ``|\@MultiLineCR|" command does the original job of ``|\@arrycr|"
+% (saved in ``|\ArrayCR|") and then executes the ``|\ML@EveryRow|"
+% command.
+% In the *-form it also adds a space equal to ``|\MultiLineStarIndent|".
+% The splitting in subcommands is required in order to pass the optional
+% argument to ``|\@ArrayCR|" and not to the last executed command.
+% \begin{macrocode}
+%%
+\newcommand*\@MultiLineCR{%
+\@ifnextchar*{\MLineCR@star}{%
+\@ifnextchar[{\MLineCR@quadra}{\@ArrayCR\ML@EveryRow}}%
+}
+\def\MLineCR@star*{%
+\@ifnextchar[{\MLineCR@star@quadra}{%
+\@ArrayCR\ML@EveryRow\hspace{\MultiLineStarIndent}}%
+}
+\def\MLineCR@star@quadra[#1]{%
+\@ArrayCR[#1]%
+\ML@EveryRow%
+\hspace{\MultiLineStarIndent}%
+}
+\def\MLineCR@quadra[#1]{\@ArrayCR[#1]\ML@EveryRow}
+% \end{macrocode}
+%
+% The ``|MultiLine|" environment starts by setting ``|\ML@EveryRow|"
+% to be equivalent to ``|\@MultiLINEcr|", so that this command is
+% executed at the end of the first row.
+% It checks the |\catcode| of \& and redefines ``|\ML@EveryRow|"
+% accordingly: if \& is a tab marker (|\catcode|=4), an ampersand has
+% occurred in the first row, so that each row must begin itself with
+% an ampersand; otherwise (i.e. if the |\catcode| of \& is \emph{active})
+% no ampersand were found in the first row, so that each line must begin
+% with a space equal to ``|\MultiLineStarIndent|".
+% \begin{macrocode}
+\newcommand*\@MultiLINEcr{%
+\ifnum\catcode`\&=4%
+\global\def\ML@EveryRow{&\displaystyle\mbox{}}%
+\else%
+\MakeAmper@Tab%
+\global\def\ML@EveryRow{\displaystyle\mbox{\hspace{\MultiLineIndent}}}%
+\fi%
+\ML@EveryRow%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\CONTINUE}
+% The command ``|\CONTINUE|" is obsolete: you should use ``|\\*|" instead.
+% \begin{macrocode}
+%%
+\newcommand*{\CONTINUE}{%
+\PackageError{mathenv}{%
+Command "\string\CONTINUE" is obsolete: use ``\string\\*" instead}{%
+You'd better correct your input file as stated above,\MessageBreak%
+but if you press ENTER everything will work for the moment.}%
+\MLineCR@star*%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{MultiLine}
+% The internal commad ``|\Start@MultiLine|" is used by the ``|MultiLine|"
+% and ``|MultiLine*|" environments.
+% It makes \& add a ``|\displaystyle|" declaration.
+% It also changes the meaning of ``|\\|" to ``|\@MultiLineCR|", sets
+% ``|\ML@EveryRow|" to its default value ``|\@MultiLINEcr|" and then
+% starts an ``|array|" environment (we already are in math-mode
+% here) with one only column which is left aligned.
+% Finally, if there is an optional argument it is used as a ``|\label|"
+% or ignored, depending on the current meaning of ``|\@LABEL|" (which
+% is the same as ``|\label|" in the standard form and does nothing in
+% the *-form).
+% \begin{macrocode}
+%%
+\newcommand*\Start@MultiLine{%
+\@ifnextchar[{\Start@MultiLine@quadra}{\Start@MultiLine@no}%
+}
+%%
+\def\Start@MultiLine@quadra[#1]{\@LABEL{#1}\Start@MultiLine@no}
+%%
+\newcommand*\Start@MultiLine@no{%
+\OneShot@Amper{}{\displaystyle}%
+\let\@arraycr=\@MultiLineCR%
+\let\ML@EveryRow=\@MultiLINEcr%
+\begin{array}{l@{\hspace{0.3em}}l}%
+\displaystyle%
+}
+% \end{macrocode}
+%
+% The internal command ``|\Stop@MultiLine|" is used by the ``|MultiLine|"
+% and ``|MultiLine*|" environments.
+% It simply closes the ``|array|" environment anr restores ``|\@arrycr|"
+% to its original meaning.
+% \begin{macrocode}
+%%
+\newcommand*\Stop@MultiLine{%
+\end{array}%
+\let\@arraycr=\@ArrayCR%
+\MakeAmper@Tab% % For the case no "\\" is used
+}
+% \end{macrocode}
+%
+% The ``|MultiLine|" environment invokes ``|\Start@MultiLine|" and
+% ``|\Stop@MultiLine|" inside an ``|equation|" environment.
+% \begin{macrocode}
+%%
+\newenvironment{MultiLine}{%
+\let\@LABEL=\label%
+\@StandardEquation%
+\Start@MultiLine%
+}{%
+\Stop@MultiLine%
+\endequation%
+\global\@ignoretrue%
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{MultiLine*}
+% The ``|\MultiLine@Star|" command issues an error message if used inside
+% math mode, while when in text mode starts a ``|displaymath|" environment
+% (throught the ``|$$|" command) in which a ``|\Start@MultiLineEq|" command
+% is issued (so it is the same as ``|\Label@MultiLineEq|", but with
+% ``|\equation|" substituted by ``|$$|").
+% \begin{macrocode}
+%%
+\@namedef{MultiLine*}{\ifmmode\Not@MathErr{MultiLine*}\else$$\fi%
+\def\@LABEL##1{}%
+\Start@MultiLine%
+}
+\@namedef{endMultiLine*}{\Stop@MultiLine$$\global\@ignoretrue}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{System}
+% The ``|\@System@Def|" command is the kernel of the ``|System|" and
+% ``|System*|" environments.
+% It redefines ``|\@arraycr|" so that ``|\\|" not only ends the
+% line but also adds a ``|\displaystyle|" declaration.
+% Then it draws an adjustable-size left brace, which will be as big as
+% the system requires.
+% Finally, a two-column array environment with a ``|\qquad|" space
+% between the columns is started and a ``|\displaystyle|" declaration
+% is added to the first row.
+% \begin{macrocode}
+%%
+\newcommand*\@System@Def{%
+\let\@arraycr=\ARRAY@CR%
+\left\lbrace%
+\begin{array}{l@{\qquad}l@{}}%
+\displaystyle%
+}
+% \end{macrocode}
+% The ``|\Label@System|" commands opens an equation environment, issues
+% a ``|\label|" command for cross-referencing, and then calls the
+% command ``|\@System@Def|" defind above.
+% \begin{macrocode}
+\def\Label@System[#1]{\@StandardEquation\label{#1}\@System@Def}
+% \end{macrocode}
+% The ``|\begin{System}|" command does the same things, skipping the
+% ``|\label|" command if there isn't the optional parameter.
+% The ``|\end{System}|" command closes the array, puts an invisible
+% delimiter (``|\right.|") which pairs with the left brace of the
+% ``|\@System@Def|" command, restores ``|\@arraycr|" to its original
+% meaning, ends the equation, and prevents spurious spaces by issuing
+% the command ``|\global\@ignoretrue|".
+% \begin{macrocode}
+\newenvironment{System}{%
+\@ifnextchar[{\Label@System}{\@StandardEquation\@System@Def}%
+}{%
+\end{array}%
+\right.%
+\endequation%
+\let\@arraycr=\@ArrayCR%
+\global\@ignoretrue%
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{System*}
+% The ``|\System@Star|" command generates en error message when used in
+% math-mode, and calls ``|\@System@Def|" inside a ``|displaymath|"
+% environment (the ``|$$|") when used in text-mode.
+% \begin{macrocode}
+%%
+\def\System@Star[#1]{\StartMath@Err{System*}\@System@Def}
+% \end{macrocode}
+% The ``|System*|" environment is the same as ``|System|", but with
+% ``|\begin{equation}|$\ldots$|\end{equation}|" substituted by
+% ``|$$|\ldots|$$|".
+% \begin{macrocode}
+\@namedef{System*}{\@ifnextchar[{\System@Star}{\System@Star[]}}
+\@namedef{endSystem*}{\end{array}\right. $$\let\@arraycr=\@ArrayCR \global\@ignoretrue}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{EQNarray}
+% The |EQNarray| environment is only for backward compatibility:
+% use the |equationarry| environment from package |eqnarray| if
+% you need more control than an |eqnarray| environment allows.
+% \begin{macrocode}
+%%
+\newenvironment{EQNarray}{%
+\PackageError{mathenv}{Environment "EQNarray" is obsolete}{%
+Use the "equationarry" environment from the "eqnarray" package instead!}%
+\eqnarray%
+}{%
+\endeqnarray%
+}
+% \end{macrocode}
+% \end{environment}
+% \begin{macro}{\SystemColSep,\SystemBraceSep,\SystemStarIndent}
+% \begin{macrocode}
+%%
+\newlength\SystemColSep
+\setlength\SystemColSep{2em}
+%%
+\newlength\SystemBraceSep
+\setlength\SystemBraceSep{3pt}
+%%
+\newlength\SystemStarIndent
+\setlength\SystemStarIndent{2em}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{EqSystem}
+% \begin{macrocode}
+%%
+\newsavebox{\SysRow@Box}
+\newlength\ColOne@Width
+\newlength\ColTwo@Width
+\newlength\SysCol@TmpWidth
+%%
+\newcommand*\Start@EqSysRow{%
+\OneShot@Amper{%
+$\end{lrbox}%
+\settowidth\SysCol@TmpWidth{\usebox{\SysRow@Box}}%
+\ifnum\SysCol@TmpWidth>\ColOne@Width\global\setlength\ColOne@Width\SysCol@TmpWidth\fi%
+\usebox{\SysRow@Box}%
+}{%
+\begin{lrbox}{\SysRow@Box}$\displaystyle%
+}%
+\begin{lrbox}{\SysRow@Box}$\displaystyle%
+}
+%%
+\newcommand*\Stop@EqSysRow{%
+$\end{lrbox}%
+\settowidth\SysCol@TmpWidth{\usebox{\SysRow@Box}}%
+\ifnum\catcode`\&=4%
+\ifnum\SysCol@TmpWidth>\ColTwo@Width\global\setlength\ColTwo@Width\SysCol@TmpWidth\fi%
+\else%
+\MakeAmper@Tab%
+\ifnum\SysCol@TmpWidth>\ColOne@Width\global\setlength\ColOne@Width\SysCol@TmpWidth\fi%
+\fi%
+\usebox{\SysRow@Box}%
+}
+%%
+\def\@EqSystCR@star@quadra[#1]{%
+\Sys@@eqncr%
+\noalign{\penalty\@eqpen\vskip #1\relax}%
+\Start@EqSysRow%
+\mbox{\hspace{\SystemStarIndent}}%
+}
+%%
+\def\@EqSystCR@star*{%
+\global\@eqnswfalse%
+\@ifnextchar[{\@EqSystCR@star@quadra}{%
+\Sys@@eqncr\Start@EqSysRow\mbox{\hspace{\SystemStarIndent}}}%
+}
+%%
+\def\@EqSystCR@quadra[#1]{%
+\Sys@@eqncr%
+\noalign{\penalty\@eqpen\vskip #1\relax}%
+\Start@EqSysRow%
+}
+%%
+\newcommand*\EqSyst@CR{%
+\Stop@EqSysRow%
+\@ifnextchar*{\@EqSystCR@star}{%
+\@ifnextchar[{\@EqSystCR@quadra}{\Sys@@eqncr\Start@EqSysRow}}%
+}
+%%
+\let\Label@EqSystem=\relax
+%%
+\newcommand*\Sys@@eqncr{%
+\let\reserved@a\relax%
+\ifcase\@eqcnt\def\reserved@a{& &}% %% \@eqcnt = 0
+\or\def\reserved@a{&}% %% \@eqcnt = 1
+\else% %% \@eqcnt > 1
+\let\reserved@a\@empty%
+\PackageError{mathenv}{Too many columns in EqSystem environment}{%
+You can use at most one "&" in each row of an "EqSystem" environment.}%
+\fi%
+\reserved@a%
+\if@eqnsw\Label@EqSystem\@eqnnum\stepcounter{equation}\fi%
+\global\@eqnswtrue%
+\global\@eqcnt\z@%
+\cr%
+}
+%%
+\newenvironment{EqSystem}[1][\relax]{%
+\setcounter{EqSys@counter}{0}%
+\def\Label@EqSystem{#1}%
+\def\@tempa{\relax}%
+\ifx\Label@EqSystem\@tempa\else%
+\def\Label@EqSystem{\stepcounter{EqSys@counter}\label{#1:\alph{EqSys@counter}}}%
+\fi%
+\BEGIN@EqSystem%
+}{%
+\Stop@EqSysRow%
+%%%-------------------- \endEQNarr@y ----------------------%
+\Sys@@eqncr%
+\egroup%
+\global\advance\c@equation\m@ne%
+$$%
+%%%--------------------------------------------------------%
+\vspace*{-\belowdisplayskip}%
+\end{minipage}%
+\advance\ColTwo@Width\ColOne@Width%
+\advance\ColTwo@Width\SystemColSep%
+\setlength\SysCol@TmpWidth\displaywidth%
+\global\advance\SysCol@TmpWidth-\ColTwo@Width%
+\global\divide\SysCol@TmpWidth\tw@%
+\global\advance\SysCol@TmpWidth\ColTwo@Width%
+\global\advance\SysCol@TmpWidth\SystemBraceSep% %% Space around left-brace
+\global\advance\SysCol@TmpWidth 1em% %% ~= Left-brace size
+\hspace{-\SysCol@TmpWidth}%
+\right\lbrace%
+\advance\SysCol@TmpWidth-1em% %% ~= Left-brace size
+\hspace*{\SysCol@TmpWidth}%
+$$\global\@ignoretrue%
+}
+%%
+\newcommand*\BEGIN@EqSystem{%
+\setlength\ColOne@Width\z@%
+\setlength\ColTwo@Width\z@%
+$$\left.%
+\begin{minipage}{\displaywidth}%
+\vspace*{-\abovedisplayskip}%
+%%%-------------------------- \EQNarr@y -------------------%
+\stepcounter{equation}%
+\let\@currentlabel=\theequation%
+\global\@eqnswtrue%
+\global\@eqcnt\z@%
+\tabskip\@centering%
+\let\\=\EqSyst@CR%
+$$\halign to \displaywidth\bgroup%
+\tabskip\z@{##}\hfil%
+&\global\@eqcnt\@ne%
+\hspace{\SystemColSep}{##}\hfil%
+\tabskip\@centering%
+&\llap{##}\tabskip\z@\cr%
+%%%--------------------------------------------------------%
+\Start@EqSysRow%
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{EqSystem*}
+% \begin{macrocode}
+%%
+\newcounter{EqSys@counter}
+%%
+\newcommand*\EqSystem@Star[1][\relax]{%
+\stepcounter{equation}%
+\setcounter{EqSys@counter}{\value{equation}}%
+\def\Label@EqSystem{#1}%
+\def\@tempa{\relax}%
+\ifx\Label@EqSystem\@tempa\else%
+\let\@currentlabel=\theequation%
+\label{#1}%
+\def\Label@EqSystem{\label{#1:\alph{equation}}}%
+\fi%
+\let\INNER@theEQUATION=\theequation%
+\xdef\inner@theEQUATION{\theequation}%
+\def\theequation{\inner@theEQUATION\alph{equation}}%
+\setcounter{equation}{0}%
+\BEGIN@EqSystem%
+}
+%%
+\@namedef{EqSystem*}{\EqSystem@Star}
+%%
+\@namedef{endEqSystem*}{%
+\endEqSystem%
+\setcounter{equation}{\value{EqSys@counter}}%
+\global\let\theequation=\INNER@theEQUATION%
+}
+% \end{macrocode}
+% \end{environment}
+%
+% The \LaTeX{} environments \texttt{math} and \texttt{displaymath}
+% are redefined so that they will not be affected by the subsequent
+% redefinition of the brackets commands.
+% The redefinition of the brackets commands is deferred at the
+% |\begin{document}|, so that other packages may use the original
+% definitions and cannot override the new ones.
+% It only takes place if the ``|RedefBrackets|" option is in effect.
+% \begin{macrocode}
+\if@Redefine@Brackets@
+ \AtBeginDocument{%
+ \let\math=\(
+ \let\endmath=\)
+ \let\displaymath=\[
+ \let\enddisplaymath=\]
+ \renewcommand*{\(}{\left(}%
+ \renewcommand*{\)}{\right)}%
+ \renewcommand*{\[}{\left[}%
+ \renewcommand*{\]}{\right]}%
+ \renewcommand*{\{}{\left\lbrace}%
+ \renewcommand*{\}}{\right\rbrace}%
+ }
+\fi
+% \end{macrocode}
+%
+%\iffalse % MetaComment
+%<*package>
+%\fi
+%
+% \CheckSum{646}
+% \Finale
+%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/bosisio/quotes.drv b/Master/texmf-dist/source/latex/bosisio/quotes.drv
new file mode 100644
index 00000000000..1b2874639c0
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/quotes.drv
@@ -0,0 +1,55 @@
+%%
+%% This is file `quotes.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% quotes.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 quotes.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file quotes.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{quotes}
+\documentclass[12pt,a4paper]{ltxdoc}
+ \EnableCrossrefs
+ \CodelineIndex
+ \RecordChanges
+ %\OnlyDescription % Uncomment not to see the implementation
+\begin{document}
+ \DocInput{\FileName.dtx}
+ \newpage
+ \PrintIndex
+ \PrintChanges
+\end{document}
+\endinput
+%%
+%% End of file `quotes.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/quotes.dtx b/Master/texmf-dist/source/latex/bosisio/quotes.dtx
new file mode 100644
index 00000000000..21b134f8cd8
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/quotes.dtx
@@ -0,0 +1,170 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{quotes}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.0}
+\def\filedate{1997/12/20}
+\def\docdate{1997/12/20}
+\def\filedescr{Commands to use double quotes (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% 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> \newpage
+%<+driver> \PrintIndex
+%<+driver> \PrintChanges
+%<+driver>\end{document}
+%
+% End of the documentation driver
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%<*package>
+%\fi
+%
+% \changes{v0.1}{4 May 1997}{First release (basic accents-command)}
+% \changes{v0.2}{20 August 1997}{Added double-quotes and extended-chars}
+% \changes{v1.0}{5 September 1997}{Documentation added}
+% \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}
+%
+% \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}}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% Documentation for the package \texttt{\FileName}.
+% \end{abstract}
+%
+% \section{Introduction}
+% This package simplifies the use of double-quotes.
+%
+% \section{Double quotes}
+%
+% With this package, the character `` |"| '' generates the correct
+% double-quote, i.e. the sequence $<<$| " text " |$>>$
+% generates $<<$ `` |text| '' $>>$, so that this character
+% can be used both for opening and closing the double-quotes
+% (provided that it is \emph{always} used).
+%
+% \StopEventually{}
+% \newpage
+% \section{Implementation}
+%
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+% \end{macrocode}
+%
+% \begin{macro}{Quotes}
+% The command ``|\@VIRGOLETTE|" is defined to print an open or close
+% double-quotes alternatively, so that they are always right.
+% Moreover, the double-quotes are always printed in upright-shape,
+% since they looks better.
+%
+% \begin{macrocode}
+%%
+\newif\if@virgolette\@virgolettefalse
+%%
+\newcommand{\@VIRGOLETTE}{%
+\if@virgolette%
+ \@virgolettefalse%
+ \textup{''}%
+\else%
+ \@virgolettetrue%
+ \textup{``}%
+\fi%
+}
+% \end{macrocode}
+% Then the character `` |"| " is associated to the command
+% ``|\@VIRGOLETTE|" just defined, so that you just have to type
+% this character in order to get the right double-quotes.
+% This trick has been adapted from the |doc| package, but
+% perhaps it may be done in a better way.
+% \begin{macrocode}
+\@makeother " %% Can this command be eliminated ?
+\begingroup
+ \catcode`\~\active \lccode`\~`\"%
+ \lowercase{%
+ \global\expandafter\let
+ \csname ac\string\"\endcsname~%
+ \gdef~{\@VIRGOLETTE}}%
+\endgroup
+\global\catcode`\"\active
+%
+% \end{macrocode}
+% \end{macro}
+%
+%\iffalse % MetaComment
+%<*package>
+%\fi
+%
+% \CheckSum{43}
+% \Finale
+%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/bosisio/sobolev.drv b/Master/texmf-dist/source/latex/bosisio/sobolev.drv
new file mode 100644
index 00000000000..3d43357a947
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/sobolev.drv
@@ -0,0 +1,54 @@
+%%
+%% This is file `sobolev.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sobolev.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 sobolev.drv.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file sobolev.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-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+\def\FileName{sobolev}
+\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 `sobolev.drv'.
diff --git a/Master/texmf-dist/source/latex/bosisio/sobolev.dtx b/Master/texmf-dist/source/latex/bosisio/sobolev.dtx
new file mode 100644
index 00000000000..601312a0538
--- /dev/null
+++ b/Master/texmf-dist/source/latex/bosisio/sobolev.dtx
@@ -0,0 +1,536 @@
+%\iffalse % MetaComment
+%%
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%% | Copyright(C) 1997-1999 by Francesco 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. |
+%% | |
+%% | E-mail: fbosisio@bigfoot.com |
+%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
+%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+%%
+%%
+%% If you make any improvment, find any bug or have
+%% any suggestion, please let me know about it.
+%%
+%<*package,driver>
+%\fi
+%
+\def\FileName{sobolev}
+%\iffalse % MetaComment
+%</package,driver>
+%<*package>
+%\fi
+\def\fileversion{2.3}
+\def\filedate{1997/11/14}
+\def\docdate{1997/11/05}
+\def\filedescr{Commands to print the Sobolev spaces (BF)}
+%
+%\iffalse % MetaComment
+%</package>
+%<*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
+%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+%</dtx>
+%
+% 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}{28 March 1997}{First release (basic commands)}
+% \changes{v0.2}{3 April 1997}{Added package options}
+% \changes{v0.3}{7 July 1997}{Fixed a bug in the command ``Scalar''}
+% \changes{v0.4}{4 August 1997}{Fixed a bug in the options}
+% \changes{v1.0}{5 August 1997}{Documentation added}
+% \changes{v1.1}{4 November 1997}{Fixed a bug in the ``Hdiv'' command}
+% \changes{v1.2}{5 November 1997}{Superscripts for ``Norm'' and ``SemiNorm''}
+% \changes{v2.0}{14 November 1997}{Changed ``Scalar'' sintax; added ``Crochet''}
+% \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses}
+%
+% \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}}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% Documentation for the package \texttt{\FileName}.
+% \end{abstract}
+%
+% \section{Introduction}
+% This package provides some commands which are useful when dealing
+% with Sobolev spaces and their relatives.
+%
+% In particular some commands are redefined, so care should be
+% taken, expecially when including this package in an already
+% existent \LaTeX{} file.
+%
+% \noindent
+% The redefined commands are |\H| and |\L|.
+% The effect of ``|\H|" (which is a type of accent) can now be
+% achieved by the command ``|\HAccent|", whilst the job of ``|\L|"
+% (i.e. print an ``L" with a superimposed bar) is now done by the
+% command ``|\Lbar|".
+%
+% \section{The options}
+% Two options are available at the moment: \texttt{DivInBrackets}
+% and \texttt{DivAsExponent}.
+% They only affect the output of the ``|\Hdiv|" command.
+%
+% \noindent
+% The firt options (\texttt{DivInBrackets}, which is the default)
+% makes |\Hdiv| behave like ``|H(div;|\dots|)|", while the second
+% one (\texttt{DivAsExponent}) makes |\Hdiv| expand to
+% ``|H^{div}(|\dots|)|".
+%
+% \section{The commands}
+% Most of the subsequent space-generating commands have mandatory
+% arguments to indicate the type of the space.
+% Often this argument consists of a single digit: in this case it
+% is \emph{not} necessary to enclose it in brackets, since in \LaTeX{}
+% the names of commands consists of letters only, and so a digit
+% following it is certainly an argument.
+% This saves a lot of typing and is the only reason that makes these
+% commans useful (if you always had to type the brackets, then it
+% would have been simpler to type the expansion of the command than
+% the command itself !).
+% In other words, you can think as if several commands exist (like
+% |\H|, |\H1|, |\H10|, etc.), the ones with the digit beeing a sort of
+% abbreviation for the general one.
+%
+% \subsection{The \texttt{H} command}
+% The |\H| command is used to generate the symbol of sobolev
+% spaces.
+% It takes a mandatory argument, which is used as a
+% superscript, and an optional argument, which is used as a
+% subscript.
+%
+% \noindent
+% As explained above, if the mandatory argument is a digit,
+% it need not be enclosed in brackets.
+% Moreover, if the optional argument is the digit ``0", it
+% can be typed without the square brackets.
+%
+% \noindent
+% Here are some examples (whith the |\DefaultSet| set to its
+% default value |\Omega|):
+%
+% \begin{tabular}{lll}
+% |\H2| & $\Longrightarrow$ & $H^2(\Omega)$ \\
+% |\H10| & $\Longrightarrow$ & $H^1_0(\Omega)$ \\
+% |\H1[\Gamma_D]| & $\Longrightarrow$ & $H^1_{\Gamma_D}(\Omega)$ \\
+% |\H{-1/2}| & $\Longrightarrow$ & $H^{-1/2}(\Omega)$
+% \end{tabular}
+%
+% \subsection{The \texttt{Hdiv} command}
+% The |\Hdiv| command is used to generate the sobolev space
+% called ``H div".
+% It takes only an optional argument, which is used as a
+% subscript and which need not to be surrounded by the square
+% brackets if it is the digit ``0".
+%
+% \noindent
+% If the (default) option \texttt{DivInBrackets} is in effect,
+% it differs from the command |\H| in that the word ``div" is
+% printed (in roman type) inside brackets, before the set.
+% If, instead, the option \texttt{DivAsExponent} is active,
+% then it is simply an abbreviation for |\H{\mathrm{div}}|.
+%
+% \noindent
+% Here are some examples:\\
+% \hfill \begin{tabular}{llcc}
+% & & |DivInBrackets| & |DivAsExponent| \\
+% |\Hdiv| & $\Longrightarrow$ & $H(\mathrm{div};\Omega)$ & $H^{\mathrm{div}}(\Omega)$ \\
+% |\Hdiv0| & $\Longrightarrow$ & $H_0(\mathrm{div};\Omega)$ & $H^{\mathrm{div}}_0(\Omega)$ \\
+% |\Hdiv[\Gamma_D]| & $\Longrightarrow$ & $H_{\Gamma_D}(\mathrm{div};\Omega)$ & $H^{\mathrm{div}}_{\Gamma_D}(\Omega)$
+% \end{tabular} \hfill
+%
+% \subsection{The \texttt{L} command}
+% The |\L| command is used to generate the symbol of
+% Lebesgue-measurable functions.
+% It has one argument which is the exponent of the L-space.
+% Again, if this argument is a digit (or a single symbol,
+% like ``|\infty|'') the surrounding braces are optional.
+% Like for the |\H| command, the output of |\DefaultSet| is
+% appended.
+%
+% \noindent
+% Here are some examples: \hspace{2cm}
+% \begin{tabular}{lll}
+% |\L2| & $\Longrightarrow$ & $L^2(\Omega)$ \\
+% |\L{10}| & $\Longrightarrow$ & $L^{10}(\Omega)$ \\
+% |\L\infty| & $\Longrightarrow$ & $L^\infty(\Omega)$
+% \end{tabular}
+%
+% \subsection{The \texttt{W} command}
+% The |\W| command is completly analogous, except that it
+% prints a ``W'' insted af an ``L'' and that it has two
+% argument, both printed as a supercript, separated by a comma.
+% It is used for the generalized Sobolev spaces.
+%
+% \noindent
+% Here is an example of how it is used: \hspace{1cm}
+% \begin{tabular}{lll}
+% |\W{k}{p}| & $\Longrightarrow$ & $W^{k,p}(\Omega)$ \\
+% |\W1\infty| & $\Longrightarrow$ & $W^{1,\infty}(\Omega)$
+% \end{tabular}
+%
+% \subsection{The \texttt{D} command}
+% The |\D| command is used in the theory of distributions:
+% it prints the space of distributions over the |\DefaultSet|
+% if followed by a prime symbol, or its dual space, otherwise.
+% \hfill \begin{tabular}{lll}
+% |\D| & $\Longrightarrow$ & $\mathcal{D}(\Omega)$ \\
+% |\D'| & $\Longrightarrow$ & $\mathcal{D}'(\Omega)$
+% \end{tabular} \hfill
+%
+% \subsection{The \texttt{Norm} command}
+% The |\Norm| command has a mandatory and an optional argument;
+% it generates the norm of the mandatory argument, with the
+% optional argument, if present, as a whole subscript, to
+% denote the space within which the norm is taken.
+%
+% \noindent
+% Some examples: \hspace{3cm}
+% \begin{tabular}{lll}
+% |\Norm{f(x)}| & $\Longrightarrow$ & $\left\|f(x)\right\|$ \\
+% |\Norm{g}[L^2]| & $\Longrightarrow$ & $\left\|g\right\|_{L^2}$
+% \end{tabular}
+%
+% \subsection{The \texttt{SemiNorm} command}
+% The |\SemiNorm| command is completly analoguos, but
+% generates the semi-norm instead of the norm.
+%
+% \noindent
+% Some examples: \hspace{2cm}
+% \DeleteShortVerb{\|}
+% \MakeShortVerb{\!}
+% \begin{tabular}{lll}
+% !\SemiNorm{f(x)}! & $\Longrightarrow$ & $\left|f(x)\right|$ \\
+% !\SemiNorm{g}[H^1]! & $\Longrightarrow$ & $\left|g\right|_{H^1}$
+% \end{tabular}
+% \DeleteShortVerb{\!}
+% \MakeShortVerb{\|}
+%
+% \subsection{The \texttt{Scalar} command}
+% The |\Scalar| command has two arguments; a third optional
+% argument (which is used as a whole subscript) may follow
+% inside square brackets.
+% The output consists of the two arguments separated by a
+% comma and enclosed in a pair of adjustable-size brackets,
+% with the optional argument placed as a subscript (to denote
+% the space inside which the scalr product is taken).
+%
+% \noindent
+% Some examples:
+% \begin{tabular}{lll}
+% |\Scalar{f}{g}| &$\Longrightarrow$& $\left(f,g\right)$ \\
+% |\Scalar{u}{v}[L^2]| &$\Longrightarrow$& $\left(u,v\right)_{L^2}$\\
+% \end{tabular}
+%
+% \subsection{The \texttt{Crochet} command}
+% The |\Crochet| command has two arguments; a third optional
+% argument (which is used as a whole subscript) may follow
+% inside square brackets.
+% The output consists of the two arguments separated by a
+% comma and enclosed in a pair of adjustable-size
+% angular-parenthesys, with the optional argument placed as
+% a subscript (to denote the space inside which the duality
+% is taken).
+%
+% \noindent
+% Some examples:
+% \begin{tabular}{lll}
+% |\Crochet{f}{g}| &$\Longrightarrow$& $\left\langle f,g\right\rangle$ \\
+% |\Crochet{u}{v}[D]| &$\Longrightarrow$& $\left\langle u,v\right\rangle_D$\\
+% \end{tabular}
+%
+% \StopEventually{}
+% \newpage
+% \section{Implementation}
+%
+% \begin{macrocode}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+% \end{macrocode}
+%
+% The options set the flag for the |\Hdiv| command.
+% \begin{macrocode}
+%%
+\newif\if@DivAsExp
+\DeclareOption{DivAsExponent}{\@DivAsExptrue}
+\DeclareOption{DivInBrackets}{\@DivAsExpfalse}
+%%
+\ExecuteOptions{DivInBrackets}
+% \end{macrocode}
+%
+% The ``|\ProcessOptions*|" command was used here instead of
+% ``|\ProcessOptions*|" in order to process the options in the
+% ``|\usepackage|" order, rather than in the declaration order
+% \begin{macrocode}
+%%
+\ProcessOptions*
+% \end{macrocode}
+%
+% \begin{macro}{\DefaultSet}
+% The command |\DefaultSet| makes |\@DefaultSet| to print the
+% given argument enclosed in brackets.
+% It also let |\@DefaultSet@Div| to be the same, but with the
+% word ``div'' inside the brackets, before the argument.
+% \begin{macrocode}
+%%
+\newcommand{\DefaultSet}[1]{\def\@DefaultSet{(#1)}%
+ \def\@DefaultSet@Div{(\mathrm{div};#1)}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\NoDefaultSet}
+% The command |\NoDefaultSet| deletes the content of the two macros
+% |\@DefaultSet| and |\@DefaultSet@Div|, so that the first prints
+% nothing, whilst the second only prints "(div)".
+% \begin{macrocode}
+\newcommand{\NoDefaultSet}{\let\@DefaultSet=\relax%
+ \def\@DefaultSet@Div{(\mathrm{div})}}
+% \end{macrocode}
+%
+% \noindent
+% Set the default value for |\DefualtSet| to be $\Omega$.
+% \begin{macrocode}
+%%
+\DefaultSet{\Omega}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\DoNothing@zero}
+% This command does nothing, but strips the character ``0'' (which
+% \emph{must} immediately follow it, otherwise an error occour)
+% from the input, since it is defined with a ``0'' attached to its
+% name.
+% \begin{macrocode}
+%%
+\def\DoNothing@zero0{\relax}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\H}
+% The commands ``|\@HSobolev|" and``|\HSobolev@quadra|" prints
+% an ``H" in math-mode (via the |\ensuremath| command) with the
+% argument as a superscript, and, respectively, without subscripts
+% and wiht the second argument as a subscript.
+% Then they call |\@DefaultSet| in order to print the name of a set
+% inside brackets, or nothing depending on which of the commands
+% |\DefaultSet| and |\NoDefaultSet| has previously been invoked.
+% \begin{macrocode}
+%%
+\newcommand{\@HSobolev}[1]{\ensuremath{H^{#1}\@DefaultSet}}
+\def\HSobolev@quadra#1[#2]{\ensuremath{H^{#1}_{#2}\@DefaultSet}}
+% \end{macrocode}
+% The original command ``|\H|" (used to make a type of accent) is
+% saved in |\HAccent|; then |\H| is redefined so that it calls one
+% of the previous two commands, depending on which character
+% follows the command name.
+% If this character is a ``0", then it also invokes the command
+% |\DoNothing@zero|, in order to strip that zero from the input.
+% All this is deferred at the ``|\begin{document}|" in order to
+% avoid conflicts with other packages.
+% \begin{macrocode}
+\AtBeginDocument{%
+\let\HAccent=\H
+\renewcommand{\H}[1]{%
+\@ifnextchar0{\HSobolev@quadra{#1}[0]\DoNothing@zero}{%
+\@ifnextchar[{\HSobolev@quadra{#1}}{\@HSobolev{#1}}}%
+}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Hdiv}
+% The command |\@Hdiv@quadra| is used if the command |\Hdiv| is
+% followed by a square bracket: it simply types ``H" (in math mode)
+% with a subscript.
+% It also prints ``div" (in roman) as an exponent and calls
+% |\@DefaultSet| (with the ``DivAsExponent" option) or calls
+% |\@DefaultSet@Div| (with the ``DivInBraces" option).
+% \begin{macrocode}
+%%
+\def\@Hdiv@quadra[#1]{%
+\if@DivAsExp \ensuremath{H^{\mathrm{div}}_{#1}\@DefaultSet}%
+\else \ensuremath{H_{#1}\@DefaultSet@Div}\fi%
+}
+% \end{macrocode}
+% The ``|\Hdiv|" command is defined so that it calls the previous command,
+% or typesets the output itself, similarly to the |\H| command above.
+% \begin{macrocode}
+\newcommand{\Hdiv}{%
+\@ifnextchar0{\@Hdiv@quadra[0]\DoNothing@zero}{\@ifnextchar[{\@Hdiv@quadra}{%
+\if@DivAsExp \ensuremath{H^{\mathrm{div}}\@DefaultSet}%
+\else \ensuremath{H\@DefaultSet@Div}\fi}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\L}
+% First the old command |\L| (which prints an ``L" whith a bar
+% superimposed) is saved in |\Lbar|.
+% Then |\L| is redefined to print an ``L" in math-mode with its
+% argument as a superscript, followed by the output of |\@DefaultSet|.
+% All this is deferred at the ``|\begin{document}|" in order to
+% avoid conflicts with other packages.
+% \begin{macrocode}
+%%
+\AtBeginDocument{%
+\let\Lbar=\L
+\renewcommand{\L}[1]{\ensuremath{L^{#1}\@DefaultSet}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\W}
+% The command |\W| is defined to print a ``W" in math-mode with its
+% two arguments as a superscript (separated by a comma) and followed
+% by the output of |\@DefaultSet|.
+% It is deferred at the ``|\begin{document}|" in order to
+% avoid conflicts with other packages.
+% \begin{macrocode}
+%%
+\AtBeginDocument{%
+\newcommand\W[2]{\ensuremath{W^{#1,#2}\@DefaultSet}}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\D}
+% The command |\D| is defined to print a calligraphic ``D" in
+% math-mode, followed by the output of |\@DefaultSet|.
+% In order to allow for the proper treatment of the \emph{prime}
+% symbol which can follow the command, the command |\InsiemeD@Primo|
+% is defined: it is authomatically invoked by the command |\D| when
+% followed by a prime. It differs only in that a prime is output
+% \emph{before} invoking |\@DefaultSet|.
+% This is deferred at the ``|\begin{document}|" in order to
+% avoid conflicts with other packages.
+% \begin{macrocode}
+%%
+\def\InsiemeD@Primo'{\ensuremath{\mathcal{D}'\@DefaultSet}}
+\AtBeginDocument{%
+\newcommand{\D}{\@ifnextchar'{\InsiemeD@Primo}{%
+\ensuremath{\mathcal{D}\@DefaultSet}}%
+}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Norm}
+% The command |\Norm| prints its argument surrounded by a
+% double-pipe delimiter of adjustable size.
+% If an optional argument is present, it is used as a whole subscript.
+% \begin{macrocode}
+%%
+\def\@Norma@Exp#1#2^#3{\ensuremath{\left\|#1\right\|_{#2}^{#3}}}
+\def\@Norma#1[#2]{%
+\@ifnextchar^{\@Norma@Exp{#1}{#2}}{\ensuremath{\left\|#1\right\|_{#2}}}%
+}
+\newcommand{\Norm}[1]{%
+\@ifnextchar[{\@Norma{#1}}{\ensuremath{\left\|#1\right\|}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SemiNorm}
+% The command |\SemiNorm| prints its argument surrounded by a
+% single-pipe delimiter of adjustable size.
+% If an optional argument is present, it is used as a whole subscript.
+% \begin{macrocode}
+%%
+\def\@SemiNorma@Exp#1#2^#3{\ensuremath{\left|#1\right|_{#2}^{#3}}}
+\def\@SemiNorma#1[#2]{%
+\@ifnextchar^{\@SemiNorma@Exp{#1}{#2}}{\ensuremath{\left|#1\right|_{#2}}}%
+}
+\newcommand{\SemiNorm}[1]{%
+\@ifnextchar[{\@SemiNorma{#1}}{\ensuremath{\left|#1\right|}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Scalar}
+% The command |\Scalar| requires two arguments; a third optional
+% argument (which is used as a whole subscript) may follow inside
+% square brackets.
+% The output consists of the two arguments separated by a comma and
+% enclosed in a pair of adjustable-size brackets, with the optional
+% argument placed as a subscript.
+% \begin{macrocode}
+%%
+\def\@ProdottoScalare#1#2[#3]{\ensuremath{\left(#1,#2\right)_{#3}}}
+\newcommand\Scalar[2]{%
+\@ifnextchar[{\@ProdottoScalare{#1}{#2}}{\ensuremath{\left(#1,#2\right)}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Crochet}
+% The command |\Crochet| requires two arguments; a third optional
+% argument (which is used as a whole subscript) may follow inside
+% square brackets.
+% The output consists of the two arguments separated by a comma and
+% enclosed in a pair of adjustable-size angular-parenthesys, with
+% the optional argument placed as a subscript.
+% \begin{macrocode}
+%%
+\def\Inner@Crochet#1#2[#3]{\ensuremath{\left\langle#1,#2\right\rangle_{#3}}}
+\newcommand\Crochet[2]{%
+\@ifnextchar[{\Inner@Crochet{#1}{#2}}{%
+\ensuremath{\left\langle#1,#2\right\rangle}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \CheckSum{179}
+% \Finale
+%
+\endinput
+