diff options
Diffstat (limited to 'macros/latex/contrib/photobook/photobook.cls')
-rw-r--r-- | macros/latex/contrib/photobook/photobook.cls | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/macros/latex/contrib/photobook/photobook.cls b/macros/latex/contrib/photobook/photobook.cls index 8f9da6cf24..fc9a349c3a 100644 --- a/macros/latex/contrib/photobook/photobook.cls +++ b/macros/latex/contrib/photobook/photobook.cls @@ -76,8 +76,8 @@ %%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the %%% code and the generated docs... -\edef\photobook@FILEVERSION{v0.1.10} -\edef\photobook@FILEDATE{2023-03-11} +\edef\photobook@FILEVERSION{v0.1.13} +\edef\photobook@FILEDATE{2023-03-13} %% \documentclass{ltxdoc} @@ -1156,6 +1156,19 @@ \InitPages% \ResetFoldMarks} +%% \DescribeMacro{\ChangeLayout} +% +%% Change document layout. +% +%% >> \ChangeLayout{<layoutmode>} +% +%% This is a shorthand for |\def\layoutmode{<layoutmode>}| and then +%% |\ReInitPages|, and as this is changing any other parameters that may +%% affect the layout, this should be done last. +%% +\newcommand\ChangeLayout[1]{% + \def\layoutmode{#1}% + \ReInitPages} %---------------------------------------------------------------------- |