mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 10:20:08 +00:00
started cleaning up...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
37f43f631d
commit
218e3c1965
@ -1435,7 +1435,7 @@
|
|||||||
%% \begin{minipage}{\textwidth}
|
%% \begin{minipage}{\textwidth}
|
||||||
%% \begin{verbatim}
|
%% \begin{verbatim}
|
||||||
%%
|
%%
|
||||||
%% [ above ]
|
%% [ over ]
|
||||||
%% +-----------------+
|
%% +-----------------+
|
||||||
%% |[ top ]|
|
%% |[ top ]|
|
||||||
%% | |
|
%% | |
|
||||||
@ -1446,7 +1446,7 @@
|
|||||||
%% | |
|
%% | |
|
||||||
%% |[ bottom ]|
|
%% |[ bottom ]|
|
||||||
%% +-----------------+
|
%% +-----------------+
|
||||||
%% [ below ]
|
%% [ under ]
|
||||||
%%
|
%%
|
||||||
%% \end{verbatim}
|
%% \end{verbatim}
|
||||||
%% \end{minipage}
|
%% \end{minipage}
|
||||||
@ -1466,7 +1466,7 @@
|
|||||||
\def\photobook@captioncell@format#1{%
|
\def\photobook@captioncell@format#1{%
|
||||||
\photobook@captioncell@formatTopAlign{#1}}
|
\photobook@captioncell@formatTopAlign{#1}}
|
||||||
|
|
||||||
\define@boolkey{captioncell@args}{above}[true]{%
|
\define@boolkey{captioncell@args}{over}[true]{%
|
||||||
\def\photobook@captioncell@format##1{%
|
\def\photobook@captioncell@format##1{%
|
||||||
\vspace{-\dimexpr \cellheight + 2\fboxsep \relax}%
|
\vspace{-\dimexpr \cellheight + 2\fboxsep \relax}%
|
||||||
\photobook@captioncell@formatBottomAlign{##1}}}
|
\photobook@captioncell@formatBottomAlign{##1}}}
|
||||||
@ -1487,7 +1487,7 @@
|
|||||||
\def\photobook@captioncell@format##1{%
|
\def\photobook@captioncell@format##1{%
|
||||||
\photobook@captioncell@formatBottomAlign{##1}}}
|
\photobook@captioncell@formatBottomAlign{##1}}}
|
||||||
|
|
||||||
\define@boolkey{captioncell@args}{below}[true]{%
|
\define@boolkey{captioncell@args}{under}[true]{%
|
||||||
\def\photobook@captioncell@format##1{%
|
\def\photobook@captioncell@format##1{%
|
||||||
\vspace{\dimexpr \cellheight + 2\fboxsep \relax}%
|
\vspace{\dimexpr \cellheight + 2\fboxsep \relax}%
|
||||||
\photobook@captioncell@formatTopAlign{##1}}}
|
\photobook@captioncell@formatTopAlign{##1}}}
|
||||||
@ -1554,7 +1554,8 @@
|
|||||||
% XXX do we need this???
|
% XXX do we need this???
|
||||||
% XXX revise caption for vertical images...
|
% XXX revise caption for vertical images...
|
||||||
\newcommand\cimagetocellfit[3][0mm]{%
|
\newcommand\cimagetocellfit[3][0mm]{%
|
||||||
\imagecell[center, clearance=#1]{\captioncellunder{#2}}{#3}}
|
\imagecell[center, clearance=#1]{%
|
||||||
|
\captioncell[under,align=flushright]{#2}}{#3}}
|
||||||
|
|
||||||
|
|
||||||
% XXX like fill but trim to cell...
|
% XXX like fill but trim to cell...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user