Commit 83d53292 authored by Ingo Heimbach's avatar Ingo Heimbach

Updated the rst2latex style file

- Suits corporate design requirements better
- More flexible: the document type can be configured by defining a
  `\documenttype` command
parent 9672d830
......@@ -7,6 +7,7 @@
\usepackage{lmodern}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{iflang}
\usepackage{tikz}
\usetikzlibrary{calc}
......@@ -44,24 +45,25 @@
}
\renewcommand{\maketitle}{
\providecommand{\documenttype}{\IfLanguageName{ngerman}{Technische Dokumentation}{Technical Documentation}}%
\begin{titlepage}
\sffamily
\makeatletter
\begin{tikzpicture}[remember picture, overlay]
\node[anchor=north] at ($(current page.center) + (0, 0.5\textheight)$) {%
\node[anchor=north] at ($ (current page.center) + (0, 0.5\textheight) $) {%
\LARGE\scshape%
\parbox{\textwidth}{\centering Technische Dokumentation}%
\parbox{\textwidth}{\centering\documenttype}%
};%
\fill[ultra thick, fill=fzjblue] ($(current page.center) + (0, 0.25\textheight) + (-0.5\paperwidth, 1.5)$) rectangle +(\paperwidth, -3);
\node at ($(current page.center) + (0, 0.25\textheight)$) {%
\fill[ultra thick, fill=fzjblue] ($ (current page.north west) - (0, 0.25\paperheight) $) rectangle +(\paperwidth, -0.1\paperheight);
\node at ($ (current page.north) - (0, 0.3\paperheight) $) {%
\LARGE\bfseries%
\parbox{\textwidth}{\centering \color{white}\@title}
};%
\node at ($(current page.center) + (0, 0.05\textheight)$) {%
\node at ($ (current page.center) + (0, 0.05\textheight) $) {%
\Large%
\parbox{\textwidth}{\centering \@author}
};
\node at ($(current page.center) + (0, -0.05\textheight)$) {%
\node at ($ (current page.center) + (0, -0.05\textheight) $) {%
\large%
\ifthenelse{\equal{\@date}{}} {
\today
......@@ -70,7 +72,7 @@
}
};
\node[anchor=south] at ($(current page.center) + (0, -0.5\textheight)$) {%
\node[anchor=south] at ($ (current page.center) + (0, -0.5\textheight) $) {%
\parbox{\textwidth}{\centering
Forschungszentrum Jülich GmbH \\[1ex]
Peter Grünberg Institut / Jülich Centre for Neutron Science \\
......@@ -78,7 +80,10 @@
(PGI/JCNS-TA)
}%
};%
\node[anchor=south east] at (current page.south east) {
\node[anchor=south west, inner sep=0, outer sep=0] at ($ (current page.south west) + (0.05\paperwidth, 1.0631) $) {%
\sffamily\color{fzjblue}\IfLanguageName{ngerman}{Mitglied der Helmholtz-Gemeinschaft}{Member of the Helmholtz Association}%
};
\node[anchor=south east, inner sep=0, outer sep=0] at (current page.south east) {
\includegraphics[height=0.1769\paperwidth]{fz_logo_schutzzone}%
};%
\end{tikzpicture}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment