%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% defsize.tex
% definitions of size commands
%
% author:          K.H. Hofmann
% e-mail:          karlheinrich.hofmann@hs-rm.de
% created:         10.02.1995
% last revision:   17.11.2009
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% textsize math mode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\dsty}{\displaystyle}
\newcommand{\tsty}{\textstyle}
\newcommand{\ssty}{\scriptstyle}
\newcommand{\sssty}{\scriptscriptstyle}
%
% indices in math mode 
\newcommand{\indexs}[1]{_{\mbox{\small #1}}}
\newcommand{\indexf}[1]{_{\mbox{\footnotesize #1}}}
\newcommand{\indexss}[1]{_{\mbox{\scriptsize #1}}}
\newcommand{\indext}[1]{_{\mbox{\tiny #1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% textsize textmode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\nsz}{\normalsize}
\newcommand{\fsz}{\footnotesize}
\newcommand{\ssz}{\scriptsize}
\newcommand{\tsz}{\tiny}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% horizontal space definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\dquad}{\quad\quad}
\newcommand{\tquad}{\quad\quad\quad}
\newcommand{\nquad}{\!\!\!\!\!\!}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% vertical space definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\itemspace}{\\[-6ex]}
\newcommand{\itemtopminus}{\rule[0ex]{0ex}{0ex}\\[-6ex]}
\newcommand{\negspace}{\rule[0ex]{0ex}{0ex}\\[-8ex]}
\newcommand{\pullv}[1]{\rule[0ex]{0ex}{0ex}\\[#1]}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% array column width
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% centered entry of width #1 in tablular or array 
\newcommand{\mbc}[2]{\makebox[#1][c]{#2}}
% left entry of width #1 in tablular or array 
\newcommand{\mbl}[2]{\makebox[#1][l]{#2}}
% right entry of width #1 in tablular or array 
\newcommand{\mbr}[2]{\makebox[#1][r]{#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% reference line (horizontal distances) for environment eqnarray
\newcommand{\eqndline}{\rule[0ex]{7ex}{0ex} 
                       &\rule[0ex]{0ex}{0ex} & 
                       \rule[0mm]{136mm}{0mm} \nonumber\\[-3ex]}
% same as \eqndline but with parameters
\newcommand{\eqline}[2]{\rule[0ex]{#1}{0ex} 
                       &\rule[0ex]{0ex}{0ex} & 
                       \rule[0mm]{#2}{0mm} \nonumber\\[-3ex]}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% frame border adjustment
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\myboxsep}[1]{\fboxsep #1}                     % old:  o.7em
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


