3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2024-11-15 08:53:11 +01:00

fixed the crop markers (AGAIN!), includes scaling for ad, front and back cover

This commit is contained in:
Lucas Woltmann 2015-08-26 16:30:31 +02:00
parent 4a1641e333
commit d02b77ff14
3 changed files with 4 additions and 6 deletions

View file

@ -28,7 +28,7 @@ Powered by \LaTeX
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\dimen107,height=\dimen108,%
\includegraphics[width=\dimexpr(\paperwidth-4mm)\relax, height=\dimexpr(\paperheight-4mm)\relax,%
keepaspectratio]{cover/Hinten}%
\vfill
}}}

View file

@ -11,7 +11,6 @@
,showcrop
,verbose
]{geometry}
\renewcommand*{\chapterheadstartvskip}{}
\usepackage[parfill]{parskip}
@ -80,19 +79,18 @@
\pagestyle{plain}
\begin{document}
%Das Coverbild, oh gott o.O Aber es funktioniert
\newcommand\CoverPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,%
\includegraphics[width=\dimexpr(\paperwidth-4mm)\relax, height=\dimexpr(\paperheight-4mm)\relax,%
keepaspectratio]{cover/Vorne}%
\vfill
}}}
\thispagestyle{empty} %keine Seitenzahl
\AddToShipoutPicture*{\CoverPic}
\AddToShipoutPictureBG*{\CoverPic}
\mbox{} %brauche leeren Content für ne newpage
%\newpage

View file

@ -4,7 +4,7 @@
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\dimen107,height=\dimen108,keepaspectratio]{img/trans4mation.pdf}%
\includegraphics[width=\dimexpr(\paperwidth-4mm)\relax, height=\dimexpr(\paperheight-4mm)\relax, keepaspectratio]{img/trans4mation.pdf}%
\vfill
}}}
\mbox{}