summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bosisio/mathcmd.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bosisio/mathcmd.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bosisio/mathcmd.sty101
1 files changed, 101 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bosisio/mathcmd.sty b/Master/texmf-dist/tex/latex/bosisio/mathcmd.sty
new file mode 100644
index 00000000000..e2fdfd72063
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bosisio/mathcmd.sty
@@ -0,0 +1,101 @@
+%%
+%% This is file `mathcmd.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mathcmd.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from mathcmd.sty.
+%%
+%% 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}
+\def\fileversion{2.0}
+\def\filedate{1997/12/20}
+\def\docdate{1997/12/20}
+\def\filedescr{Extensions to math environments (BF)}
+%%
+\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}
+%%
+\ProcessOptions*
+%%
+\AtBeginDocument{\ifx\undefined\text \def\text#1{\ \mbox{#1}\ } \fi}
+%%
+\def\@INT@sub@SUP#1^#2{{\displaystyle\int_{#1}^{#2}}}
+\def\@INT@subONLY#1{{\displaystyle\int_{\raisebox{-0.2ex}{$_{#1}$}}}}
+\def\@INT@sub_#1{\@ifnextchar^{\@INT@sub@SUP{#1}}{\@INT@subONLY{#1}}}
+\def\@INT@SUP@sub^#1_#2{{\displaystyle\int_{#2}^{#1}}}
+\newcommand{\Int}{\@ifnextchar^{\@INT@SUP@sub}{\@ifnextchar_{\@INT@sub}{\displaystyle\int}}}
+%%
+\AtBeginDocument{ \let\UnderDot=\d \renewcommand{\d}[1]{\:\:d#1} }
+%%
+\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
+\newcommand{\Sum}[1]{\INNER@SUM#1!}
+\newcommand{\SUM}[1]{{\displaystyle\sum_{#1}}}
+%%
+\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}\:}}
+%%
+\def\@TendeQuando[#1,#2]{ \mathop{\longrightarrow}\limits_{#1 \rightarrow #2} }
+\def\TendsTo{\@ifnextchar[{\@TendeQuando}{\longrightarrow}}
+%%
+\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
+\endinput
+%%
+%% End of file `mathcmd.sty'.