diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-16 02:21:15 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-16 02:21:15 +0000 |
| commit | dcbb171b48993b90259f595bd95ea2273fd638be (patch) | |
| tree | 7505348460cb41d281b08242754b8bef9ec29500 | |
| parent | d5e18167122d584a8c0e5dbbcb0c3bca225cbff8 (diff) | |
| download | docutils-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.tex | 6 |
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}% } |
