summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-05-16 02:21:15 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-05-16 02:21:15 +0000
commitdcbb171b48993b90259f595bd95ea2273fd638be (patch)
tree7505348460cb41d281b08242754b8bef9ec29500
parentd5e18167122d584a8c0e5dbbcb0c3bca225cbff8 (diff)
downloaddocutils-dcbb171b48993b90259f595bd95ea2273fd638be.tar.gz
added \Dfloatimagetopmargin and \Dfloatimagebottommargin
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3344 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--docutils/tools/stylesheets/latex.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/docutils/tools/stylesheets/latex.tex b/docutils/tools/stylesheets/latex.tex
index c76171e1f..d94be959d 100644
--- a/docutils/tools/stylesheets/latex.tex
+++ b/docutils/tools/stylesheets/latex.tex
@@ -895,6 +895,8 @@
}%
}
\Dprovidelength{\Dfloatimagevmargin}{0pt}
+\providecommand{\Dfloatimagetopmargin}{\Dfloatimagevmargin}
+\providecommand{\Dfloatimagebottommargin}{\Dfloatimagevmargin}
\providecommand{\Dwidthimage}[2]{%
% Image with specified width.
% Parameters:
@@ -907,12 +909,12 @@
% Compensate for space previously added in \Dhalign, but not
% entirely.
\vspace*{2.5pt}%
- \vspace*{\Dfloatimagevmargin}%
+ \vspace*{\Dfloatimagetopmargin}%
}{}%
\includegraphics[width=\linewidth,height=\textheight,keepaspectratio]{#2}%
\ifthenelse{\equal{\Dinsidehalign}{true}}{%
\vspace*{1.5pt}%
- \vspace*{\Dfloatimagevmargin}%
+ \vspace*{\Dfloatimagebottommargin}%
}{}%
\end{minipage}%
}