mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 10:20:08 +00:00
52 lines
1.1 KiB
TeX
52 lines
1.1 KiB
TeX
%----------------------------------------------------------------------
|
|
|
|
\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}
|
|
|
|
|
|
\newlength\spacewidth
|
|
\newsavebox\spacebox
|
|
\newcommand\calcspacewidth{%
|
|
\sbox{\spacebox}{ }%
|
|
\setlength\spacewidth{\wd\spacebox}}
|
|
|
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
\begin{document}
|
|
|
|
%\TPoptions{showboxes=true}
|
|
|
|
\calcspacewidth
|
|
Space width: \the\spacewidth
|
|
|
|
\null
|
|
\newpage
|
|
|
|
\def\imageblockwidth{1}
|
|
\def\imageblockheight{1}
|
|
|
|
\imagepage{Caption}{DSC00403-2}
|
|
|
|
\imagepage{Caption}{DSC00403-2}
|
|
|
|
\imagepage{Caption}{DSC00403-2vert}
|
|
|
|
%\imagepage{Caption}{DSC00403-2}
|
|
%\imagepage{}{DSC00403-2vert}
|
|
|
|
\end{document}
|
|
|
|
|
|
%----------------------------------------------------------------------
|
|
% vim:set ts=4 sw=4 :
|