X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=asciidoc-dblatex-custom.sty;h=7778cd8c713ba9a8875fd6c3c58dcb27c17df1a3;hp=d27e17abfddad5a60030dbe69963f02116e2f77d;hb=28d58d932354441b7234d2a6f2be7d2c57b5d25a;hpb=34ef065aac63f0e372510319ef4843b443c16a14 diff --git a/asciidoc-dblatex-custom.sty b/asciidoc-dblatex-custom.sty index d27e17a..7778cd8 100644 --- a/asciidoc-dblatex-custom.sty +++ b/asciidoc-dblatex-custom.sty @@ -30,20 +30,20 @@ \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]{proxmox-logo} \\ - \end{flushright} - \vspace*{2.5cm} + \vspace*{4cm} \sffamily \begin{center} {\Huge \bfseries \scshape \color{proxmoxred} \DBKtitle \\[1ex]\large ~~~ \\} @@ -56,6 +56,6 @@ {\Large \bfseries \sffamily Proxmox Server Solutions Gmbh \\ \color{proxmoxred} www.proxmox.com} \end{flushright} \vspace*{1cm} - \greyribbon + \drawtitlepage \pagebreak[4] }