%--------------------------------------------------------------------------- % % File: fbm-preprint.sty % Author: Winfried Geis, Thomas Merkle, % modified and adapted to Corporate Design 2016 by Jürgen Dippon % Date: 2003/02/14, 2004/01/14, 2004/12/03, 2010/06/08, 2017/06/02 % Language: LaTex 2e % Description: This style file creates the cover, impressum, etc. of the % FB Mathematik preprint series. It should be compatible with all % Latex2e document classes. % Note: % Copyright: Winfried Geis and Thomas Merkle 2003 , Jürgen Dippon 2017 % %--------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fbm-preprint-CD}[2017/06/02] \typeout{LaTeX2e Package 'fbm-preprint.sty'} \typeout{Version 1.0 (2017/06/02) W. Geis, T. Merkle, J. Dippon, M. Stroppel} \typeout{ | if you use the hyperref package, } \typeout{ | . . load it *before* preprint.sty} \RequirePackage{overpic, graphicx, ifthen, calc, a4wide} \RequirePackage{hyperref} \RequirePackage{tikz, kvoptions, helvet} \setlength{\unitlength}{1mm} \newlength{\coverhoffset} \setlength{\coverhoffset}{0.5\paperwidth - 0.5\textwidth - 20mm} \newlength{\covertextwidth} \setlength{\covertextwidth}{\textwidth + 2\coverhoffset} \newlength{\backgroundwidth} \setlength{\backgroundwidth}{\paperwidth - 75mm} \newcommand{\CoverHuge} { %\sffamily\Huge \fontencoding{OT1}\fontfamily{phv}\fontseries{m}\fontshape{sf} \fontsize{24.88}{30pt}\selectfont } \newcommand{\CoverHugebf} { %\sffamily\bfseries\Huge \fontencoding{OT1}\fontfamily{phv}\fontseries{bx}\fontshape{n} \fontsize{24.88}{30pt}\selectfont } \newcommand{\Coverhuge} { %\sffamily\huge \fontencoding{OT1}\fontfamily{phv}\fontseries{m}\fontshape{n} \fontsize{20.74}{25pt}\selectfont } \newcommand{\Coverhugebf} { %\sffamily\bfseries\huge \fontencoding{OT1}\fontfamily{phv}\fontseries{bx}\fontshape{n} \fontsize{20.74}{25pt}\selectfont } \newcommand{\CoverLarge} { %\sffamily\Large \fontencoding{OT1}\fontfamily{phv}\fontseries{m}\fontshape{n} \fontsize{14}{18pt}\selectfont } \newcommand{\Coverlarge} { %\sffamily\large \fontencoding{OT1}\fontfamily{phv}\fontseries{m}\fontshape{n} \fontsize{12}{14pt}\selectfont } \newcommand{\Coverlargebf} { %\sffamily\bfseries\large \fontencoding{OT1}\fontfamily{phv}\fontseries{bx}\fontshape{n} \fontsize{12}{14pt}\selectfont } \newcommand{\Covertt} { %\ttfamily \fontencoding{OT1}\fontfamily{cmtt}\fontseries{m}\fontshape{n} \fontsize{10}{12pt}\selectfont } \newcommand{\Coverit} { \fontencoding{OT1}\fontfamily{phv}\fontseries{m}\fontshape{it} \fontsize{10}{12pt}\selectfont } \newcommand{\Covernormal} { %\sffamily \fontencoding{OT1}\fontfamily{phv}\fontseries{m}\fontshape{n} \fontsize{10}{12pt}\selectfont } \newcommand{\Covernormalbf} { %\sffamily\bfseries \fontencoding{OT1}\fontfamily{phv}\fontseries{bx}\fontshape{n} \fontsize{10}{12pt}\selectfont } \newcommand{\HRule}{\rule{\covertextwidth}{1mm}} \newcommand{\Title}[1]{\gdef\CoverTitle{#1}} \gdef\CoverType{Preprint} \newcommand{\Type}[1]{\gdef\CoverType{#1}} \gdef\CoverYear{0} \gdef\CoverNumber{0} \newcommand{\Number}[2]{\gdef\CoverYear{#1}\gdef\CoverNumber{#2}} \let\CoverAuthors\@empty \let\CoverAddresses\@empty \newcommand{\cleartooddpage} { \ifthenelse{\isodd{\thepage}} {\newpage{\pagestyle{empty}\vspace*{\fill}\newpage}} {\vspace*{\fill}\newpage} } \newcommand{\Author}[1] { \ifx\@empty\CoverAuthors \gdef\CoverAuthors{#1} \else % \g@addto@macro\CoverAuthors{, #1} \g@addto@macro\CoverAuthors{\\ #1} \fi \g@addto@macro\CoverAddresses{\Author{#1}} } \newboolean{setCoverAddresses} \newcommand{\Address}[1] { \ifthenelse{\equal{#1}{}}{}% { \setboolean{setCoverAddresses}{true} \g@addto@macro\CoverAddresses{\Address{#1}} }% } \newcommand{\EMail}[1] { \ifthenelse{\equal{#1}{}}{}% { \setboolean{setCoverAddresses}{true} \g@addto@macro\CoverAddresses{\EMail{#1}} } } \newcommand{\WWW}[1] { \ifthenelse{\equal{#1}{}}{}% { \setboolean{setCoverAddresses}{true} \g@addto@macro\CoverAddresses{\WWW{#1}} } } \newbox\EmailBox \setbox\EmailBox\hbox{{\Covernormalbf E-Mail:} } \ifx\undefined\href \def\@EMail#1{\usebox\EmailBox{\Covertt #1}} \def\@WWW#1{\hbox to\wd\EmailBox{\Covernormalbf WWW:\hss}{\Covertt #1}} \else \def\@EMail#1{\usebox\EmailBox\href{mailto:#1}{\Covertt #1}} \def\@WWW#1{\hbox to\wd\EmailBox{\Covernormalbf WWW:\hss}\href{#1}{\Covertt #1}} \fi \newlength{\first} \settowidth{\first}{2003-001} \def\@Preprint#1#2{\Coverit #1: \Covernormal #2} %% -mS-% the following appears to behave differently %% -mS-% with latex vs. pdflatex: \def\@SetCoverAddresses { \begingroup \Covernormal \def\Author##1{\ifthenelse{\boolean{setCoverAddresses}}% {\vspace*{\baselineskip}\par##1\par\nobreak}{}} \def\Address##1{\ifthenelse{\boolean{setCoverAddresses}}% {\samepage##1\par\nobreak}{}} \def\EMail##1{\ifthenelse{\boolean{setCoverAddresses}}% {\samepage \@EMail{##1}\par\nobreak}% {}} \def\WWW##1{\ifthenelse{\boolean{setCoverAddresses}}% {\samepage \@WWW{##1}\par\nobreak}% {}} \par \CoverAddresses \endgroup } %%-mS-% the following is modified to take care of pdflatex : \newcommand{\SetCover} {\vspace*{-44\unitlength}% \hspace*{-32\unitlength}% \begin{overpic}[width = 1.23\backgroundwidth]{fbm-unilogo} \put(12, 70) { \begin{minipage}[t]{\covertextwidth} \begin{minipage}[c]{0.49\textwidth} \CoverHugebf Universit\"at\\ Stuttgart \end{minipage} \hfill \begin{minipage}[c]{0.49\textwidth} \begin{flushright} \CoverHugebf Fachbereich\\ Mathematik \end{flushright} \end{minipage}\\ \vspace*{20mm}\\ \HRule \begin{flushright} {\Coverhuge \CoverTitle\\[1ex]} {\CoverLarge \CoverAuthors}\\ \end{flushright} \HRule \vspace*{120mm} \begin{flushright} \Coverhugebf Preprint \CoverYear-\CoverNumber \end{flushright} \end{minipage} } \end{overpic} } %%% Neues Corporate Design der Uni Stuttgart %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definecolor{CD00}{cmyk}{ 0.00, 0.00, 0.00, 0.00} %white \definecolor{CD01}{cmyk}{ 0.50, 0.35, 0.25, 0.70} %anthrazit \definecolor{CD02}{cmyk}{ 1.00, 0.70, 0.00, 0.00} %mid-blue \definecolor{CD03}{cmyk}{ 0.70, 0.00, 0.00, 0.00} %light-blue \definecolor{CD04}{cmyk}{ 0.00, 0.00, 0.00, 0.60} %light-grey \newcommand{\Titelseite}[1]{ \begin{tikzpicture}[remember picture,overlay] \node[anchor=south east, align=right, yshift=0.03\paperwidth, xshift=-0.066\paperwidth] at (current page.south east) { \includegraphics[height=0.05\paperheight]{mathebanner} }; \node[anchor=north west, align=left, yshift=-0.05\paperwidth, xshift=0.05\paperwidth] at (current page.north west) { \includegraphics[width=0.280\paperwidth]{logo_uni} }; #1 \end{tikzpicture} } \newcommand{\TextKreis}[7]{ \node[minimum size=#3mm, circle,fill=#4,anchor=center, yshift=#2mm, xshift=#1mm] at (current page.south west) {\parbox{#5mm}{\centering\color{#6} #7}}; } \newcommand{\TextBlock}[4]{ \node[anchor=center,yshift=#2mm, xshift=#1mm] at (current page.south west) {\parbox{#3mm}{\centering\color{white} #4}}; } \newcommand{\SetCoverNew} { \Titelseite{% \sffamily % TextKreis{Mitte x}{Mitte y}{Minimaler % Durchmesser}{Fuellfarbe}{Parbox-Breite}{Text} Groessenangaben in % mm vom unteren linken Rand aus \TextKreis{130}{160}{210}{CD03}{125}{black}{} %{\Huge \flushright \CoverTitle\\[2ex] \huge \CoverAuthors} %Original %\TextBlock{125}{160}{120}{\Huge \flushright \color{CD01} \bfseries\CoverTitle\\[2ex] % \huge \CoverAuthors} % 3. Argument = Breite der parbox für den Text, Standard=120 \TextBlock{125}{160}{120}{\Huge \flushright \color{CD01} \bfseries\CoverTitle\\[2ex] % hier parbox-Breite 100mm für Autoren-Block \huge {\parbox{100mm}{\flushright \CoverAuthors}} } \TextKreis{60}{65}{60}{CD01}{60}{CD00}{\Huge Stuttgarter Mathematische Berichte \\[5mm] \huge \CoverYear-\CoverNumber} } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5 %%-mS-% use precisely the same text/formatting as in \SetCover : \newcommand{\SetInside} {\vspace*{-44\unitlength}% \hspace*{-32\unitlength}% \begin{overpic}[width = 1.23\backgroundwidth]{fbm-unilogo-empty} \put(12, 70){% \begin{minipage}[t]{\covertextwidth} \begin{minipage}[c]{0.49\textwidth} \CoverHugebf Universit\"at\\ Stuttgart \end{minipage} \hfill \begin{minipage}[c]{0.49\textwidth} \begin{flushright} \CoverHugebf Fachbereich\\ Mathematik \end{flushright} \end{minipage}\\ \vspace*{20mm}\\ \HRule \begin{flushright} {\Coverhuge \CoverTitle\\[1ex]} {\CoverLarge \CoverAuthors}\\ \end{flushright} \HRule \vspace*{120mm} \begin{flushright} \Coverhugebf Preprint \CoverYear-\CoverNumber \end{flushright} \end{minipage} } \end{overpic} } \newcommand{\SetImpressum} { \hspace*{-\coverhoffset} \begin{minipage}{.95\covertextwidth} \Covernormal \vspace*{15mm} \vspace*{\fill} Fachbereich Mathematik\\ Fakult\"at Mathematik und Physik\\ Universit\"at Stuttgart\\ Pfaffenwaldring 57\\ D-70\,569 Stuttgart\\[5mm] \@EMail{preprints@mathematik.uni-stuttgart.de}\\ \@WWW{http://www.mathematik.uni-stuttgart.de/preprints}\\[5mm] ISSN {\Covernormalbf 1613-8309}\\[5mm] \copyright \, Alle Rechte vorbehalten. Nachdruck nur mit Genehmigung des Autors.\\ \LaTeX{}-Style: Winfried Geis, Thomas Merkle, J\"urgen Dippon \end{minipage} } \AtBeginDocument { \newlength{\tmpparindent} \setlength{\tmpparindent}{\parindent} \setlength{\parindent}{0mm} \thispagestyle{empty} \SetCoverNew \newpage{\thispagestyle{empty}\vspace*{20mm}} % \newpage % \thispagestyle{empty} % \SetInside % \newpage \thispagestyle{empty} \vspace*{\fill} \begin{flushleft} \SetImpressum \end{flushleft} \newpage \setlength{\parindent}{\tmpparindent} %%-mS-% start with page 1 ... \setcounter{page}{1} } %% -mS-% the following appears to behave differently %% -mS-% with latex vs. pdflatex: \AtEndDocument{% \setlength{\parindent}{0mm} \vspace*{10mm} \@SetCoverAddresses \include{\CoverYear -\CoverNumber} } \ifx\undefined\href \newcommand{\preprintslink}[1]{{\Covertt #1}} \newcommand{\preprintlink}[2]{{\Covernormal #1-#2}} \else \newcommand{\preprintslink}[1]{\href{#1}{\Covertt #1}} \newcommand{\preprintlink}[2]{\href{http://www.mathematik.uni-stuttgart.de/preprints/downloads/#1/#1-#2.pdf}{\Covernormal#1-#2}} \fi \newenvironment{simplelist}{% \begin{list}{$\bullet$}{% \setlength{\parsep}{0ex}% \setlength{\labelwidth}{17mm}% \setlength{\leftmargin}{\labelwidth}% }}{\end{list}} %%% Local Variables: %%% mode: latex %%% End: