%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is file "format.tex"
%
% Enth"alt Definitionen zum einfachen Erstellen von "Ubungsbl"attern zu
% Vorlesungen.
%
% by Berndt M. Gammel
% geaendert 31.10.2003 von Moritz Franosch
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[12pt,a4paper]{article}

\usepackage{color}
\ifx\pdfoutput\undefined 
% we are running LaTeX, not pdflatex 
\usepackage{graphicx}
\else 
% we are running pdflatex, so convert .eps files to .pdf 
% run with 'pdflatex -shell-escape input.tex'
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf} 
\fi
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{german}
\usepackage{umlaut}
\usepackage{bbold}


\addtolength{\textheight}{-15mm}


\pagestyle{plain}
\frenchspacing
\flushbottom

\newcommand{\Real}{ \Bbb{R} }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input tumlogo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\renewcommand{\baselinestretch}{0.95}

\setlength{\parindent}{0cm}
\addtolength{\topmargin}{-22mm}
\addtolength{\textheight}{68mm}
\addtolength{\textwidth}{32mm}
% So wird der Ausdruck auf ps4 mittenzentriert:
\addtolength{\oddsidemargin}{-19.5mm} 


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Verwendung von \deflist :
%
%  \begin{deflist}{a)}    
%  \item[a)] aaa
%  \item[b)] bbb
%  \item[c)] ccc
%  \end{deflist}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\deflabel}[1]{#1\hfill}%
\newenvironment{deflist}[1]%
{\begin{list}{}%
{\settowidth{\labelwidth}{#1}%
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
\renewcommand{\makelabel}{\deflabel}}}%
{\end{list}}%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% "Ubungsblattkopf erzeugen:
%
% \Blatt{Blattnummer}{Datum}{Vorlesungstitel}{Professor}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\Blatt#1#2#3#4{
\vspace*{-15mm}
\leftcornerbox{\oTUM{15mm}\kern 2mm}{2}{3mm}
{\small{\sf Technische Universit"at M"unchen} \hfill Blatt #1}\\
{\small \hspace*{1pt}{\sf Theoretische Physik} \hfill #2}
\par\smallskip\vspace*{1cm}

\begin{center}
{\large\bf #3}\\[1mm]#4
\end{center}
\medskip\vspace*{1cm}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Uhrzeit: 
%         oo
%        8--      schreibe:  8\uhr
%
%         15
%        8--      schreibe:  8\Uhr{15}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\uhr{\raisebox{0.7em}{\underline{\mbox{$\scriptscriptstyle\circ\circ$}}}}
\def\Uhr#1{\raisebox{0.7em}{\underline{\mbox{$\scriptscriptstyle#1$}}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% chemisches Element:
% 
% 176
%     Lu          schreibe:   \element{71}{176}{Lu}{105}
%  71   105
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\scs}{\scriptstyle}
\def\element#1#2#3#4{{$\!\renewcommand{\arraystretch}{0.5}
                      \begin{array}{r}{\scs#2}\\{\scs#1}\end{array}
                      \!\!{\sf#3}\!\!
                      \begin{array}{r}{}\\{\scs#4}\end{array}\!$}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% put a figure into the left corner
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\leftcornerbox#1#2#3{\setbox1=\hbox{\vtop{\kern 0pt \hbox{#1}}} \dp1=0pt
  \par\hangindent\wd1 \hangafter-#2 \noindent
  \hskip-\wd1 \raise#3 \box1 \ignorespaces}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Verschiedenes:
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%\renewcommand{\exp}[1]{{\mbox{$\,{\rm e}^{#1}$}}}%
\newcommand{\vek}[1]{{\mbox{\boldmath${#1}$}}}%
\newcommand{\indexvec}[1]{{\bf {#1}}}%
\newcommand{\indexindexvec}[1]{{\rm {#1}}}%
\newcommand{\grad}{\mbox{\rm grad$\:$}}
\newcommand{\Sp}{\mbox{\rm Sp$\:$}}
\renewcommand{\div}{\mbox{\rm div$\:$}}
\newcommand{\rot}{\mbox{\rm rot$\:$}}


% DIRAC BRACKETS AND MEANS
%
% Bsp: $ \ket{ij}      $ gives Ket  |ij>
%      $ \bra{ij}      $ gives Bra  <ij|
%      $ \braket{i}{j} $ gives      <i|j>
%      $ \mean{A}      $ gives      <A>
%      $ \meanadjust{\frac{A}{B}}$ adjust the size of the brackets
%
\def\bra#1{{\langle#1\vert}}
\def\ket#1{{\vert#1\rangle}}
\def\braket#1#2{{\langle#1\vert#2\rangle}}
\def\mean#1{{\langle#1\rangle}}
\def\meanadjust#1{{\left\langle#1\right\rangle}}

%one (unity)
 \newlength{\on}\settowidth{\on}{1}\newlength{\iv}%
 \def\el{\mbox{$\rm l$}}\settowidth{\iv}{\el}%
 \def\one{\mbox{$\mbox{1}\hspace{-.47\on}\mbox{\el}%
 \hspace{-1\iv} \hspace{.47\on}$}}%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
