summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/bosisio/mathcmd.dtx')
-rw-r--r--Master/texmf-dist/source/latex/bosisio/mathcmd.dtx127
1 files changed, 67 insertions, 60 deletions
diff --git a/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx b/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx
index 54588786644..57efb18447a 100644
--- a/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx
+++ b/Master/texmf-dist/source/latex/bosisio/mathcmd.dtx
@@ -1,19 +1,26 @@
%\iffalse % MetaComment
%%
%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
-%% | Copyright(C) 1997-1999 by Francesco Bosisio |
+%% | Copyright(C) 1997-2010 by F. Bosisio |
%% | |
-%% | This program can be redistributed and/or modified under the |
-%% | terms of the LaTeX Project Public License Distributed from |
-%% | CTAN archives in directory macros/latex/base/lppl.txt; |
-%% | either version 1 of the License, or any later version. |
+%% | This program can be redistributed and/or modified under |
+%% | the terms of the LaTeX Project Public License, either |
+%% | version 1.3 of this license or (at your option) any later |
+%% | version. The latest version of this license is in |
+%% | http://www.latex-project.org/lppl.txt |
+%% | and version 1.3 or later is part of all LaTeX distributions |
+%% | version 2005/12/01 or later. |
+%% | |
+%% | This work has the LPPL maintenance status `maintained'. |
+%% | The Current Maintainer of this work is F. Bosisio. |
+%% | |
+%% | This work consists of files mathcmd.dtx and mathcmd.html |
+%% | and of the derived files mathcmd.sty and mathcmd.pdf. |
%% | |
%% | E-mail: fbosisio@bigfoot.com |
-%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
-%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% | CTAN location: macros/latex/contrib/bosisio/ |
%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
%%
-%%
%% If you make any improvment, find any bug or have
%% any suggestion, please let me know about it.
%%
@@ -25,10 +32,10 @@
%</package,driver>
%<*package>
%\fi
-\def\fileversion{2.0}
+\def\fileversion{2.2}
\def\filedate{1997/12/20}
-\def\docdate{1997/12/20}
-\def\filedescr{Extensions to math environments (BF)}
+\def\docdate{2005/04/09}
+\def\filedescr{Extensions to math environments (FB)}
%
%\iffalse % MetaComment
%</package>
@@ -83,13 +90,13 @@
% \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}
+% \changes{v2.2}{9 April 2005}{Usage of the double-quote character (") avoided}
%
% \MakeShortVerb{\|}
%
% \title{Package \texttt{\FileName}\thanks{This is version \fileversion,
% last revised \filedate; documentation date \docdate}}
-% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}\\
-% \small Web page: \texttt{http://www.bigfoot.com/$\sim$fbosisio/LaTeX}}
+% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}}
% \date{\filedate}
% \maketitle
%
@@ -101,44 +108,44 @@
% 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
+% 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.
+% 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
+% 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
+% 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|".
+% 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.
+% 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|"
+% 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).
%
@@ -146,43 +153,43 @@
% 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
+% 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
+% 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
+% 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
+% The ``|\Sum{|$\cdots=\cdots,\cdots$|}|'' command works
% differently, depending on which option between
-% ``|TwoSubscrSum|" (default) and ``|ThreeSubscrSum|" has
+% ``|TwoSubscrSum|'' (default) and ``|ThreeSubscrSum|'' has
% been specified.
%
% \noindent
% In the first case, it expands to
-% ``|\displaystyle\sum_{...=...}^{...}|", whereas in the
+% ``|\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 ``="
+% (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
+% 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|}|".
+% ``|\displaystyle\sum_{|\ldots|}|''.
%
% \subsection{Derivatives symbols}
-% The commands ``|\DerTot{|\ldots|}{|\ldots|}|",
-% ``|\DerPar{|\ldots|}{|\ldots|}|" and ``|\DerNorm{|\ldots|}|"
+% The commands ``|\DerTot{|\ldots|}{|\ldots|}|'',
+% ``|\DerPar{|\ldots|}{|\ldots|}|'' and ``|\DerNorm{|\ldots|}|''
% generate the symbols of total derivative, partial derivative
% and normal derivative, respectively.
%
@@ -195,29 +202,29 @@
% \end{verbatim}
%
% \subsection{Arrow-limits commands}
-% The command ``|\TendsTo|[$\cdots,\cdots$]" generates a
+% 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
+% 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"
+% 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.
+% 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".
+% 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|} \\
@@ -251,9 +258,9 @@
\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
+% 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*
@@ -305,7 +312,7 @@
% \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
+% 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}
@@ -346,9 +353,9 @@
% \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.
+% 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}\:}}
@@ -396,7 +403,7 @@
%<*package>
%\fi
%
-% \CheckSum{154}
+% \CheckSum{153}
% \Finale
%
\endinput