From 23c023c3a186d253238213d5657cd303360dcb56 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 1 Aug 2010 20:50:13 +0000 Subject: [PATCH] header.tex.tmpl: Cleanup commit from de_contract --- tmpl/tex/de_technical/header.tex.tmpl | 73 +++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 4 deletions(-) diff --git a/tmpl/tex/de_technical/header.tex.tmpl b/tmpl/tex/de_technical/header.tex.tmpl index a80b2f95..a60ccfdb 100644 --- a/tmpl/tex/de_technical/header.tex.tmpl +++ b/tmpl/tex/de_technical/header.tex.tmpl @@ -31,12 +31,18 @@ \documentclass[a4paper,12pt,oneside,makeidx]{__DOCUMENT_CLASS__} % +\voffset=-12mm +\parindent=0mm +\parskip1ex plus 1pt minus 0.2pt +\parskip1ex plus 1pt minus 0.2pt + \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \usepackage{array} %\usepackage{amsmath} \usepackage{amsfonts} +\usepackage{tabularx} \usepackage{longtable} \usepackage{graphicx} \usepackage{verbatim} @@ -44,10 +50,18 @@ \usepackage{listings} \lstloadlanguages{C++} \usepackage[german]{babel} -\usepackage[footnotesize]{caption} +%\usepackage[font=footnotesize,labelfont=bf,singlelinecheck=false,format=plain,,justification=justified]{caption} +%\usepackage[font=footnotesize,labelfont=bf,singlelinecheck=false,format=plain,,]{caption} \usepackage{portland} \usepackage{amsmath} \usepackage{float} +\usepackage{paralist} +\usepackage{lastpage} +\usepackage{zref-totpages} +%\usepackage[applemac]{inputenc} +%\usepackage[latin1]{inputenc} +%\usepackage[utf8]{inputenc} + %---------------------- File "./base/proc.sty": %---------------------- File "./misc/blkarray.sty": %---------------------- File "./misc/doublespace.sty": @@ -78,14 +92,27 @@ %\usepackage[umlaute] \usepackage[pdftex,colorlinks,backref,pagebackref,linkcolor=blue,citecolor=blue, urlcolor=blue]{hyperref} +\usepackage[section]{placeins} -\textwidth 15cm -\textheight 23.5cm +%\usepackage{natbib} +%\bibliographystyle{plainnat} + +\bibliographystyle{gerplain} +\bibliography{literatur} + +%\textwidth 22.7cm \topmargin -0.4cm \oddsidemargin 0.5cm \evensidemargin 0.5cm +\textwidth=16cm \textheight=24.7cm \oddsidemargin-0mm % \renewcommand{\baselinestretch}{1.5} +% macht Zeilenumbrüche in \texttt möglich > +\newcommand{\origttfamily}{}% sollte noch nicht definiert sein! +\let\origttfamily=\ttfamily % alte Definition von \ttfamily sichern +\renewcommand{\ttfamily}{\origttfamily \hyphenchar\font=`\-} +% macht Zeilenumbrüche in \texttt möglich < + \newcommand{\C}{\mathbb{C}} \newcommand{\R}{\mathbb{R}} \newcommand{\N}{\mathbb{N}} @@ -135,7 +162,45 @@ \renewcommand\textfraction{.1} \newenvironment{prog}{\begin{quote}}{\end{quote} } - + +\newenvironment{tabularcompactitem}{% + \setdefaultleftmargin{1em}{1em}{1em}{1em}{1em}{1em}% + \vspace{-\topsep}% + \compactitem +}{ + \vspace*{-\ht\strutbox}% + \endcompactitem +} + \makeindex +% Kopf- und Fußzeile +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhf{} + +%Kopfzeile mittig mit Kaptilname +%\fancyhead[C]{__TITLE__ __SUBTITLE__ \nouppercase{\leftmark}} +\fancyhead[C]{__TITLE__ __SUBTITLE__} +%Linie oben +%\renewcommand{\headrulewidth}{0.5pt} + +%Fußzeile links bzw. innen +\fancyfoot[L]{Dok.-Vers.: __VERSION__ vom __DATE__} +%\fancyfoot[L]{__TITLE__ __SUBTITLE__ __VERSION__} +%Fußzeile mittig (Seitennummer) +% \renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden +\fancyfoot[R]{Seite \thepage \hspace{2pt} von \ztotpages} +%Linie unten +\renewcommand{\footrulewidth}{0.5pt} + +% Fußzeile auf jeder Seite - auch Kapitel und Inhaltsverzeichnis +\fancypagestyle{plain}{% + \fancyhf{}% + %\fancyhead[C]{} %Kapitelname ausblenden + \fancyfoot[L]{__TITLE__ __SUBTITLE__, V. __VERSION__, __DATE__} + \renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden + \fancyfoot[R]{\thepage} +} +