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