mirror of
https://github.com/flynx/photobook.git
synced 2025-11-01 03:40:10 +00:00
added pagecell env...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
18454aa0bb
commit
14aaeb8db6
@ -47,7 +47,7 @@
|
|||||||
%% Note: all older templates/commnads/macros will get reworked soon! }
|
%% Note: all older templates/commnads/macros will get reworked soon! }
|
||||||
%%
|
%%
|
||||||
%%%% Usage
|
%%%% Usage
|
||||||
%%
|
%
|
||||||
%% >> \documentclass[<options>]{photobook}
|
%% >> \documentclass[<options>]{photobook}
|
||||||
%%
|
%%
|
||||||
%
|
%
|
||||||
@ -1005,6 +1005,31 @@
|
|||||||
\end{textblock*} }
|
\end{textblock*} }
|
||||||
|
|
||||||
|
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
%% \DescribeEnv{pagecell}
|
||||||
|
%
|
||||||
|
%% \begin{minipage}{\textwidth}
|
||||||
|
%% \begin{verbatim}
|
||||||
|
%%
|
||||||
|
%% +---------------+
|
||||||
|
%% | |
|
||||||
|
%% | |
|
||||||
|
%% | pagecell |
|
||||||
|
%% | |
|
||||||
|
%% | |
|
||||||
|
%% +---------------+
|
||||||
|
%%
|
||||||
|
%% \end{verbatim}
|
||||||
|
%% \end{minipage}
|
||||||
|
%%
|
||||||
|
% XXX
|
||||||
|
\newenvironment{pagecell}{%
|
||||||
|
\begin{cell}{\bleed, \bleed}{\pageblockwidth}{\pageblockheight}%
|
||||||
|
}{%
|
||||||
|
\end{cell} }
|
||||||
|
|
||||||
|
|
||||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
%%%%% Endpaper cells
|
%%%%% Endpaper cells
|
||||||
%
|
%
|
||||||
@ -1031,9 +1056,9 @@
|
|||||||
|
|
||||||
\NewEnviron{leftside}{%
|
\NewEnviron{leftside}{%
|
||||||
\ifendpaperlayout%
|
\ifendpaperlayout%
|
||||||
\begin{cell}{\bleed, \bleed}{\pageblockwidth}{\pageblockheight}%
|
\begin{pagecell}%
|
||||||
\BODY%
|
\BODY%
|
||||||
\end{cell} \fi }
|
\end{pagecell} \fi }
|
||||||
|
|
||||||
\NewEnviron{rightside}{%
|
\NewEnviron{rightside}{%
|
||||||
\ifendpaperlayout%
|
\ifendpaperlayout%
|
||||||
@ -1184,7 +1209,6 @@
|
|||||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
%%%%% Cell helper macros
|
%%%%% Cell helper macros
|
||||||
|
|
||||||
|
|
||||||
% XXX should digits/rounding be configurable???
|
% XXX should digits/rounding be configurable???
|
||||||
\newcommand\photobook@TemplateCell[2][mm]{
|
\newcommand\photobook@TemplateCell[2][mm]{
|
||||||
% XXX this seems to be bigger than the size given...
|
% XXX this seems to be bigger than the size given...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user