% Converted from MyBook to LaTeX by
% MyBook::Output::LaTeX (C) 2004 Ingo Blechschmidt, iblech@web.de, licensed
% under the Terms of the GNU General Public License, Version 2 or higher.
% 
% Note: This file's license is not necessarily the GNU GPL.
% 
% Do *not* modify this file, modify the source instead.
% All changes made to this file will get lost if you regenerate this file.
% 
% If you want MyBook::Output::LaTeX to output a different header or footer, run
% mybook with:
% 
%     mybook ... --odriver=MyBook::Output::LaTeX \
%       --option latex_header=header.latex --option latex_footer=footer.latex
% 
% MyBook::Output::LaTeX automatically converts inverse commas (") to real quo-
% tation marks (e.g. ,, and `` in German). You may want to change this
% behaviour with:
% 
%     mybook ... --odriver=MyBook::Output::LaTeX \
%       --option "quotation_marks=\`\`/''"
% 
% Note: You'll probably have to escape those ` '.
% 
% Default LaTeX preambel follows...
\batchmode
\makeatletter
\makeatother

% We speak German...
% Change the header/footer-template if you are not, see above.
\documentclass[12pt,a4paper,ngerman]{article}

% Activate full utf-8 support.
\usepackage{ucs}
\usepackage[utf8]{inputenc}

% Default font is Bookman.
\usepackage{bookman}

% Yes, we do want our pages be numbered.
\pagestyle{headings}

% Some other packages...
\usepackage{babel}      % Automatical hyphenation
\usepackage{latexsym}   % Some nice symbols
\usepackage{url}        % Breakable URLs
\usepackage{textcomp}   % Some symbols (copyright, etc.)
\usepackage{graphics}   % Support for images
\usepackage{amsmath}    % Many mathe-
\usepackage{amssymb}    % matical symbols
\usepackage{stmaryrd}   % Additional mathematical symbols
\usepackage{varioref}   % Nice inner-document references
\usepackage{color}      % Color support, may be needed by subclasses of
                        % MyBook::Output::LaTeX
\usepackage[official,right]{eurosym}
                        % Support for the euro sign
\usepackage{tabularx}   % Nice tables
\usepackage{hyperref}   % Clickable TOC
\usepackage{setspace}   % User-settable line-height.
\usepackage{multicol}   % Support for 2- or more-columnial pages.

% DELETEME:
%\usepackage{rotating}
%\usepackage{shapepar}
%\usepackage{psfrag}
%\usepackage{array}
%\usepackage{lscape}

% Allowing to have real IR, etc. in math mode:
%     \mathds{C}
\usepackage{dsfont}

\DeclareMathAlphabet{\varmathds}{U}{dsss}{m}{n}
%\DeclareMathSymbol{,}{\mathord}{letters}{"3B} %"

% Support for "head level=4":
\newcommand{\MBsubsubsubsection}[1]{\paragraph{#1}\rule{0pt}{0pt}\par{}}

% MyBook::Output::LaTeX outputs "\MBem{...}" for emphasized text.
\newcommand{\MBem}[1]{\textbf{#1}}
% MyBook::Output::LaTeX outputs "\MBembcode{...}" for embedded sourcecode.
% For whatever reason, we have to define this command *after* \begin{document}.
% Don't ask me.
% MyBook::Output::LaTeX outputs "\MBsacode{...}" for stand-alone sourcecode.
\newcommand{\MBsacode}[1]{\texttt{#1}}

% Support for list type=listing and type=associative:
\newenvironment{MBlisting}{\begin{list}{}{}\small\item{}}{\end{list}}
\newcommand{\MBitem}[1]{#1\vspace{-2mm}}
\newenvironment{MBassoc}{\begin{description}}{\end{description}}
\newcommand{\MBassocitem}[2]{\item[#1]\rule{0pt}{0pt}\\#2}
\newcommand{\MBassocitemsmall}[2]{\item[#1] #2}

% Nice inner-document references:
\newcommand{\MBref}[1]{\vpageref*{#1}}

% No single lines at the start of a paragraph (Schusterjungen)
\clubpenalty=10000
% No single lines at the end of a paragraph (Hurenkinder)
\widowpenalty=10000
\displaywidowpenalty=10000

\makeatletter
\makeatother

% Some other sensible defaults: We want our text to be formatted like
% 
%     This is the first paragraph. This is the first paragraph. This is the
%     first paragraph. This is the first paragraph. This is the first
%     paragraph.
%     
%     This is the second paragraph. This is the second paragraph. This is the
%     second paragraph. This is the second paragraph. This is the second
%     paragraph.
% 
% instead of
% 
%         This is the first paragraph. This is the first paragraph. This is the
%     first paragraph. This is the first paragraph. This is the first
%     paragraph. This is the first paragraph.
%     
%         This is the second paragraph. This is the second paragraph. This is
%     the second paragraph. This is the second paragraph. This is the second
%     paragraph.
% 
% Again, change the header/footer-template (see above) if our tastes differ...
% :)
\setlength\parskip{\medskipamount}
\setlength\parindent{0pt}
