mirror of
https://github.com/flynx/photobook.git
synced 2025-12-19 10:01:39 +00:00
started on bleed clipping...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2aa649c285
commit
c9a2565297
@ -1976,6 +1976,7 @@
|
|||||||
%
|
%
|
||||||
%% Clip content to parent cell.
|
%% Clip content to parent cell.
|
||||||
%%
|
%%
|
||||||
|
% clipbox args: l t w h
|
||||||
\newenvironment{cliptocell}{%
|
\newenvironment{cliptocell}{%
|
||||||
\begin{clipbox*}{0cm {\height - \cellheight} {\cellwidth} {\height}}%
|
\begin{clipbox*}{0cm {\height - \cellheight} {\cellwidth} {\height}}%
|
||||||
\begin{minipage}[t][\cellheight][t]{\cellwidth}%
|
\begin{minipage}[t][\cellheight][t]{\cellwidth}%
|
||||||
@ -1985,6 +1986,20 @@
|
|||||||
\end{clipbox*}}
|
\end{clipbox*}}
|
||||||
|
|
||||||
|
|
||||||
|
% XXX add args to offset the clip box...
|
||||||
|
% XXX merge with cliptocell...
|
||||||
|
\newenvironment{cliptocell*}[1][]{%
|
||||||
|
% XXX handle args...
|
||||||
|
% XXX keep content on the same sopt -- offset the content by offsets...
|
||||||
|
\begin{clipbox*}{0cm {\height - \cellheight} {\cellwidth} {\height}}%
|
||||||
|
\begin{minipage}[t][\cellheight][t]{\cellwidth}%
|
||||||
|
\ignorespaces%
|
||||||
|
}{%
|
||||||
|
\end{minipage}%
|
||||||
|
\end{clipbox*}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%% \DescribeMacro{\imagecell\{..\}}
|
%% \DescribeMacro{\imagecell\{..\}}
|
||||||
%
|
%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user