mirror of
https://github.com/flynx/photobook.git
synced 2025-10-28 18:00:10 +00:00
66 lines
1.5 KiB
TeX
66 lines
1.5 KiB
TeX
%----------------------------------------------------------------------
|
|
|
|
\documentclass[
|
|
layoutmode=endpaper,
|
|
% 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}
|
|
|
|
|
|
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
% the simplest way to fill...
|
|
\ImagePageFill{}{DSC00403-2}
|
|
|
|
|
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
% manual...
|
|
% NOTE: to fill the page the image cell needs to be placed relative to
|
|
% the page (papercell / pagecell) and not the text (page env)
|
|
\begin{page}
|
|
\begin{papercell}
|
|
\imagecell[fill, clearance=-\bleed]{}{DSC00403-2}
|
|
\end{papercell}
|
|
\end{page}
|
|
|
|
|
|
|
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
% control #1 -- works fine...
|
|
\begin{page}
|
|
\begin{leftside}
|
|
\imagecell[fit]{}{DSC00403-2}
|
|
\end{leftside}
|
|
\begin{rightside}
|
|
\imagecell[fit]{}{DSC00403-2}
|
|
\end{rightside}
|
|
\end{page}
|
|
|
|
|
|
\begin{page}
|
|
\begin{leftside*}
|
|
\imagecell[fill, right, clearance=\cliptocellclearances]{}{DSC00403-2}
|
|
\end{leftside*}
|
|
\begin{rightside*}
|
|
\imagecell[fill, left, clearance=\cliptocellclearances]{}{DSC00403-2}
|
|
\end{rightside*}
|
|
\end{page}
|
|
|
|
|
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
\GenerateTemplate
|
|
|
|
|
|
\end{document} %-------------------------------------------------------
|
|
% vim:set ts=4 sw=4 :
|