mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 10:20:08 +00:00
reworked fold marks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
32cb31e702
commit
8b0b07d33c
@ -17,7 +17,6 @@
|
|||||||
9pt,final,openany
|
9pt,final,openany
|
||||||
]{photobook}
|
]{photobook}
|
||||||
|
|
||||||
|
|
||||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|||||||
@ -18,8 +18,6 @@
|
|||||||
9pt,final,openany
|
9pt,final,openany
|
||||||
]{photobook}
|
]{photobook}
|
||||||
|
|
||||||
\edef\foldmarkoffset{-10mm}
|
|
||||||
|
|
||||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|||||||
@ -42,9 +42,13 @@
|
|||||||
\ImagePageFill{\PageInfo}{\TestImage}
|
\ImagePageFill{\PageInfo}{\TestImage}
|
||||||
\end{foldout}
|
\end{foldout}
|
||||||
|
|
||||||
|
|
||||||
\emptypage
|
\emptypage
|
||||||
\emptypage
|
\emptypage
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{foldout}[in out]
|
\begin{foldout}[in out]
|
||||||
auto-calculate
|
auto-calculate
|
||||||
\end{foldout}
|
\end{foldout}
|
||||||
@ -68,11 +72,7 @@
|
|||||||
%
|
%
|
||||||
\begin{foldoutcell*}
|
\begin{foldoutcell*}
|
||||||
\begin{cliptocell}
|
\begin{cliptocell}
|
||||||
\begin{bottomup}
|
\imagecell[fill, right, offsetleft=\bleed]{}{\TestImage}
|
||||||
\lipsum
|
|
||||||
\lipsum
|
|
||||||
\lipsum
|
|
||||||
\end{bottomup}
|
|
||||||
\end{cliptocell}
|
\end{cliptocell}
|
||||||
\end{foldoutcell*}
|
\end{foldoutcell*}
|
||||||
%
|
%
|
||||||
|
|||||||
216
photobook.cls
216
photobook.cls
@ -27,8 +27,6 @@
|
|||||||
%
|
%
|
||||||
%
|
%
|
||||||
% XXX revise \clearcaption / \captionclearpage...
|
% XXX revise \clearcaption / \captionclearpage...
|
||||||
% XXX add marks -- \ShowMarks{..}
|
|
||||||
% XXX add fold support...
|
|
||||||
% XXX unify API -- see CellContent env...
|
% XXX unify API -- see CellContent env...
|
||||||
% XXX make this loadable both as a class and as a package...
|
% XXX make this loadable both as a class and as a package...
|
||||||
% \@ifclassloaded{photobook}{<true>}{<false>}
|
% \@ifclassloaded{photobook}{<true>}{<false>}
|
||||||
@ -171,7 +169,6 @@
|
|||||||
%% \DescribeMacro{blockheight=<len>}
|
%% \DescribeMacro{blockheight=<len>}
|
||||||
%% \DescribeMacro{bindingoffset=<len>}
|
%% \DescribeMacro{bindingoffset=<len>}
|
||||||
%% \DescribeMacro{bleed=<len>}
|
%% \DescribeMacro{bleed=<len>}
|
||||||
%% \DescribeMacro{flatfold=<len>}
|
|
||||||
%
|
%
|
||||||
%% This is similar to what |geometry| does, but adds bleed support.
|
%% This is similar to what |geometry| does, but adds bleed support.
|
||||||
%%
|
%%
|
||||||
@ -204,9 +201,6 @@
|
|||||||
%% \end{verbatim}
|
%% \end{verbatim}
|
||||||
%% \end{minipage}
|
%% \end{minipage}
|
||||||
%%
|
%%
|
||||||
%% |flatfold| sets the clearance set aside for a flat fold, used for
|
|
||||||
%% foldouts (see: \nameref{subsec:Foldout page cells} section).
|
|
||||||
%%
|
|
||||||
% NOTE: if blockwidth/blockheight are set they will force recalculations
|
% NOTE: if blockwidth/blockheight are set they will force recalculations
|
||||||
% and overriding of the paperwidth/paperheight if they were changed
|
% and overriding of the paperwidth/paperheight if they were changed
|
||||||
% by the user code anywhere between \documentclass[..]{photobook}
|
% by the user code anywhere between \documentclass[..]{photobook}
|
||||||
@ -215,8 +209,23 @@
|
|||||||
\DeclareStringOption{blockheight}
|
\DeclareStringOption{blockheight}
|
||||||
\DeclareStringOption[0pt]{bindingoffset}[10mm]
|
\DeclareStringOption[0pt]{bindingoffset}[10mm]
|
||||||
\DeclareStringOption[5mm]{bleed}[5mm]
|
\DeclareStringOption[5mm]{bleed}[5mm]
|
||||||
|
|
||||||
|
%% \DescribeMacro{flatfold=<len>}
|
||||||
|
%
|
||||||
|
%% Sets the clearance set aside for a flat fold, used for foldouts
|
||||||
|
%% (see: \nameref{subsec:Foldout page cells} section).
|
||||||
|
%%
|
||||||
\DeclareStringOption[0pt]{flatfold}[0.2mm]
|
\DeclareStringOption[0pt]{flatfold}[0.2mm]
|
||||||
|
|
||||||
|
%% \DescribeMacro{pagefold=<fold>}
|
||||||
|
%
|
||||||
|
%% Sets the default fold type.
|
||||||
|
%%
|
||||||
|
%% Can be |in| or |out|.
|
||||||
|
%%
|
||||||
|
% XXX check values...
|
||||||
|
\DeclareStringOption{pagefold}
|
||||||
|
|
||||||
|
|
||||||
%%%%% layout
|
%%%%% layout
|
||||||
%
|
%
|
||||||
@ -440,6 +449,14 @@
|
|||||||
|
|
||||||
%%%%% Other options
|
%%%%% Other options
|
||||||
%
|
%
|
||||||
|
%% \DescribeMacro{nofoldmarks}
|
||||||
|
%
|
||||||
|
%% If given disable fold marks.
|
||||||
|
%%
|
||||||
|
%% This sets |\iffoldmarks| to false, otherwise it is set to true.
|
||||||
|
%%
|
||||||
|
\DeclareBoolOption{nofoldmarks}
|
||||||
|
|
||||||
%% \DescribeMacro{geometrynodefaults}
|
%% \DescribeMacro{geometrynodefaults}
|
||||||
%
|
%
|
||||||
%% let the user set geometry defaults.
|
%% let the user set geometry defaults.
|
||||||
@ -456,7 +473,6 @@
|
|||||||
%%
|
%%
|
||||||
\DeclareBoolOption{geometrynodefaults}
|
\DeclareBoolOption{geometrynodefaults}
|
||||||
|
|
||||||
|
|
||||||
%% \DescribeMacro{roundprintedlengthsto=<num>}
|
%% \DescribeMacro{roundprintedlengthsto=<num>}
|
||||||
%
|
%
|
||||||
%% Number of digits to round printed lengths to (default: 1).
|
%% Number of digits to round printed lengths to (default: 1).
|
||||||
@ -511,6 +527,7 @@
|
|||||||
\RequirePackage{adjustbox}
|
\RequirePackage{adjustbox}
|
||||||
\RequirePackage[absolute]{textpos}
|
\RequirePackage[absolute]{textpos}
|
||||||
\RequirePackage{fancyvrb}
|
\RequirePackage{fancyvrb}
|
||||||
|
\RequirePackage{tikz}
|
||||||
%\RequirePackage[linewidth=1pt]{mdframed}
|
%\RequirePackage[linewidth=1pt]{mdframed}
|
||||||
% XXX flow text frames...
|
% XXX flow text frames...
|
||||||
% XXX this messes with geometry....
|
% XXX this messes with geometry....
|
||||||
@ -642,27 +659,51 @@
|
|||||||
\newlength\flatfold
|
\newlength\flatfold
|
||||||
\setlength\flatfold{\photobook@flatfold}
|
\setlength\flatfold{\photobook@flatfold}
|
||||||
|
|
||||||
%% \DescribeMacro{\pagefoldpanels=<list>}
|
%% \DescribeMacro{\pagefold=<fold>}
|
||||||
%
|
%
|
||||||
%% \EXPERIMENTAL
|
%% Default fold type.
|
||||||
%%
|
%%
|
||||||
%% lists page fold offsets.
|
%% This defaults to |out| for |jacket| and |cover| and to |in| for other
|
||||||
|
%% layouts.
|
||||||
%%
|
%%
|
||||||
%% This is set automatically for layouts other than |block| and for
|
\newcommand\photobook@setpagefold[1]{%
|
||||||
%% foldout pages, changing this can mess up fold markers and page cell
|
\edef\pagefold{
|
||||||
%% placement.
|
\ifx \photobook@pagefold \empty%
|
||||||
%%
|
#1%
|
||||||
% XXX use this instead of \foldoutcellwidths...
|
\else%
|
||||||
%\setsepchar{,}
|
\photobook@pagefold\fi}}
|
||||||
%\readlist*\pagefoldpanels{}
|
\photobook@setpagefold{in}
|
||||||
\def\pagefoldpanels{}
|
|
||||||
|
|
||||||
|
%% \DescribeMacro{\iffoldmarks}
|
||||||
|
%
|
||||||
|
%% Disable/enable fold marks.
|
||||||
|
%%
|
||||||
|
%% The default is true, to toggle on/off use |\foldmarkstrue| / |\foldmarksfalse|.
|
||||||
|
%%
|
||||||
|
%% This can be set globally via the |nofoldmarks| class option.
|
||||||
|
%%
|
||||||
|
\newif\iffoldmarks
|
||||||
|
\ifphotobook@nofoldmarks%
|
||||||
|
\foldmarksfalse%
|
||||||
|
\else%
|
||||||
|
\foldmarkstrue\fi%
|
||||||
|
|
||||||
|
%% \DescribeMacro{\pagefoldpanels=<list>}
|
||||||
%% \DescribeMacro{\pagefoldpanelfolds=<list>}
|
%% \DescribeMacro{\pagefoldpanelfolds=<list>}
|
||||||
%
|
%
|
||||||
%% \EXPERIMENTAL
|
%% \EXPERIMENTAL
|
||||||
%%
|
%%
|
||||||
%% lists sequence of page fold types (|in|/|out|).
|
%% lists page folded panel widths and fold types respectively.
|
||||||
%%
|
%%
|
||||||
|
%% |pagefoldpanels| is set automatically for layouts other than |block|
|
||||||
|
%% and for foldout pages, changing this can mess up fold markers and
|
||||||
|
%% page cell placement.
|
||||||
|
%%
|
||||||
|
%% |pagefoldpanelfolds| is generated when creating a foldout.
|
||||||
|
%%
|
||||||
|
% XXX add a generic panel constructor..
|
||||||
|
% \foldedcell[<height>]{<index>}
|
||||||
|
\def\pagefoldpanels{}
|
||||||
\def\pagefoldpanelfolds{}
|
\def\pagefoldpanelfolds{}
|
||||||
|
|
||||||
%% \DescribeMacro{\clearimage=<len>}
|
%% \DescribeMacro{\clearimage=<len>}
|
||||||
@ -763,13 +804,19 @@
|
|||||||
|
|
||||||
|
|
||||||
%% \DescribeMacro{\clearfoldoutbinding=<len>}
|
%% \DescribeMacro{\clearfoldoutbinding=<len>}
|
||||||
%% \DescribeMacro{\clearfoldoutedge=<len>}
|
|
||||||
%% \DescribeMacro{\clearfoldoutfold=<len>}
|
%% \DescribeMacro{\clearfoldoutfold=<len>}
|
||||||
|
%% \DescribeMacro{\clearfoldoutedge=<len>}
|
||||||
%
|
%
|
||||||
%% Foldout geometry.
|
%% Foldout geometry.
|
||||||
%%
|
%%
|
||||||
%% For more info see \nameref{subsec:Foldout page cells} section.
|
%% For more info see \nameref{subsec:Foldout page cells} section.
|
||||||
%%
|
%%
|
||||||
|
\newlength\clearfoldoutbinding
|
||||||
|
\setlength\clearfoldoutbinding{8mm}
|
||||||
|
\newlength\clearfoldoutfold
|
||||||
|
\setlength\clearfoldoutfold{5mm}
|
||||||
|
\newlength\clearfoldoutedge
|
||||||
|
\setlength\clearfoldoutedge{1mm}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -853,20 +900,22 @@
|
|||||||
\setlength\pageblockwidth{\blockwidth}
|
\setlength\pageblockwidth{\blockwidth}
|
||||||
% layout: cover...
|
% layout: cover...
|
||||||
\ifcoverlayout
|
\ifcoverlayout
|
||||||
% XXX use this instead of \foldoutcellwidths...
|
|
||||||
% XXX use this for the general cell placement...
|
|
||||||
\setsepchar{,}%
|
\setsepchar{,}%
|
||||||
\readlist*\pagefoldpanels{%
|
\readlist*\pagefoldpanels{%
|
||||||
\the\coverflap,
|
\the\coverflap,
|
||||||
\the\coverboardgrow,
|
% board thickness is ignored...
|
||||||
\the\blockwidth,
|
\the\dimexpr
|
||||||
|
\coverboardgrow
|
||||||
|
+ \pageblockwidth \relax,
|
||||||
\the\spinefold,
|
\the\spinefold,
|
||||||
\the\spinewidth,
|
\the\spinewidth,
|
||||||
\the\spinefold,
|
\the\spinefold,
|
||||||
\the\blockwidth,
|
\the\dimexpr
|
||||||
\the\coverboardgrow,
|
\coverboardgrow
|
||||||
|
+ \pageblockwidth \relax,
|
||||||
|
% board thickness is ignored...
|
||||||
\the\coverflap}%
|
\the\coverflap}%
|
||||||
\edef\foldoutfold{out}
|
\photobook@setpagefold{out}
|
||||||
\setlength\blockwidth{
|
\setlength\blockwidth{
|
||||||
\dimexpr
|
\dimexpr
|
||||||
2\blockwidth
|
2\blockwidth
|
||||||
@ -877,25 +926,26 @@
|
|||||||
% layout: jacket...
|
% layout: jacket...
|
||||||
% XXX this seems to be about 6mm off -- what are we missing here???
|
% XXX this seems to be about 6mm off -- what are we missing here???
|
||||||
\ifjacketlayout
|
\ifjacketlayout
|
||||||
% XXX use this instead of \foldoutcellwidths...
|
|
||||||
% XXX use this for the general cell placement...
|
|
||||||
\setsepchar{,}%
|
\setsepchar{,}%
|
||||||
\readlist*\pagefoldpanels{%
|
\readlist*\pagefoldpanels{%
|
||||||
\the\jacketflapback,
|
\the\jacketflapback,
|
||||||
\the\jacketwrap,
|
\the\jacketwrap,
|
||||||
% XXX does this account for \coverboardgrow???
|
\the\dimexpr
|
||||||
\the\blockwidth,
|
\coverboardgrow
|
||||||
|
+ \pageblockwidth \relax,
|
||||||
\the\spinefold,
|
\the\spinefold,
|
||||||
\the\spinewidth,
|
\the\spinewidth,
|
||||||
\the\spinefold,
|
\the\spinefold,
|
||||||
% XXX does this account for \coverboardgrow???
|
\the\dimexpr
|
||||||
\the\blockwidth,
|
\coverboardgrow
|
||||||
|
+ \pageblockwidth \relax,
|
||||||
\the\jacketwrap,
|
\the\jacketwrap,
|
||||||
\the\jacketflapfront}%
|
\the\jacketflapfront}%
|
||||||
\edef\foldoutfold{out}
|
\photobook@setpagefold{out}
|
||||||
\setlength\blockwidth{
|
\setlength\blockwidth{
|
||||||
\dimexpr
|
\dimexpr
|
||||||
2\blockwidth
|
2\blockwidth
|
||||||
|
+ 2\coverboardgrow
|
||||||
+ \spinewidth
|
+ \spinewidth
|
||||||
+ 2\spinefold
|
+ 2\spinefold
|
||||||
+ 2\jacketwrap
|
+ 2\jacketwrap
|
||||||
@ -903,12 +953,10 @@
|
|||||||
+ \jacketflapback \relax}\fi
|
+ \jacketflapback \relax}\fi
|
||||||
% layout: endpaper...
|
% layout: endpaper...
|
||||||
\ifendpaperlayout
|
\ifendpaperlayout
|
||||||
% XXX use this instead of \foldoutcellwidths...
|
|
||||||
% XXX use this for the general cell placement...
|
|
||||||
\readlist*\pagefoldpanels{%
|
\readlist*\pagefoldpanels{%
|
||||||
\the\blockwidth,
|
\the\pageblockwidth,
|
||||||
\the\blockwidth}%
|
\the\pageblockwidth}%
|
||||||
\edef\foldoutfold{in}
|
\photobook@setpagefold{in}
|
||||||
\setlength\blockwidth{ 2\blockwidth }\fi\fi
|
\setlength\blockwidth{ 2\blockwidth }\fi\fi
|
||||||
\ifdim\blockheight=0pt
|
\ifdim\blockheight=0pt
|
||||||
% layout: block / endpaper...
|
% layout: block / endpaper...
|
||||||
@ -2937,74 +2985,70 @@
|
|||||||
%%
|
%%
|
||||||
%% The size of the paper fold is set by |\flatfold|.
|
%% The size of the paper fold is set by |\flatfold|.
|
||||||
%%
|
%%
|
||||||
% XXX move to globals...
|
% XXX move these to globals...
|
||||||
% XXX revise defaults...
|
|
||||||
\newlength\clearfoldoutbinding
|
|
||||||
\setlength\clearfoldoutbinding{8mm}
|
|
||||||
\newlength\clearfoldoutfold
|
|
||||||
\setlength\clearfoldoutfold{5mm}
|
|
||||||
\newlength\clearfoldoutedge
|
|
||||||
\setlength\clearfoldoutedge{1mm}
|
|
||||||
|
|
||||||
\newlength\foldoutwidth
|
\newlength\foldoutwidth
|
||||||
\setlength\foldoutwidth{\blockwidth}
|
\setlength\foldoutwidth{\blockwidth}
|
||||||
|
|
||||||
% default fold setup...
|
% default fold setup...
|
||||||
\edef\foldoutspec{2}
|
\edef\foldoutspec{2}
|
||||||
|
|
||||||
% default fold type...
|
|
||||||
\edef\foldoutfold{in}
|
|
||||||
|
|
||||||
% XXX length or command???
|
% XXX length or command???
|
||||||
\def\foldmarkoffset{0.5\bleed}
|
\def\foldmarkoffset{0.5\bleed}
|
||||||
|
|
||||||
\newif\iffoldmarks
|
% draw in/out fold mark...
|
||||||
\foldmarkstrue
|
%
|
||||||
|
% >> \foldinmark[<baseline>]
|
||||||
|
% >> \foldoutmark[<baseline>]
|
||||||
|
%
|
||||||
|
% NOTE: these should be used in a box.
|
||||||
|
% NOTE: these are centered in origin.
|
||||||
|
% XXX these can affect the items after -- need to encapsulate...
|
||||||
|
% XXX doc...
|
||||||
|
\newcommand\foldinmark[1][0pt]{
|
||||||
|
\vspace{\dimexpr 3mm + #1 \relax}%
|
||||||
|
\smash{\makebox[0pt][l]{%
|
||||||
|
% a size-agnostic centering...
|
||||||
|
\hspace{-5mm}{\makebox[1cm][c]{%
|
||||||
|
\begin{tikzpicture}%
|
||||||
|
\draw[white, ultra thick] (-2mm,2mm) -- (0,0) -- (2mm,2mm);
|
||||||
|
\draw[white, ultra thick] (0,4mm) -- (0,-2mm);
|
||||||
|
\draw[black, thin] (-2mm,2mm) -- (0,0) -- (2mm,2mm);
|
||||||
|
\draw[black, thin] (0,4mm) -- (0,-2mm);
|
||||||
|
\end{tikzpicture}}}}}}
|
||||||
|
\newcommand\foldoutmark[1][0pt]{
|
||||||
|
\vspace{\dimexpr 3mm + #1 \relax}%
|
||||||
|
\smash{\makebox[0pt][l]{%
|
||||||
|
% a size-agnostic centering...
|
||||||
|
\hspace{-5mm}{\makebox[1cm][c]{%
|
||||||
|
\begin{tikzpicture}%
|
||||||
|
\draw[white, ultra thick] (-2mm,0) -- (0,2mm) -- (2mm,0);
|
||||||
|
\draw[white, ultra thick] (0,4mm) -- (0,-2mm);
|
||||||
|
\draw[black, thin] (-2mm,0) -- (0,2mm) -- (2mm,0);
|
||||||
|
\draw[black, thin] (0,4mm) -- (0,-2mm);
|
||||||
|
\end{tikzpicture}}}}}}
|
||||||
|
|
||||||
|
% >> \photobook@foldmark[<baseline>]{<type>}{<left>, <top>}
|
||||||
% XXX make this a tikz... (???)
|
|
||||||
% XXX should we replace in/out text with something like v and ^ ???
|
|
||||||
\newif\ifphotobook@foldmark@in
|
\newif\ifphotobook@foldmark@in
|
||||||
\newcommand\photobook@foldmark[3][\foldoutfold]{%
|
\newcommand\photobook@foldmark[3][0pt]{%
|
||||||
\begingroup%
|
\begingroup%
|
||||||
\ifnumodd{\thepage}{%
|
\ifnumodd{\thepage}{%
|
||||||
\ifthenelse{\equal{#1}{in}}{%
|
\ifthenelse{\equal{#2}{in}}{%
|
||||||
\photobook@foldmark@intrue}{%
|
\photobook@foldmark@intrue}{%
|
||||||
\photobook@foldmark@infalse}}{%
|
\photobook@foldmark@infalse}}{%
|
||||||
\ifthenelse{\equal{#1}{in}}{%
|
\ifthenelse{\equal{#2}{in}}{%
|
||||||
\photobook@foldmark@infalse}{%
|
\photobook@foldmark@infalse}{%
|
||||||
\photobook@foldmark@intrue}}%
|
\photobook@foldmark@intrue}}%
|
||||||
\begin{textblock*}{0pt}(#3)%
|
\begin{textblock*}{0pt}(#3)%
|
||||||
\setlength{\unitlength}{1mm}%
|
\ifphotobook@foldmark@in%
|
||||||
\begin{picture}(0, 0)(0,0)%
|
\foldinmark[#1]%
|
||||||
\color{white}
|
\else%
|
||||||
\thicklines
|
\foldoutmark[#1]\fi%
|
||||||
\put(0,0){\line(0,#2){4}}
|
|
||||||
\put(0, \numexpr #2 / 2 \relax){%
|
|
||||||
\circle*{1.5}}
|
|
||||||
\ifphotobook@foldmark@in
|
|
||||||
\put(1.5, \numexpr #2 / 2 - 1 \relax){\vee}
|
|
||||||
\else
|
|
||||||
\put(1.5, \numexpr #2 / 2 - 1 \relax){\wedge}\fi
|
|
||||||
\color{black}
|
|
||||||
\thinlines
|
|
||||||
\put(0,0){\line(0,#2){4}}
|
|
||||||
\put(0, \numexpr #2 / 2 \relax){%
|
|
||||||
\ifphotobook@foldmark@in
|
|
||||||
\circle{1.5}
|
|
||||||
\else
|
|
||||||
\circle*{1.5}\fi}
|
|
||||||
\ifphotobook@foldmark@in
|
|
||||||
\put(1.5, \numexpr #2 / 2 - 1 \relax){\vee}
|
|
||||||
\else
|
|
||||||
\put(1.5, \numexpr #2 / 2 - 1 \relax){\wedge}\fi
|
|
||||||
\end{picture}
|
|
||||||
\end{textblock*}%
|
\end{textblock*}%
|
||||||
\endgroup}
|
\endgroup}
|
||||||
\newcommand\photobook@topfoldmark[2][in]{%
|
\newcommand\photobook@topfoldmark[2][in]{%
|
||||||
\photobook@foldmark[#1]{3}{#2}}
|
\photobook@foldmark[-3mm]{#1}{#2}}
|
||||||
\newcommand\photobook@bottomfoldmark[2][in]{%
|
\newcommand\photobook@bottomfoldmark[2][in]{%
|
||||||
\photobook@foldmark[#1]{-3}{#2}}
|
\photobook@foldmark[3mm]{#1}{#2}}
|
||||||
% >> \photobook@markfold[<fold>]{<offset>}
|
% >> \photobook@markfold[<fold>]{<offset>}
|
||||||
\newcommand\photobook@markfold[2][in]{%
|
\newcommand\photobook@markfold[2][in]{%
|
||||||
\photobook@topfoldmark[#1]{
|
\photobook@topfoldmark[#1]{
|
||||||
@ -3123,7 +3167,7 @@
|
|||||||
% defaults...
|
% defaults...
|
||||||
\setcounter{photobook@foldoutpanel}{1}
|
\setcounter{photobook@foldoutpanel}{1}
|
||||||
\setlength\foldoutwidth{0pt}%
|
\setlength\foldoutwidth{0pt}%
|
||||||
\edef\photobook@foldout@prevfold{\foldoutfold}%
|
\edef\photobook@foldout@prevfold{\pagefold}%
|
||||||
%
|
%
|
||||||
% panel count...
|
% panel count...
|
||||||
\ifnum \photobook@foldout@argslen = 1%
|
\ifnum \photobook@foldout@argslen = 1%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user