% Copyright (C) nemadesign GbR % $Rev: 56 $: % $Date: 2014-09-02 21:28:49 +0200 (Di, 02. Sep 2014) $: % definitions for two column style sheet \makeatletter \usepackage{sty/siemens_core} \usepackage{geometry} \geometry { left=1.8cm, %linker Seitenrand right=1.8cm, %rechter Seitenrand top=25mm, %oben der Abstand bottom=28mm %Unten der Abstand } \renewcommand\section{\@startsection {section}{1}{0mm} % name, ebene, einzug {1.5\baselineskip} % vor-abstand {0.3\baselineskip} % nach-abstand {\bfseries\sffamily\Large\color{orange}} % layout } \renewcommand\subsection{\@startsection {subsection}{2}{0mm} {1.0\baselineskip} {0.2\baselineskip} {\bfseries\sffamily\Large\color{grey1}} } \newcommand\sectionnonum{\@startsection {section}{1}{0mm} {1.5\baselineskip} {0.3\baselineskip} {\normalfont\Large\bfseries\color{orange}}*} \newcommand\subsectionnonum{\@startsection {subsection}{2}{0mm} {1.0\baselineskip} {0.2\baselineskip} {\bfseries\sffamily\Large\color{grey1}}*} % TOC without indents % add space before TOC \addtocontents{toc}{\protect\vspace{100pt}} \renewcommand*{\@dotsep}{0.5} \renewcommand*\l@chapter{\bfseries\bprot@dottedtocline{1}{6em}{3.0em}} \renewcommand*\l@section{\mdseries\bprot@dottedtocline{2}{6em}{3.0em}} \renewcommand*\l@subsection{\mdseries\bprot@dottedtocline{3}{6em}{3.0em}} \renewcommand*\l@subsubsection{\mdseries\bprot@dottedtocline{4}{6em}{3.0em}} % gap between columns \setlength{\columnsep}{12mm} % gap between paragraphs \setlength{\parskip}{0pt} \def\chapterpictopnum#1#2#3#4{ \cleardoublepage \twocolumn[{ \begin{@twocolumnfalse} \includegraphics[width=#3\textwidth]{#2} \chapter{#1}\label{#4} \end{@twocolumnfalse} }] \squeezeup } \def\chapterpictopnonum#1#2#3#4{ \cleardoublepage \twocolumn[{ \begin{@twocolumnfalse} \includegraphics[width=#3\textwidth]{#2} \chapter*{#1}\label{#4} \end{@twocolumnfalse} }] \squeezeup } \def\chapterpicrightnum#1#2#3#4{ \cleardoublepage \twocolumn[{ \moveup \begin{@twocolumnfalse} \begin{minipage}[t]{#3\textwidth} \vspace{0pt}\raggedright \chapter{#1}\label{#4} \end{minipage} \hspace{0.04\textwidth} \FPsub{\bla}{0.95}{#3} \begin{minipage}[t]{\bla\textwidth} \picgap \includegraphics[width=\textwidth]{#2} \end{minipage} \end{@twocolumnfalse} \movedown }] } \def\chapterpicrightnonum#1#2#3#4{ \cleardoublepage \twocolumn[{ \moveup \begin{@twocolumnfalse} \begin{minipage}[t]{#3\textwidth} \vspace{0pt}\raggedright \chapter*{#1}\label{#4} \end{minipage} \hspace{0.04\textwidth} \FPsub{\bla}{0.95}{#3} \begin{minipage}[t]{\bla\textwidth} \picgap \includegraphics[width=\textwidth]{#2} \end{minipage} \end{@twocolumnfalse} \movedown }] } \def\chapterpicteasernum#1#2#3#4#5{ \cleardoublepage \twocolumn[{ \moveup \begin{@twocolumnfalse} \begin{minipage}[t]{\textwidth} \vspace{0pt}\raggedright \chapter{#1}\label{#4} \end{minipage} \FPsub{\bla}{0.95}{#3} \begin{minipage}[t]{\bla\textwidth} \picgapsmall \includegraphics[width=\textwidth]{#2} \end{minipage} \hspace{0.04\textwidth} \begin{minipage}[t]{#3\textwidth} \picgapsmall \LARGE \raggedright \textcolor{grey1}{\textbf{#5}} \end{minipage} \end{@twocolumnfalse} \movedown }] } \def\chapterpicteasernonum#1#2#3#4#5{ \cleardoublepage \twocolumn[{ \moveup \begin{@twocolumnfalse} \begin{minipage}[t]{\textwidth} \vspace{0pt}\raggedright \chapter*{#1}\label{#4} \end{minipage} \FPsub{\bla}{0.95}{#3} \begin{minipage}[t]{\bla\textwidth} \picgapsmall \includegraphics[width=\textwidth]{#2} \end{minipage} \hspace{0.04\textwidth} \begin{minipage}[t]{#3\textwidth} \picgapsmall \LARGE \raggedright \textcolor{grey1}{\textbf{#5}} \end{minipage} \end{@twocolumnfalse} \movedown }] } \def\gentitlepagenopic#1#2{ \fboxrule 0.0pt \begin{titlepage} \phantom{Die Titelseite} \lefoot{\copyright \; Siemens AG \the\year. All rights reserved.} % Siemens Logo 4cm width, 1.5cm from left corner \AddToShipoutPictureFG*{ \AtPageUpperLeft{% \put(1.3cm,0cm){% \makebox(0,0)[lt]{\includegraphics[width=4cm]{pics/cover/sie_logo_layer_petrol_rgb2.png}}% }% }% } % Siemens Logo 4cm width, 1.5cm from left corner \AddToShipoutPictureFG*{ \AtPageLowerLeft{% \put(1.3cm,3cm){% \makebox(0,0)[lt]{\includegraphics[width=3cm]{pics/cover/logo_multicore_expert-center_siemens.png}}% }% }% } \begin{textblock}{4}[0.0,0.0](1,0) \vspace{\paperwidth} \vspace{-1.0cm} \fcolorbox{black}{grey2}{ \begin{minipage}[c][1cm]{\paperwidth} \hspace{0.8cm} \fontsize{16}{20}\selectfont \textcolor{white}{#1} \end{minipage} } \end{textblock} \begin{textblock}{4}[0.0,0.0](1,0) \vspace{\paperwidth} % \vspace{-0.2cm} \fcolorbox{black}{grey1}{ \begin{minipage}[c][4cm]{\paperwidth} \textcolor{white}{} \end{minipage} } \end{textblock} \begin{textblock}{4}[0.0,0.0](1,0) \vspace{\paperwidth} % \vspace{-0.2cm} \hspace{0.8cm} \begin{minipage}[c][4cm]{0.8\paperwidth} \fontsize{36}{44}\selectfont \textcolor{white}{#2} \end{minipage} \end{textblock} \end{titlepage} \ClearShipoutPicture } \def\gentitlepage#1#2#3{ \fboxrule 0.0pt \begin{titlepage} \phantom{Die Titelseite} \lefoot{\copyright \; Siemens AG \the\year. All rights reserved.} \AddToShipoutPictureBG{ \AtPageUpperLeft{\raisebox{-\height} {\includegraphics[width=\paperwidth]{#1}}} } % Siemens Logo 4cm width, 1.5cm from left corner \AddToShipoutPictureFG*{ \AtPageUpperLeft{% \put(1.3cm,0cm){% \makebox(0,0)[lt]{\includegraphics[width=4cm]{pics/cover/sie_logo_layer_petrol_rgb.png}}% }% }% } % Siemens Logo 4cm width, 1.5cm from left corner \AddToShipoutPictureFG*{ \AtPageLowerLeft{% \put(1.3cm,3cm){% \makebox(0,0)[lt]{\includegraphics[width=3cm]{pics/cover/logo_multicore_expert-center_siemens.png}}% }% }% } \begin{textblock}{4}[0.0,0.0](1,0) \vspace{\paperwidth} \vspace{-1.0cm} \fcolorbox{black}{grey2}{ \begin{minipage}[c][1cm]{\paperwidth} \hspace{0.8cm} \fontsize{16}{20}\selectfont \textcolor{white}{#2} \end{minipage} } \end{textblock} \begin{textblock}{4}[0.0,0.0](1,0) \vspace{\paperwidth} % \vspace{-0.2cm} \fcolorbox{black}{grey1}{ \begin{minipage}[c][4cm]{\paperwidth} \textcolor{white}{} \end{minipage} } \end{textblock} \begin{textblock}{4}[0.0,0.0](1,0) \vspace{\paperwidth} % \vspace{-0.2cm} \hspace{0.8cm} \begin{minipage}[c][4cm]{0.8\paperwidth} \fontsize{36}{44}\selectfont \textcolor{white}{#3} \end{minipage} \end{textblock} \end{titlepage} \ClearShipoutPicture } \def\genbackpage#1{ \pagebreak \cleardoubleevenemptypage \thispagestyle{empty} \renewcommand{\baselinestretch}{1.1}\normalsize \begin{textblock}{4}[0.0,0.0](0,0) \fcolorbox{black}{grey1}{ \begin{minipage}[c][0.9\paperwidth]{\paperwidth} \textcolor{white}{} \end{minipage} } \end{textblock} \begin{textblock}{4}[0.0,0.0](0,0) \vspace{0.44\paperheight} \hspace{1.8cm} \begin{minipage}[t][\paperwidth]{\paperwidth} \textcolor{white}{#1} \end{minipage} \end{textblock} \begin{textblock}{4}[0.0,0.0](0,0) \vspace{\paperwidth} \vspace{-3.6cm} \begin{minipage}[c][1cm]{\paperwidth} \hspace{1.8cm} \textcolor{black}{Printed in Germany\;|\;\copyright\;\copyrightdate \;Siemens AG} \end{minipage} \end{textblock} } \def\tableofcontentspic#1#2#3{ \cleardoublepage \twocolumn[{ \moveup \begin{@twocolumnfalse} \begin{minipage}[t]{#3\textwidth} \vspace{0pt}\raggedright \chapter*{#1} \end{minipage} \hspace{0.04\textwidth} \FPsub{\bla}{0.95}{#3} \begin{minipage}[t]{\bla\textwidth} \picgap \includegraphics[width=\textwidth]{#2} \end{minipage} \begin{minipage}[t]{0.2\textwidth} \vspace{0pt}\raggedright \hspace{15mm} \end{minipage} \begin{minipage}[t]{0.8\textwidth} \phantomsection \tableofcontents \end{minipage} \end{@twocolumnfalse} \movedown }] } \def\genlistoffigures#1{ \cleardoublepage \onecolumn{ \chapter*{#1} \vspace{1.5cm} \begin{addmargin}[0.3\textwidth]{0cm} \listoffigures \end{addmargin} } } \makeatother