started on bleed clipping...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-04-18 12:36:33 +03:00
parent 2aa649c285
commit c9a2565297

View File

@ -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\{..\}}
% %