summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bosisio/sobolev.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bosisio/sobolev.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bosisio/sobolev.sty129
1 files changed, 129 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bosisio/sobolev.sty b/Master/texmf-dist/tex/latex/bosisio/sobolev.sty
new file mode 100644
index 00000000000..abc81cafffd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bosisio/sobolev.sty
@@ -0,0 +1,129 @@
+%%
+%% This is file `sobolev.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sobolev.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 sobolev.sty.
+%%
+%% 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}
+\def\fileversion{2.3}
+\def\filedate{1997/11/14}
+\def\docdate{1997/11/05}
+\def\filedescr{Commands to print the Sobolev spaces (BF)}
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr]
+%%
+\newif\if@DivAsExp
+\DeclareOption{DivAsExponent}{\@DivAsExptrue}
+\DeclareOption{DivInBrackets}{\@DivAsExpfalse}
+%%
+\ExecuteOptions{DivInBrackets}
+%%
+\ProcessOptions*
+%%
+\newcommand{\DefaultSet}[1]{\def\@DefaultSet{(#1)}%
+ \def\@DefaultSet@Div{(\mathrm{div};#1)}}
+\newcommand{\NoDefaultSet}{\let\@DefaultSet=\relax%
+ \def\@DefaultSet@Div{(\mathrm{div})}}
+%%
+\DefaultSet{\Omega}
+%%
+\def\DoNothing@zero0{\relax}
+%%
+\newcommand{\@HSobolev}[1]{\ensuremath{H^{#1}\@DefaultSet}}
+\def\HSobolev@quadra#1[#2]{\ensuremath{H^{#1}_{#2}\@DefaultSet}}
+\AtBeginDocument{%
+\let\HAccent=\H
+\renewcommand{\H}[1]{%
+\@ifnextchar0{\HSobolev@quadra{#1}[0]\DoNothing@zero}{%
+\@ifnextchar[{\HSobolev@quadra{#1}}{\@HSobolev{#1}}}%
+}}
+%%
+\def\@Hdiv@quadra[#1]{%
+\if@DivAsExp \ensuremath{H^{\mathrm{div}}_{#1}\@DefaultSet}%
+\else \ensuremath{H_{#1}\@DefaultSet@Div}\fi%
+}
+\newcommand{\Hdiv}{%
+\@ifnextchar0{\@Hdiv@quadra[0]\DoNothing@zero}{\@ifnextchar[{\@Hdiv@quadra}{%
+\if@DivAsExp \ensuremath{H^{\mathrm{div}}\@DefaultSet}%
+\else \ensuremath{H\@DefaultSet@Div}\fi}}%
+}
+%%
+\AtBeginDocument{%
+\let\Lbar=\L
+\renewcommand{\L}[1]{\ensuremath{L^{#1}\@DefaultSet}}%
+}
+%%
+\AtBeginDocument{%
+\newcommand\W[2]{\ensuremath{W^{#1,#2}\@DefaultSet}}
+}
+%%
+\def\InsiemeD@Primo'{\ensuremath{\mathcal{D}'\@DefaultSet}}
+\AtBeginDocument{%
+\newcommand{\D}{\@ifnextchar'{\InsiemeD@Primo}{%
+\ensuremath{\mathcal{D}\@DefaultSet}}%
+}}
+%%
+\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\|}}%
+}
+%%
+\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|}}%
+}
+%%
+\def\@ProdottoScalare#1#2[#3]{\ensuremath{\left(#1,#2\right)_{#3}}}
+\newcommand\Scalar[2]{%
+\@ifnextchar[{\@ProdottoScalare{#1}{#2}}{\ensuremath{\left(#1,#2\right)}}%
+}
+%%
+\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}}%
+}
+\endinput
+%%
+%% End of file `sobolev.sty'.