mirror of
				https://github.com/flynx/photobook.git
				synced 2025-11-04 05:10:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			TeX
		
	
	
	
	
	
			
		
		
	
	
			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]{}{DSC00403-2}%
 | 
						|
	\end{inlinecell}
 | 
						|
\end{spreadtopages}
 | 
						|
 | 
						|
% text at right...
 | 
						|
\begin{spreadtopages}%
 | 
						|
	\hspace{-\bleed}%
 | 
						|
	\begin{inlinecell}{0.75\cellwidth - \textblockmargin + \bleed}{\cellheight}%
 | 
						|
		\imagecell[fill]{}{DSC00403-2}%
 | 
						|
	\end{inlinecell}%
 | 
						|
	\hspace{\textblockmargin}%
 | 
						|
	\begin{inlinecell}{0.25\cellwidth}{\cellheight}%
 | 
						|
		\lipsum
 | 
						|
	\end{inlinecell}
 | 
						|
\end{spreadtopages}
 | 
						|
 | 
						|
 | 
						|
\end{document} %-------------------------------------------------------
 | 
						|
%                                                  vim:set ts=4 sw=4 :
 |