Author: F. Bosisio
E-mail:
bosisio@mate.polimi.it
Web page:
http://ftp.mate.polimi.it/~bosisio/LaTeX
CTAN location:
CTAN:macros/latex/contrib/supported/bosisio/
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.
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''.
Two options are available at the moment: DivInBrackets and DivAsExponent. They only affect the output of the ``\Hdiv'' command.
The firt options (DivInBrackets, which is the default) makes \Hdiv behave like ``H(div;...)'', while the second one (DivAsExponent) makes \Hdiv expand to ``H^{div}(...)''.
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 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.
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.
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.
Here are some examples (whith the \DefaultSet set to its default value \Omega):
\H2 ==> H^2(\Omega) \H10 ==> H^1_0(\Omega) \H1[\Gamma_D] ==> H^1_{\Gamma_D}(\Omega) \H^{-1/2} ==> H^{-1/2}(\Omega)
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''.
If the (default) option 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 DivAsExponent is active, then it is simply an abbreviation for \Hdiv.
Here are some examples:
DivInBrackets DivAsExponent \Hdiv ==> H(\mathrm{div};\Omega) H^{\mathrm{div}}(\Omega) \Hdiv0 ==> H_0(\mathrm{div};\Omega) H^{\mathrm{div}}_0(\Omega) \Hdiv[\Gamma_D] ==> H_{\Gamma_D}(\mathrm{div};\Omega) H^{\mathrm{div}}_{\Gamma_D}(\Omega)
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.
Here are some examples:
\L2 ==> L^2(\Omega) \L10 ==> L^{10}(\Omega) \L ==> L^\infty(\Omega)
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.
Here is an example of how it is used:
\W{k}{p} ==> W^{k,p}(\Omega) \W1 ==> W^{1,\infty}(\Omega)
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.
\D ==> \mathcal{D}(\Omega) \D' ==> \mathcal{D}'(\Omega)
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.
Some examples:
\Normf(x) ==> \left\Vert f(x)\right\Vert \Normg[L^2] ==> \left\Vert g\right\Vert _{L^2}
The \SemiNorm command is completly analoguos, but generates the semi-norm instead of the norm.
Some examples:
\SemiNorm{f(x)} ==> \left\Vert f(x)\right\Vert \SemiNormg[H^1] ==> \left\vert g\right\vert _{H^1}
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).
Some examples:
\Scalar{f}{g} ==> \left(f,g\right) \Scalar{u}{v}[L^2] ==> left(u,v\right)_{L^2}
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).
Some examples:
\Crochet{f}{g} ==> \left\langle f,g\right\rangle \Crochet{u}{v}[D] ==> \left\langle u,v\right\rangle_D