mirror of
https://github.com/flynx/photobook.git
synced 2025-11-01 20:00:13 +00:00
notess and more testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4d745aa8e3
commit
50ea700b6e
@ -1124,7 +1124,7 @@
|
|||||||
%% \end{minipage}
|
%% \end{minipage}
|
||||||
%%
|
%%
|
||||||
%% Image position can be tweaked via |\vspace{..}| or |\hspace{..}|
|
%% Image position can be tweaked via |\vspace{..}| or |\hspace{..}|
|
||||||
%%
|
%
|
||||||
% XXX revise caption for vertical images...
|
% XXX revise caption for vertical images...
|
||||||
% XXX can't seem to get rid of small placement errors...
|
% XXX can't seem to get rid of small placement errors...
|
||||||
\newcommand\imagetocellfit[3][0mm]{%
|
\newcommand\imagetocellfit[3][0mm]{%
|
||||||
@ -1134,7 +1134,7 @@
|
|||||||
keepaspectratio,
|
keepaspectratio,
|
||||||
width=\dimexpr \cellwidth - ((#1) * 2) \relax,
|
width=\dimexpr \cellwidth - ((#1) * 2) \relax,
|
||||||
height=\dimexpr \cellheight - ((#1) * 2) \relax, ]{#3} }%
|
height=\dimexpr \cellheight - ((#1) * 2) \relax, ]{#3} }%
|
||||||
% place...
|
% place image...
|
||||||
% XXX for some odd reason without this the alignment completely breaks...
|
% XXX for some odd reason without this the alignment completely breaks...
|
||||||
\vspace{0pt}%
|
\vspace{0pt}%
|
||||||
\adjustbox{
|
\adjustbox{
|
||||||
@ -1142,6 +1142,9 @@
|
|||||||
% left...
|
% left...
|
||||||
{\dimexpr
|
{\dimexpr
|
||||||
% XXX where is this coming from???!
|
% XXX where is this coming from???!
|
||||||
|
% XXX setting margin-left to 0pt and setting center produces
|
||||||
|
% the same error...
|
||||||
|
% ...this is starting to look like a bug...
|
||||||
+1.5pt
|
+1.5pt
|
||||||
+0.5\cellwidth
|
+0.5\cellwidth
|
||||||
-0.5\wd\photobook@imagebox \relax}
|
-0.5\wd\photobook@imagebox \relax}
|
||||||
@ -1210,6 +1213,7 @@
|
|||||||
keepaspectratio,
|
keepaspectratio,
|
||||||
height=\dimexpr \cellheight - ((#1) * 2) \relax,]{#3} } \fi%
|
height=\dimexpr \cellheight - ((#1) * 2) \relax,]{#3} } \fi%
|
||||||
% place image...
|
% place image...
|
||||||
|
% XXX if this is removed things break...
|
||||||
\vspace{0pt}%
|
\vspace{0pt}%
|
||||||
\adjustbox{
|
\adjustbox{
|
||||||
margin=
|
margin=
|
||||||
@ -1219,7 +1223,7 @@
|
|||||||
+1.5pt
|
+1.5pt
|
||||||
+0.5\cellwidth
|
+0.5\cellwidth
|
||||||
-0.5\wd\photobook@imagebox \relax}
|
-0.5\wd\photobook@imagebox \relax}
|
||||||
0 0
|
0pt 0pt
|
||||||
% top...
|
% top...
|
||||||
{\dimxpr
|
{\dimxpr
|
||||||
+0.5\cellheight
|
+0.5\cellheight
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user