diff --git a/examples/cover.tex b/examples/cover.tex index 17e27f1..fe3e8ff 100644 --- a/examples/cover.tex +++ b/examples/cover.tex @@ -25,24 +25,27 @@ \begin{frontcover} \begin{cliptocell}[0mm \coverflap] \imagecell[fill, clearance=-\coverflap]{}{DSC00403-2} + % title... + \begin{zinlinecell} + \begin{center} + \vfill + \color{white} + \Huge TITLE TEXT + \vfill + \end{center} + \end{zinlinecell} \end{cliptocell} \end{frontcover} - \begin{backcover} - \begin{cliptocell} - \imagecell[fill]{}{DSC00403-2} - \end{cliptocell} - \end{backcover} \begin{spine} - \begin{cliptocell} - \imagecell[fill]{}{DSC00403-2} + \begin{cliptocell}[0mm \coverflap] + \imagecell[fill, clearance=-\coverflap]{}{DSC00403-2} \end{cliptocell} \end{spine} - \begin{frontflap} - Some text - \end{frontflap} - \begin{backflap} - Some text - \end{backflap} + \begin{backcover} + \begin{cliptocell}[0mm \coverflap] + \imagecell[fill, clearance=-\coverflap]{}{DSC00403-2} + \end{cliptocell} + \end{backcover} \end{page} \end{document} diff --git a/photobook.cls b/photobook.cls index e61ccc0..1401666 100644 --- a/photobook.cls +++ b/photobook.cls @@ -1974,14 +1974,8 @@ %% >> \begin{cliptocell}[ ] ... \end{cliptocell} %% >> \begin{cliptocell}[ ] ... \end{cliptocell} %% -%\newenvironment{cliptocell}{% -% \begin{clipbox*}{0cm {\height - \cellheight} {\cellwidth} {\height}}% -% \begin{minipage}[t][\cellheight][t]{\cellwidth}% -% \ignorespaces% -%}{% -% \end{minipage}% -% \end{clipbox*}} - +%% Clipping to bleeds will not affect the cell content positioning. +%% \newlength\photobook@cliptocell@left \setlength\photobook@cliptocell@left{0mm}% \newlength\photobook@cliptocell@top @@ -2035,8 +2029,7 @@ \begin{clipbox*}{{-\photobook@cliptocell@left} % {\height - \cellheight - \photobook@cliptocell@bottom} % {\cellwidth + \photobook@cliptocell@right} % - {\height + \photobook@cliptocell@top} % - }% + {\height + \photobook@cliptocell@top}}% \begin{minipage}[t][\cellheight][t]{\cellwidth}% \ignorespaces% }{%