mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 02:10:08 +00:00
added a two image page example...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
cda4f23fde
commit
4cbe57d351
46
examples/two-image-page.tex
Normal file
46
examples/two-image-page.tex
Normal file
@ -0,0 +1,46 @@
|
||||
%----------------------------------------------------------------------
|
||||
|
||||
\documentclass[
|
||||
layoutmode=block,
|
||||
% page size...
|
||||
blockwidth=240mm, blockheight=220mm,
|
||||
bleed=4mm,
|
||||
bindingoffset=5mm,
|
||||
% image block configuration...
|
||||
imageblockwidth=0.98, imageblockheight=0.98,
|
||||
imageblockoffsettop=-0,
|
||||
% misc...
|
||||
9pt,final,openany
|
||||
]{photobook}
|
||||
|
||||
\usepackage{lipsum}
|
||||
\usepackage{ragged2e}
|
||||
|
||||
|
||||
\setlength\parindent{0pt}
|
||||
|
||||
\edef\TestImage{DSC00403-2}
|
||||
\edef\TestImageV{DSC00403-2vert}
|
||||
|
||||
\writeimagelistfalse
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
||||
|
||||
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\begin{pagecell}%
|
||||
% XXX not sure why bleed compensation here is needed -- investigate...
|
||||
\begin{cell}{\bleed, 0mm}{0.5\cellwidth}{\cellheight}%
|
||||
\imagecell[fit]{\captioncell[over]{Right caption}}{\TestImage}%
|
||||
\end{cell}
|
||||
\begin{cell}{0.5\cellwidth + \bleed, 0mm}{0.5\cellwidth}{\cellheight}%
|
||||
\imagecell[fit]{\captioncell[under]{Right caption}}{\TestImage}%
|
||||
\end{cell}
|
||||
\end{pagecell}
|
||||
|
||||
|
||||
%----------------------------------------------------------------------
|
||||
\end{document} % vim:set ts=4 sw=4 :
|
||||
Loading…
x
Reference in New Issue
Block a user