\documentclass[a4paper,10pt,titlepage,dvips,twoside,danish,USenglish,final]{article}                                         
\usepackage{babel}%
\usepackage[utf8]{inputenc}%
%\usepackage{overpic}
\usepackage[mathscr]{euscript}
\usepackage[reqno]{amsmath}%the AMS math extension of LaTeX. 
\usepackage[psamsfonts]{amssymb}%the extended AMS math symbols.
%Option `psamsfonts' includes the the `omxcmex.fd' files and
%uses PostScript fonts in the `amsfonts' package.
\usepackage{cmmib57}%Use `cmmib57.sty' in `amsfonts'
%\usepackage[mathscr,psamsfonts]{euscr}%Use `eucal.sty' file. 
\usepackage[amsmath,thmmarks,standard,thref]{ntheorem}%Use `ntheorem.sty'
\usepackage[T1]{fontenc}%Use a 8-bit T1 encoding (with 256 characters) 
\usepackage{textcomp}%Use `textcomp.sty'
\usepackage{verbatim}%Use `verbatim.sty'
\usepackage{overpic}
\usepackage{color}
%\usepackage{prettyref}
\usepackage{tocbibind}
\usepackage{varioref}
%\usepackage{fixme}
\usepackage[only,llbracket,rrbracket]{stmaryrd}%Use `stmaryrd.sty'
%`only' says that only symbols listed in the option list is included
\usepackage[Euler]{upgreek}%Use `upgreek.sty'
\usepackage{pifont}%Use `pifont.sty', `upzd.fd', `upsy.fd'
\usepackage{accents}%Use the `accents.sty' file. 
\usepackage{dotlessi}%Use `dotlessi.sty'
\usepackage{bm}%Use 'bm.sty' to get `bold math' symbols
%Package `bm' MUST be placed after the math fonts on
%  which the package shall be used on 
\usepackage{array}%Use       `array.sty'
\usepackage{delarray}%Use `delarray.sty'
\usepackage{dcolumn}%Use   `dcolumn.sty'
\usepackage{multirow}%Use `multirow.sty' like multicolumn
%\usepackage{mathdots}%Use `mathdots.sty'
\usepackage{scrtime,scrdate}%Compile time & day of the week `\todaysname'
\usepackage{calc}%allows arithmetic operations in command arguments
\usepackage{ifthen}% `if ... then do .... otherwise do....'
\usepackage{xspace}%Use `xspace.sty'
\usepackage[hmargin={37mm,37mm},vmargin={44mm,44mm},head=5.1mm]{geometry}%
\usepackage{fancyhdr}%Use `fancyhdr.sty'
\usepackage{sectsty}%Use `sectsty.sty' 
%\usepackage{varwidth}%Use `varwidth.sty'
\usepackage{float}%Use `float.sty'
%\usepackage{caption}%Use `caption.sty'
\usepackage{lscape}%Use 'lscape.sty'
%\usepackage[english,first,bottomafter]{draftcopy}%
%\usepackage{indentfirst}%Use `indentfirst.sty' 
% Use the `indentfirst' package if we want the first line of all
% sections etc., be intended by the usual paragraph indentation.
%
%\usepackage{mparhack}%Use `mparhack.sty' 
% Use the 'mparhack' package if we use the command '\marginpar[...]{...}'
\definecolor{grey}{rgb}{0.25,0.25,0.25}
\definecolor{darkred}{rgb}{0.6,0,0}
\definecolor{darkgreen}{rgb}{0,0.6,0}
\definecolor{darkblue}{rgb}{0,0,0.6}

\usepackage{listings}%
\lstloadlanguages{Python}%
%\lstloadlanguages{Mathematica,MATLAB,[laTeX]TeX}%
\lstset{
  language=Python,
	breaklines=true,
	numbers=left,
	basicstyle=\ttfamily\scriptsize,
	commentstyle=\ttfamily\color{darkgreen},
	stringstyle=\ttfamily\color{darkred},
	identifierstyle=\ttfamily\color{grey},
	keywordstyle=\ttfamily\color{darkblue},
	%numberstyle=\scriptsize,
	stepnumber=1, 
	numbersep=5pt
}
%The `listings' package MUST be placed before the `fancyvrb' package
\usepackage{fancyvrb}%Use `fancyvrb.sty' to get fancy `Verbatims' in LaTeX
\usepackage{fvrb-ex}%Use `fvrb-ex.sty' to extend the facilities of `fancyvrb'
%\usepackage{pst-all}%All PSTricks packages including `pspicture'
\usepackage{graphicx}% `\includegraphics' using the `graphicx' package
\usepackage{url}%
   \urlstyle{sf}%
%\usepackage{subfigure}
\usepackage{psfrag}
\usepackage[width=0.9\linewidth,indention=0mm,labelfont=bf,textfont=it]{caption,subfig}
\usepackage{booktabs}
%\setlength{\extrarowheight}{10pt}
\setcounter{secnumdepth}{5}%
%To extend or reduce the level of the section numbering
\setcounter{tocdepth}{5}%
%To extend or reduce the level of section numbers in the table of contents
\numberwithin{equation}{section}%Make equations to be numbered within sections
\allowdisplaybreaks[4]%Allow automatic pagebreaks to occur within multiline formulas
\frenchspacing 
\newcommand*{\clearemptydoublepage}%
           {\newpage{\pagestyle{empty}\cleardoublepage}}%

%\addto\captionsenglish{
%\def\contentsname{Table of contents}
%\def\bibname{References}
%}

\hyphenation{%
            ho-ri-zon-tal
            o-pe-ra-tors
            }%


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

