X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=asciidoc-dblatex-custom.sty;h=3afbff3415558099868024f2a99e99ec3247682d;hp=469d4e7fef918dfa34f427ffb9db515ff29cc1ba;hb=67ea62c95a6b831084aa2850df803c5abc281cc7;hpb=333a2f49350cb123de5fe19889f3bb02db342ce1 diff --git a/asciidoc-dblatex-custom.sty b/asciidoc-dblatex-custom.sty index 469d4e7..3afbff3 100644 --- a/asciidoc-dblatex-custom.sty +++ b/asciidoc-dblatex-custom.sty @@ -30,32 +30,33 @@ \definecolor{proxmoxred}{RGB}{229, 112, 0} \definecolor{proxmoxgrey1}{RGB}{229, 229, 229} -\def\greyribbon{ +\def\drawtitlepage{ \AddToShipoutPicture*{ - \put(0,\LenToUnit{2.5cm}){% + \put(0,\LenToUnit{2.5cm}){ {\color{proxmoxgrey1}\rule{\paperwidth}{22cm}}} + \put(\LenToUnit{\dimexpr(\paperwidth-11cm)}, + \LenToUnit{\dimexpr(\paperheight-3.5cm)}){ + \includegraphics[width=10cm]{proxmox-logo}} } } % custom cover page \def\DBKcover{ \thispagestyle{empty} - \begin{flushright} - \includegraphics[width=0.5\textwidth]{logo} \\ - \end{flushright} - \vspace*{2.5cm} + \vspace*{4cm} \sffamily \begin{center} - {\Huge \bfseries \scshape \color{proxmoxred} \DBKtitle \\[1ex]\large ~~~ \\} - {\Large \bfseries \scshape \DBKsubtitle \\[1ex]\large ~~~ \\} + {\Huge \bfseries \scshape \color{proxmoxred} \DBKtitle \\[0.5cm]} + {\Large \bfseries \scshape \DBKsubtitle \\[1cm]} {\includegraphics[width=132mm]{proxmox-ci-header} \\} \end{center} \vfill \begin{flushright} - {\Large \DBKdate \\} - {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh \\ \color{proxmoxred} www.proxmox.com} + {\Large \DBKdate \\ \medskip} + {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh \\ \medskip } + {\Large \bfseries \sffamily \color{proxmoxred} www.proxmox.com} \end{flushright} \vspace*{1cm} - \greyribbon + \drawtitlepage \pagebreak[4] }