summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/commath
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/commath
Initial commit
Diffstat (limited to 'macros/latex/contrib/commath')
-rw-r--r--macros/latex/contrib/commath/README28
-rw-r--r--macros/latex/contrib/commath/commath.pdfbin0 -> 123794 bytes
-rw-r--r--macros/latex/contrib/commath/commath.sty295
-rw-r--r--macros/latex/contrib/commath/commath.tex511
4 files changed, 834 insertions, 0 deletions
diff --git a/macros/latex/contrib/commath/README b/macros/latex/contrib/commath/README
new file mode 100644
index 0000000000..b32eff5703
--- /dev/null
+++ b/macros/latex/contrib/commath/README
@@ -0,0 +1,28 @@
+commath -- A LaTeX class which provides some commands which help you to format formulas flexibly.
+
+This package is shared under the LaTeX Project Public License
+
+This is version 0.3
+
+See the documentation commath.pdf for a user manual.
+
+Install notes:
+ Put all files somewhere where TeX can find them. Also install the
+ following packages somewhere where TeX can find them:
+ - amsmath
+ - ifthen
+
+
+changelog:
+
+version 0.3
+ \nd renamed to \od
+ \tnd renamed to \tod
+ \dnd renamed to \dod
+
+ New command \md, \tmd, and \dmd for mixed derivatives.
+ New command \D for derivatives (e.g. Malliavin derivatives).
+ Some minor documentation updates.
+
+version 0.2.1
+ Some new commands (\nd for derivatives...), some minor fixes and documentation updates.
diff --git a/macros/latex/contrib/commath/commath.pdf b/macros/latex/contrib/commath/commath.pdf
new file mode 100644
index 0000000000..ce38026ea0
--- /dev/null
+++ b/macros/latex/contrib/commath/commath.pdf
Binary files differ
diff --git a/macros/latex/contrib/commath/commath.sty b/macros/latex/contrib/commath/commath.sty
new file mode 100644
index 0000000000..76a60c9e9e
--- /dev/null
+++ b/macros/latex/contrib/commath/commath.sty
@@ -0,0 +1,295 @@
+%%% ====================================================================
+%%% @LaTeX-file{
+%%% filename = "commath.sty",
+%%% version = "0.3",
+%%% date = "2006",
+%%% author = "Wolfgang Putschögl",
+%%% address = "Johann Radon Institute for Computational and Applied Mathematics (RICAM)
+%%% Austrian Academy of Sciences
+%%% Altenbergerstraße 69
+%%% A-4040 Linz, Austria",
+%%% email = "Wolfgang.Putschoegl@oeaw.ac.at",
+%%% codetable = "Western European, iso 8859-15",
+%%% keywords = "LaTeX",
+%%% }
+%%% ====================================================================
+\NeedsTeXFormat{LaTeX2e} % LaTeX 2.09 can't be used (nor non-LaTeX)
+[1994/12/01] % LaTeX date must December 1994 or later
+
+\RequirePackage{ifthen}
+\RequirePackage{amsmath}
+
+% Differential (upface d)
+\DeclareMathOperator{\dif}{d \!}
+% Derivative (upface D)
+\DeclareMathOperator{\Dif}{D \!}
+
+% Command for partial derivatives. The first argument denotes the function and the second argument denotes the variable with respect to which the derivative is taken. The optional argument denotes the order of differentiation. The style (text style/display style) is determined automatically
+\providecommand{\pd}[3][]{\ensuremath{
+\ifinner
+\tfrac{\partial{^{#1}}#2}{\partial{#3^{#1}}}
+\else
+\dfrac{\partial{^{#1}}#2}{\partial{#3^{#1}}}
+\fi
+}}
+
+% \tpd[2]{f}{k} denotes the second partial derivative of f with respect to k
+% The first letter t means "text style"
+\providecommand{\tpd}[3][]{\ensuremath{\mathinner{
+\tfrac{\partial{^{#1}}#2}{\partial{#3^{#1}}}
+}}}
+% \dpd[2]{f}{k} denotes the second partial derivative of f with respect to k
+% The first letter d means "display style"
+\providecommand{\dpd}[3][]{\ensuremath{\mathinner{
+\dfrac{\partial{^{#1}}#2}{\partial{#3^{#1}}}
+}}}
+
+% mixed derivative - analogous to the partial derivative command
+% \md{f}{5}{x}{2}{y}{3}
+\providecommand{\md}[6]{\ensuremath{
+\ifinner
+\tfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}}
+\else
+\dfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}}
+\fi
+}}
+
+% \tpd[2]{f}{k} denotes the second partial derivative of f with respect to k
+% The first letter t means "text style"
+\providecommand{\tmd}[6]{\ensuremath{\mathinner{
+\tfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}}
+}}}
+% \dpd[2]{f}{k} denotes the second partial derivative of f with respect to k
+% The first letter d means "display style"
+\providecommand{\dmd}[6]{\ensuremath{\mathinner{
+\dfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}}
+}}}
+
+
+% ordinary derivative - analogous to the partial derivative command
+\providecommand{\od}[3][]{\ensuremath{
+\ifinner
+\tfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}}
+\else
+\dfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}}
+\fi
+}}
+
+\providecommand{\tod}[3][]{\ensuremath{\mathinner{
+\tfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}}
+}}}
+\providecommand{\dod}[3][]{\ensuremath{\mathinner{
+\dfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}}
+}}}
+
+
+
+\providecommand{\thmref}[1]{Theorem~\ref{#1}}
+\providecommand{\exref}[1]{Example~\ref{#1}}
+\providecommand{\defnref}[1]{Definition~\ref{#1}}
+\providecommand{\secref}[1]{\S\ref{#1}}
+\providecommand{\lemref}[1]{Lemma~\ref{#1}}
+\providecommand{\propref}[1]{Proposition~\ref{#1}}
+\providecommand{\remref}[1]{Remark~\ref{#1}}
+\providecommand{\figref}[1]{Figure~\ref{#1}}
+\providecommand{\colref}[1]{Corollary~\ref{#1}}
+\providecommand{\appref}[1]{Appendix~\ref{#1}}
+\providecommand{\assref}[1]{Assumption~\ref{#1}}
+
+% Make nested braces grow.
+\delimitershortfall-1sp
+
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+% default value for #1 is -1 which results in automatic size for the parenthesis (del -> DELimiters)
+\providecommand{\del}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\left(#2\right)}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+(#2)}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\bigl(#2\bigr)}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\Bigl(#2\Bigr)}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\biggl(#2\biggr)}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\Biggl(#2\Biggr)}{}
+}} % \ensuremath{\mathinner{
+} % DELimiters - normal parenthesis, the optional argument describes the size of the parenthesis, no argument results in automatic size
+
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+% default value for #1 is -1 which results in automatic size for the brackets
+\providecommand{\set}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\left\{#2\right\}}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+\{#2\}}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\bigl\{#2\bigr\}}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\Bigl\{#2\Bigr\}}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\biggl\{#2\biggr\}}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\Biggl\{#2\Biggr\}}{}
+}} % \ensuremath{\mathinner{
+} % Curly BRaces, the optional argument describes the size of the braces, no argument results in automatic size
+\let\cbr=\set % Curly BRaces
+
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+% default value for #1 is -1 which results in automatic size for the brackets
+\providecommand{\sbr}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\left[#2\right]}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+[#2]}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\bigl[#2\bigr]}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\Bigl[#2\Bigr]}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\biggl[#2\biggr]}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\Biggl[#2\Biggr]}{}
+}} % \ensuremath{\mathinner{
+} % Square BRackets, the optional argument describes the size of the brackets, no argument results in automatic size
+
+% All kinds of intervals -------------------------------------------------
+
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+% (#1,#2) open open
+\providecommand{\intoo}[2][-1]{\del[#1]{#2}}
+% [#1,#2] closed closed
+\providecommand{\intcc}[2][-1]{\sbr[#1]{#2}}
+
+% (#1,#2] open closed
+\providecommand{\intoc}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\left(#2\right]}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+(#2]}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\bigl(#2\bigr]}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\Bigl(#2\Bigr]}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\biggl(#2\biggr]}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\Biggl(#2\Biggr]}{}
+}} % \ensuremath{\mathinner{
+}
+
+% [#1,#2) closed open
+\providecommand{\intco}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\left[#2\right)}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+[#2)}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\bigl[#2\bigr)}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\Bigl[#2\Bigr)}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\biggl[#2\biggr)}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\Biggl[#2\Biggr)}{}
+}} % \ensuremath{\mathinner{
+}
+% ------------------------------------------------------------------------
+
+% Notation for an expression evaluated at a particular condition:
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+\providecommand{\eval}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+#2\Biggr\rvert}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+#2\rvert}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+#2\bigr\rvert}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+#2\Bigr\rvert}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+#2\biggr\rvert}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+#2\Biggr\rvert}{}
+}} % \ensuremath{\mathinner{
+}
+
+\providecommand{\sVert}[1][0]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{0}}{ % if
+\rvert}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\bigr\rvert}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\Bigr\rvert}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\biggr\rvert}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\Biggr\rvert}{}
+}} % \ensuremath{\mathinner{
+}
+
+
+% Enclose the argument in vert-bar delimiters:
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+\providecommand{\envert}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\!\left\lvert#2\right\rvert}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+\lvert#2\rvert}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\!\bigl\lvert#2\bigr\rvert}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\!\Bigl\lvert#2\Bigr\rvert}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\!\biggl\lvert#2\biggr\rvert}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\!\Biggl\lvert#2\Biggr\rvert}{}
+}} % \ensuremath{\mathinner{
+}
+\let\abs=\envert
+
+% Enclose the argument in double-vert-bar delimiters:
+% the value for the optional argument ranges from -1 to 4 with higher values resulting in larger delimiters
+\providecommand{\enVert}[2][-1]{
+\ensuremath{\mathinner{
+\ifthenelse{\equal{#1}{-1}}{ % if
+\!\left\lVert#2\right\rVert}{}
+\ifthenelse{\equal{#1}{0}}{ % if
+\lVert#2\rVert}{}
+\ifthenelse{\equal{#1}{1}}{ % if
+\!\bigl\lVert#2\bigr\rVert}{}
+\ifthenelse{\equal{#1}{2}}{ % if
+\!\Bigl\lVert#2\Bigr\rVert}{}
+\ifthenelse{\equal{#1}{3}}{ % if
+\!\biggl\lVert#2\biggr\rVert}{}
+\ifthenelse{\equal{#1}{4}}{ % if
+\!\Biggl\lVert#2\Biggr\rVert}{}
+}} % \ensuremath{\mathinner{
+}
+\let\norm=\enVert
+
+% Fix alignment of := in mathmode
+\mathchardef\ordinarycolon\mathcode`\:
+\mathcode`\:=\string"8000
+\begingroup \catcode`\:=\active
+ \gdef:{\mathrel{\mathop\ordinarycolon}}
+\endgroup
+
+% Full function
+\providecommand{\fullfunction}[5]{\ensuremath{
+ \begin {array}{ccrcl}
+ {#1} & \colon & {#2} & \longrightarrow & {#3} \\
+ \mbox{} & \mbox{} & {#4} & \longmapsto & {#5}
+ \end{array}
+}}
+
+% ------------------------------------------------------------------------
diff --git a/macros/latex/contrib/commath/commath.tex b/macros/latex/contrib/commath/commath.tex
new file mode 100644
index 0000000000..7682fc212c
--- /dev/null
+++ b/macros/latex/contrib/commath/commath.tex
@@ -0,0 +1,511 @@
+%%% ====================================================================
+%%% @LaTeX-file{
+%%% filename = "commath.tex",
+%%% version = "0.3",
+%%% date = "2006",
+%%% author = "Wolfgang Putschögl",
+%%% address = "Johann Radon Institute for Computational and Applied Mathematics (RICAM)
+%%% Austrian Academy of Sciences
+%%% Altenbergerstraße 69
+%%% A-4040 Linz, Austria",
+%%% email = "Wolfgang.Putschoegl@oeaw.ac.at",
+%%% codetable = "Western European, iso 8859-15",
+%%% keywords = "LaTeX",
+%%% }
+%%% ====================================================================
+\NeedsTeXFormat{LaTeX2e} % LaTeX 2.09 can't be used (nor non-LaTeX)
+[1994/12/01] % LaTeX date must December 1994 or later
+
+\documentclass[10pt,a4paper]{article}%report
+
+\usepackage{ifthen}
+% DOCUMENT IS COMPLETE OR NOT ? -------------------------------------------
+\newboolean{complete}
+\setboolean{complete}{true} % default is false
+% -------------------------------------------------------------------------
+
+\ifthenelse{\boolean{complete}}{}{
+% Prints preliminary version and date on the output
+\usepackage{prelim2e}
+% This package modifies commands such that the internal the labels are printed
+% draft option for draft proceedings; basically 12pt article style
+%\usepackage[draft]{showkeys}
+% The information for forward/inverse search is only embedded in the corresponding document if it is a draft version
+\usepackage{srcltx} % for forward/inverse search
+}
+
+%\linespread{1.4}
+\pagestyle{headings}
+
+% MISC PACKAGES -----------------------------------------------------------
+%\usepackage{eurosym}
+\usepackage[english,german]{babel}
+\usepackage{tocbibind} % add document elements like bibliography and index to toc
+
+% FONTS -------------------------------------------------------------------
+\usepackage[T1]{fontenc} % for special characters e.g. ö,ä,ß
+\usepackage[ansinew]{inputenc} % for special characters e.g. ö,ä,ß
+\usepackage{ae}
+\usepackage{mathrsfs} % font \mathscr{L}
+% ------------------------------------------------------------------------
+
+% HEADER ------------------------------------------------------------------
+\usepackage{fancyhdr}
+\pagestyle{fancy}
+% with this we ensure that the chapter and section
+% headings are in lowercase
+\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
+\fancyhf{} %delete the current section for header and footer
+\fancyhead[LO]{\bfseries\rightmark}
+\renewcommand{\headrulewidth}{0.5pt}
+% make space for the rule
+\fancyhead[R]{\bfseries\thepage}
+\fancypagestyle{plain}{%
+\fancyhead{} %get rid of the headers on plain pages
+\renewcommand{\headrulewidth}{0pt} % and the line
+}
+
+% URL --------------------------------------------------------------------
+\usepackage{url}
+\newcommand{\urlBiBTeX}[1]{\url{#1}}
+%Then in your .bib file, do this for an entry with a URL:
+%note = "URL: {\urlBiBTeX{http://coppit.org/}}",
+% ------------------------------------------------------------------------
+
+% PDF OPTIONS ------------------------------------------------------------
+\newif\ifpdf
+\ifx\pdfoutput\undefined
+ \pdffalse % running LaTeX
+\else
+ \pdfoutput=1 % running PDFLaTeX
+ \pdftrue
+\fi
+% ###
+\ifpdf
+ \usepackage[pdftex,plainpages=false,pdfpagelabels]{hyperref}
+ \pdfcompresslevel=9
+ \ifx\hypersetup\undefined\relax\else
+ \hypersetup{
+ pdftitle ={The commath LaTeX package},
+ pdfauthor ={Wolfgang Putschögl},
+ pdfcreator ={pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)},
+ pdfproducer ={pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)},
+ pdfsubject ={LaTeX},
+ pdfkeywords ={LaTeX},
+ bookmarksnumbered={true},
+ bookmarksopen ={true},
+ colorlinks ={true},
+ linkcolor ={blue},
+ urlcolor ={blue},
+}
+\fi
+\else
+ \usepackage[dvips]{hyperref}
+\fi
+
+% FUZZ -------------------------------------------------------------------
+\vfuzz2pt % Don't report over-full v-boxes if over-edge is < 2pt
+\hfuzz2pt % Don't report over-full h-boxes if over-edge is < 2pt
+% ------------------------------------------------------------------------
+
+\ifthenelse{\boolean{complete}}{
+\newcommand{\ind}[1]{\index{#1}{#1}}
+}{
+\let\ind=\emph
+}
+
+% MATH COMMANDS ----------------------------------------------------------
+
+% AMS PACKAGES ------------------------------------------------------------
+\usepackage{amsfonts}
+% -------------------------------------------------------------------------
+
+% My package
+\usepackage{commath}
+
+
+% ------------------------------------------------------------------------
+
+% INDEX ------------------------------------------------------------------
+\ifthenelse{\boolean{complete}}{
+\usepackage{makeidx}
+\makeindex
+}
+
+% TITLE, AUTHOR ETC. -----------------------------------------------------
+\title{The \texttt{commath} \LaTeX package v0.3}
+\author{Wolfgang Putschögl}
+%\date{2005}
+% ------------------------------------------------------------------------
+
+\newcommand{\leftmarginpar}[1]{%
+ \ifthenelse{\isodd{\thepage}}{%
+ \reversemarginpar% typeset number left on odd (right) pages
+ }{%
+ \normalmarginpar%
+ }%
+ \marginpar{\hfill #1}}
+
+\begin{document}
+
+\typeout{#####################################}
+
+\selectlanguage{english}
+\maketitle
+
+\ifthenelse{\boolean{complete}}{
+% TABLE OF CONTENTS ------------------------------------------------------
+\tableofcontents
+} % End ifthenelse
+
+
+% INPUT ------------------------------------------------------------------
+
+\pagestyle{fancy}
+
+\begin{abstract}
+\begin{center}
+The \texttt{commath}-package provides some commands\\
+which help you to format formulas flexibly.
+\end{center}
+\end{abstract}
+
+\section{Introduction}
+
+The purpose of the \texttt{commath}-package is to provide some commands which are supposed to produce better formatting and/or provide a more convenient way of input. For example, the \texttt{commath}-package provides commands for delimiters for which
+the size is determined automatically by default or can be controlled by an integer argument. Thus, the size of delimiters can be adapted to the formula by just changing one integer argument.
+
+\section{Acknowledgements}
+
+I want to thank Simon Dreher and Luca Trevisani for useful feedback and hints.
+
+\section{Requirements}
+
+The \texttt{commath}-package requires the \texttt{ifthen}-package and the \texttt{amsmath}-package to be installed. If they were not loaded before they are loaded by the \texttt{commath}-package.
+
+\section{Command overview}
+
+\bigskip\marginpar{\texttt{\ind{d}}}
+\noindent
+\verb|\dif| is a command for the differential operator. It is simply an upface d to clarify that it is an operator.
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\dif x| \quad & $\dif x$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{D}}}
+\noindent
+\verb|\Dif| is a command for a derivative operator (e.g.\ Malliavin derivative ...). It is simply an upface D to clarify that it is an operator.
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\Dif X| \quad & $\Dif X$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{od}}}
+\noindent
+\verb|\od[optional argument]{first argument}{second argument}| is a command for ordinary derivatives. The first argument denotes the function and the second argument denotes the variable with respect to which the derivative is taken. The optional argument denotes the order of differentiation. The style (text style/display style) is determined automatically.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\od{f}{x}| \quad & $\od{f}{x}$\\
+\verb|\od[2]{f}{x}| \quad & $\od[2]{f}{x}$
+\end{tabular}
+
+
+\bigskip\marginpar{\texttt{\ind{tnd}}}
+\noindent
+The \verb|\tod|-command is essentially the same as the \verb|\od|-command except that the style is set to text style.
+
+\bigskip\marginpar{\texttt{\ind{dnd}}}
+\noindent
+The \verb|\dod|-command is essentially the same as the \verb|\od|-command except that the style is set to display style.
+
+
+\bigskip\marginpar{\texttt{\ind{pd}}}
+\noindent
+\verb|\pd[optional argument]{first argument}{second argument}| is a command for partial derivatives. The first argument denotes the function and the second argument denotes the variable with respect to which the derivative is taken. The optional argument denotes the order of differentiation. The style (text style/display style) is determined automatically.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\pd{f}{x}| \quad & $\pd{f}{x}$\\
+\verb|\pd[2]{f}{x}| \quad & $\pd[2]{f}{x}$
+\end{tabular}
+
+
+\bigskip\marginpar{\texttt{\ind{tpd}}}
+\noindent
+The \verb|\tpd|-command is essentially the same as the \verb|\pd|-command except that the style is set to text style.
+
+\bigskip\marginpar{\texttt{\ind{dpd}}}
+\noindent
+The \verb|\dpd|-command is essentially the same as the \verb|\pd|-command except that the style is set to display style.
+
+\bigskip\marginpar{\texttt{\ind{md}}}
+\noindent
+\verb|\md{first argument}...{sixth argument}| is a command for mixed partial derivatives. The first argument denotes the function and the second argument denotes the total order of differentiation. The third and the fifth argument are the variables with respect to which we want to differentiate and the fourth and the sixth argument are the corresponding orders of differentiation.
+The style (text style/display style) is determined automatically.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\md{f}{5}{x}{2}{y}{3}| \quad & $\md{f}{5}{x}{2}{y}{3}$\\
+\end{tabular}
+
+
+\bigskip\marginpar{\texttt{\ind{tmd}}}
+\noindent
+The \verb|\tmd|-command is essentially the same as the \verb|\md|-command except that the style is set to text style.
+
+\bigskip\marginpar{\texttt{\ind{dmd}}}
+\noindent
+The \verb|\dmd|-command is essentially the same as the \verb|\md|-command except that the style is set to display style.
+
+\bigskip\marginpar{\texttt{\ind{del}}}
+\noindent
+\verb|\del[optional argument]{first argument}| is a command for delimiters (normal parathesis). The value for the optional argument ranges from 0 to 4 with higher values resulting in larger delimiters
+The default value for the optional argument is -1 which results in automatic sizing for the parenthesis.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\del{x}| \quad & $\del{x}$\\
+\verb|\del[0]{x}| & $\del[0]{x}$\\
+\verb|\del[1]{x}| & $\del[1]{x}$\\
+\verb|\del[2]{x}| & $\del[2]{x}$\\
+\verb|\del[3]{x}| & $\del[3]{x}$\\
+\verb|\del[4]{x}| & $\del[4]{x}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{cbr}}}
+\noindent
+\verb|\cbr[optional argument]{first argument}| is a command for curly braces. The value for the optional argument ranges from 0 to 4 with higher values resulting in larger braces.
+The default value for the optional argument is -1 which results in automatic sizing for the braces.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\cbr{x}| \quad & $\cbr{x}$\\
+\verb|\cbr[0]{x}| & $\cbr[0]{x}$\\
+\verb|\cbr[1]{x}| & $\cbr[1]{x}$\\
+\verb|\cbr[2]{x}| & $\cbr[2]{x}$\\
+\verb|\cbr[3]{x}| & $\cbr[3]{x}$\\
+\verb|\cbr[4]{x}| & $\cbr[4]{x}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{set}}}
+\noindent
+\verb|\set| is the same as \verb|\cbr|
+
+\bigskip\marginpar{\texttt{\ind{sbr}}}
+\noindent
+\verb|\sbr[optional argument]{first argument}| is a command for square brackets. The value for the optional argument ranges from 0 to 4 with higher values resulting in larger brackets.
+The default value for the optional argument is -1 which results in automatic sizing for the brackets.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\sbr{x}| \quad & $\sbr{x}$\\
+\verb|\sbr[0]{x}| & $\sbr[0]{x}$\\
+\verb|\sbr[1]{x}| & $\sbr[1]{x}$\\
+\verb|\sbr[2]{x}| & $\sbr[2]{x}$\\
+\verb|\sbr[3]{x}| & $\sbr[3]{x}$\\
+\verb|\sbr[4]{x}| & $\sbr[4]{x}$
+\end{tabular}
+
+\bigskip
+
+In the following we present commands for all kinds of intervals. The last two letters will imply whether the left and right boundary are open or closed respectively. The value for the optional argument ranges from 0 to 4 with higher values resulting in larger delimiters. The default value for the optional argument is -1 which results in automatic sizing for the delimiters.
+
+\bigskip\marginpar{\texttt{\ind{intoo}}}
+\noindent
+\verb|\intoo[optional argument]{first argument}| produces an interval where the left and right boundaries are open.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\intoo{x}| \quad & $\intoo{x}$\\
+\verb|\intoo[0]{x}| & $\intoo[0]{x}$\\
+\verb|\intoo[1]{x}| & $\intoo[1]{x}$\\
+\verb|\intoo[2]{x}| & $\intoo[2]{x}$\\
+\verb|\intoo[3]{x}| & $\intoo[3]{x}$\\
+\verb|\intoo[4]{x}| & $\intoo[4]{x}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{intcc}}}
+\noindent
+\verb|\intcc[optional argument]{first argument}| produces an interval where the left and right boundaries are closed.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\intcc{x}| \quad & $\intcc{x}$\\
+\verb|\intcc[0]{x}| & $\intcc[0]{x}$\\
+\verb|\intcc[1]{x}| & $\intcc[1]{x}$\\
+\verb|\intcc[2]{x}| & $\intcc[2]{x}$\\
+\verb|\intcc[3]{x}| & $\intcc[3]{x}$\\
+\verb|\intcc[4]{x}| & $\intcc[4]{x}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{intoc}}}
+\noindent
+\verb|\intoc[optional argument]{first argument}| produces an interval where the left boundary is open and right boundary is closed.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\intoc{x}| \quad & $\intoc{x}$\\
+\verb|\intoc[0]{x}| & $\intoc[0]{x}$\\
+\verb|\intoc[1]{x}| & $\intoc[1]{x}$\\
+\verb|\intoc[2]{x}| & $\intoc[2]{x}$\\
+\verb|\intoc[3]{x}| & $\intoc[3]{x}$\\
+\verb|\intoc[4]{x}| & $\intoc[4]{x}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{intco}}}
+\noindent
+\verb|\intco[optional argument]{first argument}| produces an interval where the left boundary is closed and right boundary is open.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\intco{x}| \quad & $\intco{x}$\\
+\verb|\intco[0]{x}| & $\intco[0]{x}$\\
+\verb|\intco[1]{x}| & $\intco[1]{x}$\\
+\verb|\intco[2]{x}| & $\intco[2]{x}$\\
+\verb|\intco[3]{x}| & $\intco[3]{x}$\\
+\verb|\intco[4]{x}| & $\intco[4]{x}$
+\end{tabular}
+
+
+\bigskip\marginpar{\texttt{\ind{eval}}}
+\noindent
+\verb|\eval[optional argument]{first argument}| is a command for the notation of an expression denoted by the first argument evaluated at a particular condition. The value for the optional argument ranges from 0 to 4 with higher values resulting in larger delimiters. The default value for the optional argument is -1 which results in automatic sizing for the delimiters.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\eval{f(\epsilon)}_{\epsilon=0}| \quad & $\eval{f(\epsilon)}_{\epsilon=0}$\\
+\\
+\verb|\eval[0]{f(\epsilon)}_{\epsilon=0}| & $\eval[0]{f(\epsilon)}_{\epsilon=0}$\\
+\\
+\verb|\eval[1]{f(\epsilon)}_{\epsilon=0}| & $\eval[1]{f(\epsilon)}_{\epsilon=0}$\\
+\\
+\verb|\eval[2]{f(\epsilon)}_{\epsilon=0}| & $\eval[2]{f(\epsilon)}_{\epsilon=0}$\\
+\\
+\verb|\eval[3]{f(\epsilon)}_{\epsilon=0}| & $\eval[3]{f(\epsilon)}_{\epsilon=0}$\\
+\\
+\verb|\eval[4]{f(\epsilon)}_{\epsilon=0}| & $\eval[4]{f(\epsilon)}_{\epsilon=0}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{sVert}}}
+\noindent
+\verb|\sVert[optional argument]| is essentially the same as \verb|eval|. Use \verb|\sVert| for readability if you don't need automatic sizing of the vert bar.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|f(\epsilon)\sVert[0]_{\epsilon=0}| & $f(\epsilon)\sVert[0]_{\epsilon=0} $\\
+\\
+\verb|f(\epsilon)\sVert[1]_{\epsilon=0}| & $f(\epsilon)\sVert[1]_{\epsilon=0}$\\
+\\
+\verb|f(\epsilon)\sVert[2]_{\epsilon=0}| & $f(\epsilon)\sVert[2]_{\epsilon=0}$\\
+\\
+\verb|f(\epsilon)\sVert[3]_{\epsilon=0}| & $f(\epsilon)\sVert[3]_{\epsilon=0}$\\
+\\
+\verb|f(\epsilon)\sVert[4]_{\epsilon=0}| & $f(\epsilon)\sVert[4]_{\epsilon=0}$
+\end{tabular}
+
+\bigskip
+There is also one command included in the package which fixes the alignment of \ind{:=} in mathmode.
+
+% % APPENDIX ---------------------------------------------------------------
+% \appendix
+% \input{Appendix.tex}
+
+\bigskip\marginpar{\texttt{\ind{envert}}}
+\noindent
+\verb|\envert}[optional argument]{first argument}| is a command is a command which enclose the argument in vert-bar delimiters.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\envert{x}| \quad & $\envert{x}$\\
+\\
+\verb|\envert[0]{x}| & $\envert[0]{x}$\\
+\\
+\verb|\envert[1]{x}| & $\envert[1]{x}$\\
+\\
+\verb|\envert[2]{x}| & $\envert[2]{x}$\\
+\\
+\verb|\envert[3]{x}| & $\envert[3]{x}$\\
+\\
+\verb|\envert[4]{x}| & $\envert[4]{x}$
+\end{tabular}
+
+
+\bigskip\marginpar{\texttt{\ind{abs}}}
+\noindent
+The \verb|\abs|-command is the same as the \verb|\envert|-command.
+
+\bigskip\marginpar{\texttt{\ind{enVert}}}
+\noindent
+\verb|\enVert}[optional argument]{first argument}| is a command is a command which enclose the argument in double vert-bar delimiters.\\
+E.g.:\\
+\begin{tabular}{lc}
+\verb|\enVert{x}| \quad & $\enVert{x}$\\
+\\
+\verb|\enVert[0]{x}| & $\enVert[0]{x}$\\
+\\
+\verb|\enVert[1]{x}| & $\enVert[1]{x}$\\
+\\
+\verb|\enVert[2]{x}| & $\enVert[2]{x}$\\
+\\
+\verb|\enVert[3]{x}| & $\enVert[3]{x}$\\
+\\
+\verb|\enVert[4]{x}| & $\enVert[4]{x}$
+\end{tabular}
+
+\bigskip\marginpar{\texttt{\ind{norm}}}
+\noindent
+The \verb|\norm|-command is the same as the \verb|\enVert|-command.
+
+\bigskip\marginpar{\texttt{\ind{fullfunction}}}
+\noindent
+\verb|\fullfunction{first argument}....{fifth argument}| is a command which nicely formats a function. The first argument denotes the function name, the second the domain and the third the image of the function. The forth is the parameter which is mapped to the expression denoted by argument five.\\
+E.g.:\\
+\verb|\fullfunction{f}{\mathbb R}{\mathbb R}{x}{\sqrt{x}}| results in
+$$
+\fullfunction{f}{\mathbb R}{\mathbb R}{x}{\sqrt{x}}
+$$
+
+
+\bigskip\marginpar{\texttt{\ind{thmref}}}
+\noindent
+\verb|\thmref{first argument}| is a command to reference theorems where the first argument is the label of the corresponding theorem. The result of \verb|\thmref{label}| will be Theorem (number of the label) and analogously for the subsequent commands. The number of the theorem is not separated from the word Theorem by e.g.\! a linebreak.
+
+\bigskip\marginpar{\texttt{\ind{exref}}}
+\noindent
+\verb|\exref{first argument}| is a command to reference examples where the first argument is the label of the corresponding example.
+
+\bigskip\marginpar{\texttt{\ind{defnref}}}
+\noindent
+\verb|\defnref{first argument}| is a command to reference definitions where the first argument is the label of the corresponding definition.
+
+\bigskip\marginpar{\texttt{\ind{secref}}}
+\noindent
+\verb|\secref{first argument}| is a command to reference sections where the first argument is the label of the corresponding section.
+
+\bigskip\marginpar{\texttt{\ind{lemref}}}
+\noindent
+\verb|\lemref{first argument}| is a command to reference lemmas where the first argument is the label of the corresponding lemma.
+
+\bigskip\marginpar{\texttt{\ind{propref}}}
+\noindent
+\verb|\propref{first argument}| is a command to reference propositions where the first argument is the label of the corresponding proposition.
+
+\bigskip\marginpar{\texttt{\ind{remref}}}
+\noindent
+\verb|\remref{first argument}| is a command to reference remarks where the first argument is the label of the corresponding remark.
+
+\bigskip\marginpar{\texttt{\ind{figref}}}
+\noindent
+\verb|\figref{first argument}| is a command to reference figures where the first argument is the label of the corresponding figure.
+
+\bigskip\marginpar{\texttt{\ind{colref}}}
+\noindent
+\verb|\colref{first argument}| is a command to reference corollaries where the first argument is the label of the corresponding corollary.
+
+\bigskip\marginpar{\texttt{\ind{appref}}}
+\noindent
+\verb|\appref{first argument}| is a command to reference the Appendix where the first argument is the label of the corresponding Appendix.
+
+\bigskip\marginpar{\texttt{\ind{assref}}}
+\noindent
+\verb|\assref{first argument}| is a command to reference assumptions where the first argument is the label of the corresponding Assumption.
+% ------------------------------------------------------------------------
+
+\ifthenelse{\boolean{complete}}{
+% INDEX ------------------------------------------------------------------
+\printindex
+} %End ifthenelse
+
+\typeout{#####################################}
+\end{document}
+% ------------------------------------------------------------------------
+% EOF