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:
parent
4a1641e333
commit
d02b77ff14
|
@ -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
|
||||
}}}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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{}
|
Loading…
Reference in a new issue