photobook/examples/custom-spread.tex
Alex A. Naanou 9bbd752c63 added public domain images...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-09-07 00:35:49 +03:00

59 lines
1.5 KiB
TeX

%----------------------------------------------------------------------
\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\textblockmargin
\setlength\textblockmargin{2mm}
% text at left...
\begin{spreadtopages}%
\begin{inlinecell}{0.25\cellwidth}{\cellheight}%
\lipsum
\end{inlinecell}%
\hspace{\textblockmargin}%
\begin{inlinecell}{0.75\cellwidth - \textblockmargin + \bleed}{\cellheight}%
\imagecell[fill]{}{landscape}%
\end{inlinecell}
\end{spreadtopages}
% text at right...
\begin{spreadtopages}%
\hspace{-\bleed}%
\begin{inlinecell}{0.75\cellwidth - \textblockmargin + \bleed}{\cellheight}%
\imagecell[fill]{}{landscape}%
\end{inlinecell}%
\hspace{\textblockmargin}%
\begin{inlinecell}{0.25\cellwidth}{\cellheight}%
\lipsum
\end{inlinecell}
\end{spreadtopages}
\end{document} %-------------------------------------------------------
% vim:set ts=4 sw=4 :