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