From f2949bdd3c6437b7192ec97a8300913ccd2810c4 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 26 Oct 2021 00:35:54 +0300 Subject: [PATCH] some cleanup... Signed-off-by: Alex A. Naanou --- photobook.cls | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/photobook.cls b/photobook.cls index 613866e..f617c01 100644 --- a/photobook.cls +++ b/photobook.cls @@ -3109,18 +3109,25 @@ \end{tikzpicture}}}}}}} \ResetFoldMarks +% XXX EXPERIMENTAL... +% ...if used, replace \foldmarksize with \photobook@foldmarksize... +\newcommand\setfoldmarksize[1]{% + \setlength\foldmarksize{#1}% + %\edef\photobook@foldmarksize{#1}% + \ResetFoldMarks} + % >> \foldinmark[] \newcommand\foldinmark[1][0pt]{% - %\vspace{#1}% % XXX MARKOFFSET for some reason splitting this (# kept here while \foldmarksize % is in foldinmark) breaks alignment... + %\vspace{#1}% \vspace{\dimexpr 0.5\foldmarksize + #1 \relax}% \usebox\photobook@foldinmark} % >> \foldoutmark[] \newcommand\foldoutmark[1][0pt]{ - %\vspace{#1}% % XXX MARKOFFSET for some reason splitting this (# kept here while \foldmarksize % is in foldinmark) breaks alignment... + %\vspace{#1}% \vspace{\dimexpr 0.5\foldmarksize + #1 \relax}% \usebox\photobook@foldoutmark}