photobook/examples/custom-spread.tex

59 lines
1.5 KiB
TeX
Raw Normal View History

%----------------------------------------------------------------------
\documentclass[
layoutmode=block,
spinewidth=20mm,
spinefold=7mm,
coverboardgrow=3mm,
coverflap=17mm,
% page size...
blockwidth=240mm, blockheight=220mm,
bleed=4mm,
bindingoffset=5mm,
% image block configuration...
imageblockwidth=0.98, imageblockheight=0.98,
imageblockoffsettop=-0.1,
% misc...
9pt,final,openany
]{photobook}
\usepackage{lipsum}
\begin{document} %-----------------------------------------------------
\cleartoleftpage
% NOTE: this is just a trivial example, we are not formatting the text
% block here in any way nor are we pedantic about lengths...
\newlength\textbockmargin
\setlength\textbockmargin{2mm}
% text at left...
\begin{spreadtopages}%
\begin{inlinecell}{0.25\cellwidth}{\cellheight}%
\lipsum
\end{inlinecell}%
\hspace{\textbockmargin}%
\begin{inlinecell}{0.75\cellwidth - \textbockmargin + \bleed}{\cellheight}%
\imagecell[fill]{}{DSC00403-2}%
\end{inlinecell}
\end{spreadtopages}
% text at right...
\begin{spreadtopages}%
\hspace{-\bleed}%
\begin{inlinecell}{0.75\cellwidth - \textbockmargin + \bleed}{\cellheight}%
\imagecell[fill]{}{DSC00403-2}%
\end{inlinecell}%
\hspace{\textbockmargin}%
\begin{inlinecell}{0.25\cellwidth}{\cellheight}%
\lipsum
\end{inlinecell}
\end{spreadtopages}
\end{document} %-------------------------------------------------------
% vim:set ts=4 sw=4 :