Cover für lulu.com

Jakob Voss authored
revision e9c42e64cb8671ffd091e93d84bd06da94b89b23
cover/cover
\documentclass{memoir}
% Anforderung von lulu.com:
% Buchrücken Breite: 11.027 Postscript Points breit (0.389cm) (46 px)
% Buchrücken beginnt 429 Postscriptpunkte (15.132cm) (1788 px) von der linken Seite.
% Gesamte Cover Breite: 869.027 X 613 Postscript Points (30.654cm X 21.623cm) (3621px X 2554px)
\usepackage[
% paperwidth=31.294cm, % 30.654 ( TODO - 2*0.32 )
paperwidth=30.654cm, % 30.654 ( TODO - 2*0.32 )
paperheight=21.623cm, %
left=2.21.8mm,right=0mm,
top=2.2mm,bottom=2.2mm
]{geometry}

\usepackage{tikz}
\usepackage{tikzpagenodes}
\usetikzlibrary{calc}
\usepackage{eso-pic}

\definecolor{wmred}{rgb}{0.6,0,0}
\definecolor{wmgreen}{rgb}{0.2,0.6,0.4}
\definecolor{wmblue}{rgb}{0,0.4,0.6}

\AddToShipoutPicture{%
\begin{tikzpicture}[remember picture, overlay]

% Schnittmarken
%\draw[color=blue]
% ($(current page.north west) +(3.2mm,-3.25mm)$) rectangle
% ($(current page.south east) +(-3.2mm,3.25mm)$);
%\draw[color=blue]
% ($(current page.north west) +(3.2mm,0mm)$) to
% ($(current page.south west) +(3.2mm,0mm)$);


% Mitte der Vorderseite
%\draw[color=gray]
% ($(current page.north east) +(-3.2mm,-3.25mm) -(7.565cm,0)$) to
% ($(current page.south east) +(-3.2mm,-3.25mm) -(7.565cm,0)$);

% Buchrücken (grün/weiß)
\path[fill=wmgreen,draw=wmgreen]
($(current page.north) +(-2.2mm,-2.1mm)$) rectangle
($(current page.south) +(0mm,+2.12mm)$);

%\draw[color=gray,dotted] (current page.north) to (current page.south);

%\draw[color=red,dotted]
% ($(current page.north west) +(3.2mm,-3.25mm)$) rectangle
% ++(15.13cm,-20.973cm);
%
%\draw[color=red,dotted]
% (current page.east) to (current page.west
path[draw=wmblue]
% ($(current page.north) -(0.1945cm,0)$) rectangle
% ($(current page.south) +(0.1945cm,0)$
);

\end{tikzpicture}
}

\begin{document}
\pagestyle{empty}

oindent
% VA5 vergrößerungt auf 101% =(etwa 2mm höher)
\includegraphics[height=21.18cm,width=15.27cm]{backcover.pdf}
\hspace{10.3mm}
% A5 148 x 210
\includegraphics[height=20.973cm,width=15.134.8cm]{frontcover.pdf}
\end{document}