From 9a5f9a8fbaf534d7f2b0afa74d07e45ea5fada89 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 18 Jan 2009 01:02:30 +0000 Subject: new old latex packages bosisio (17jan09) git-svn-id: svn://tug.org/texlive/trunk@11906 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/bosisio/accenti.sty | 155 +++++++++ Master/texmf-dist/tex/latex/bosisio/dblfont.sty | 122 +++++++ Master/texmf-dist/tex/latex/bosisio/graphfig.sty | 152 +++++++++ Master/texmf-dist/tex/latex/bosisio/mathcmd.sty | 101 ++++++ Master/texmf-dist/tex/latex/bosisio/mathenv.sty | 402 +++++++++++++++++++++++ Master/texmf-dist/tex/latex/bosisio/quotes.sty | 72 ++++ Master/texmf-dist/tex/latex/bosisio/sobolev.sty | 129 ++++++++ 7 files changed, 1133 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/bosisio/accenti.sty create mode 100644 Master/texmf-dist/tex/latex/bosisio/dblfont.sty create mode 100644 Master/texmf-dist/tex/latex/bosisio/graphfig.sty create mode 100644 Master/texmf-dist/tex/latex/bosisio/mathcmd.sty create mode 100644 Master/texmf-dist/tex/latex/bosisio/mathenv.sty create mode 100644 Master/texmf-dist/tex/latex/bosisio/quotes.sty create mode 100644 Master/texmf-dist/tex/latex/bosisio/sobolev.sty (limited to 'Master/texmf-dist/tex/latex/bosisio') diff --git a/Master/texmf-dist/tex/latex/bosisio/accenti.sty b/Master/texmf-dist/tex/latex/bosisio/accenti.sty new file mode 100644 index 00000000000..fa13311cda9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bosisio/accenti.sty @@ -0,0 +1,155 @@ +%% +%% This is file `accenti.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% accenti.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 accenti.sty. +%% +%% 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} +\def\fileversion{2.0} +\def\filedate{1997/12/20} +\def\docdate{1997/12/20} +\def\filedescr{Commands to make accents (BF)} +%% +\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 +%% +%% +\let\aAccent=\a +\let\DotlessI=\i +\let\oFinnick=\o +\let\uAccent=\u +%% +\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 %-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ +%% +\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 %-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ +\endinput +%% +%% End of file `accenti.sty'. diff --git a/Master/texmf-dist/tex/latex/bosisio/dblfont.sty b/Master/texmf-dist/tex/latex/bosisio/dblfont.sty new file mode 100644 index 00000000000..8e032467648 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bosisio/dblfont.sty @@ -0,0 +1,122 @@ +%% +%% This is file `dblfont.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% dblfont.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 dblfont.sty. +%% +%% 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} +\def\fileversion{2.0} +\def\filedate{1997/12/13} +\def\docdate{1997/12/13} +\def\filedescr{Blackboard-bold symbols (BF)} +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr] +%% +\newfont{\DblFont}{msbm10 scaled \magstep1} +%% +\newcommand*\DeclareDblFontSymbol[1]{% +\expandafter\newcommand*\csname #1\endcsname{\ensuremath{\mathbb{#1}}}% +} +\newcommand*\dECL@REdBLfONTsYMBOL[1]{% +\expandafter\newcommand*\csname #1#1\endcsname{\ensuremath{\mathbb{#1}}}% +} +%% +\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''! ***}% +} +%% +\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}} +%% +\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}} +\DeclareOption{RT}{\DeclareDblFontSymbol{RT}} +\ProcessOptions +\endinput +%% +%% End of file `dblfont.sty'. diff --git a/Master/texmf-dist/tex/latex/bosisio/graphfig.sty b/Master/texmf-dist/tex/latex/bosisio/graphfig.sty new file mode 100644 index 00000000000..0911fb613cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/bosisio/graphfig.sty @@ -0,0 +1,152 @@ +%% +%% This is file `graphfig.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% graphfig.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 graphfig.sty. +%% +%% 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} +\def\fileversion{2.0} +\def\filedate{1997/15/12} +\def\docdate{1997/15/12} +\def\filedescr{Commands to include graphics files (BF)} +%% +\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] + \def\thesubfigure{\alph{subfigure}} + \renewcommand*\@thesubfigure{{\subcaplabelfont(\thesubfigure)}\space} + \let\SubGR@PH=\subfigure +\else + \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 +%% +\newcommand*\@Graph@Figure[3]{\resizebox{#1}{#2}{\includegraphics*{#3}}} +\newcommand*\graphfile{\@ifnextchar*{\graphfile@star}{% +\@ifnextchar[{\GraphFile@width}{\GraphFile@noSize}}% +} +\def\graphfile@star*{\@ifnextchar[{\GraphFile@heigth}{\GraphFile@noSize}} +%% +\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}[]}% +} +%% +\def\@GraphFile@Draw#1#2#3[#4]{% +\if@FirstPicture% + \@FirstPicturefalse% + \def\TMP@Graph{\SubGR@PH[#4\SubFig@Label]{\@Graph@Figure{#1}{#2}{#3}}}% +\else% + \ifx\TMP@Graph\undefined% + \SubGR@PH[#4\SubFig@Label]{\@Graph@Figure{#1}{#2}{#3}}\hspace*{\fill}% + \else% + \hspace*{-4pt}\TMP@Graph\hspace*{\fill}% + \let\TMP@Graph\undefined% + \SubGR@PH[#4\SubFig@Label]{\@Graph@Figure{#1}{#2}{#3}}\hspace*{\fill}% + \fi% +\fi% +} +%% +\newcommand*\FigureDefaultPlacement[1]{\def\Default@FigurePlacement{#1}} +\def\Default@FigurePlacement{htbp} +%% +\newenvironment{Figure}[2][\Default@FigurePlacement]{% +\@FirstPicturetrue% +\figure[#1]% +\hspace*{\fill}% +\let\@Figure@CR=\\% +\def\\{\par\hspace*{\fill}}% +\@ifnextchar[{\@Figure@quadra{#2}}{\def\MK@Figure@Caption{\caption{#2}}}% +}{% +\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% +\MK@Figure@Caption% +\let\Mk@Figure@Caption\undefined% +\let\SubFig@Label=\relax% +\let\\=\@Figure@CR% +\let\@Figure@CR\undefined% +\endfigure% +\def\thesubfigure{\thefigure\alph{subfigure}}% +} +%% +\def\@Figure@quadra#1[#2]{% +\def\MK@Figure@Caption{\caption{#1}\label{#2}}% +\def\SubFig@Label{\expandafter\label{#2:\expandafter\alph{subfigure}}}% +} +\endinput +%% +%% End of file `graphfig.sty'. 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'. diff --git a/Master/texmf-dist/tex/latex/bosisio/mathenv.sty b/Master/texmf-dist/tex/latex/bosisio/mathenv.sty new file mode 100644 index 00000000000..a27944a0db0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bosisio/mathenv.sty @@ -0,0 +1,402 @@ +%% +%% This is file `mathenv.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% mathenv.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 mathenv.sty. +%% +%% 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} +\def\fileversion{2.2} +\def\filedate{1998/02/04} +\def\docdate{1998/02/06} +\def\filedescr{Extended math environments (BF)} +%% +\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} +%% +\ProcessOptions* +%% +\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% +} +%% +\AtBeginDocument{% +\let\@StandardEquation=\equation +} +\def\@LabelledEquation[#1]{\@StandardEquation\label{#1}} +\newenvironment{Equation}{% +\@ifnextchar[{\@LabelledEquation}{\@StandardEquation}% +}{% +\endequation% +} +\if@Redefine@Equation@ + \AtBeginDocument{\let\equation=\Equation} +\fi +%% +\def\Equation@Star[#1]{\StartMath@Err{equation*}} +\AtBeginDocument{% +\@namedef{equation*}{\@ifnextchar[{\Equation@Star}{\Equation@Star[]}}% +\@namedef{endequation*}{$$\global\@ignoretrue}% +} +%% +\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}}% +} +%% +\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% +} +%% +\newcommand*\MakeAmper@Tab{\global\catcode`\&=4} +%% +\newcommand*\OneShot@Amper[2]{% +\MakeAmper@Active{#1\expandafter\MakeAmper@Tab}% +} +%% +\newlength\MultiLineIndent +\setlength{\MultiLineIndent}{1.7em} +%% +\newlength\MultiLineStarIndent +\setlength\MultiLineStarIndent{1em} +%% +\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} +\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% +} +%% +\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*% +} +%% +\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% +} +%% +\newcommand*\Stop@MultiLine{% +\end{array}% +\let\@arraycr=\@ArrayCR% +\MakeAmper@Tab% % For the case no "\\" is used +} +%% +\newenvironment{MultiLine}{% +\let\@LABEL=\label% +\@StandardEquation% +\Start@MultiLine% +}{% +\Stop@MultiLine% +\endequation% +\global\@ignoretrue% +} +%% +\@namedef{MultiLine*}{\ifmmode\Not@MathErr{MultiLine*}\else$$\fi% +\def\@LABEL##1{}% +\Start@MultiLine% +} +\@namedef{endMultiLine*}{\Stop@MultiLine$$\global\@ignoretrue} +%% +\newcommand*\@System@Def{% +\let\@arraycr=\ARRAY@CR% +\left\lbrace% +\begin{array}{l@{\qquad}l@{}}% +\displaystyle% +} +\def\Label@System[#1]{\@StandardEquation\label{#1}\@System@Def} +\newenvironment{System}{% +\@ifnextchar[{\Label@System}{\@StandardEquation\@System@Def}% +}{% +\end{array}% +\right.% +\endequation% +\let\@arraycr=\@ArrayCR% +\global\@ignoretrue% +} +%% +\def\System@Star[#1]{\StartMath@Err{System*}\@System@Def} +\@namedef{System*}{\@ifnextchar[{\System@Star}{\System@Star[]}} +\@namedef{endSystem*}{\end{array}\right. $$\let\@arraycr=\@ArrayCR \global\@ignoretrue} +%% +\newenvironment{EQNarray}{% +\PackageError{mathenv}{Environment "EQNarray" is obsolete}{% +Use the "equationarry" environment from the "eqnarray" package instead!}% +\eqnarray% +}{% +\endeqnarray% +} +%% +\newlength\SystemColSep +\setlength\SystemColSep{2em} +%% +\newlength\SystemBraceSep +\setlength\SystemBraceSep{3pt} +%% +\newlength\SystemStarIndent +\setlength\SystemStarIndent{2em} +%% +\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% +} +%% +\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% +} +\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 +\endinput +%% +%% End of file `mathenv.sty'. diff --git a/Master/texmf-dist/tex/latex/bosisio/quotes.sty b/Master/texmf-dist/tex/latex/bosisio/quotes.sty new file mode 100644 index 00000000000..8adbfbee7c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bosisio/quotes.sty @@ -0,0 +1,72 @@ +%% +%% This is file `quotes.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% quotes.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 quotes.sty. +%% +%% 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} +\def\fileversion{2.0} +\def\filedate{1997/12/20} +\def\docdate{1997/12/20} +\def\filedescr{Commands to use double quotes (BF)} +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{\FileName}[\filedate\space v\fileversion\space\filedescr] +%% +\newif\if@virgolette\@virgolettefalse +%% +\newcommand{\@VIRGOLETTE}{% +\if@virgolette% + \@virgolettefalse% + \textup{''}% +\else% + \@virgolettetrue% + \textup{``}% +\fi% +} +\@makeother " %% Can this command be eliminated ? +\begingroup + \catcode`\~\active \lccode`\~`\"% + \lowercase{% + \global\expandafter\let + \csname ac\string\"\endcsname~% + \gdef~{\@VIRGOLETTE}}% +\endgroup +\global\catcode`\"\active +\endinput +%% +%% End of file `quotes.sty'. 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'. -- cgit v1.2.3