From 12372868dcef43b25fba8b547b8ef2fbb33690c6 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Mon, 7 Jul 2008 13:11:08 +0000 Subject: ptptex v0.95 2004/05/24 git-svn-id: svn://tug.org/texlive/trunk@9331 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ptptex/wrapft.sty | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/ptptex') diff --git a/Master/texmf-dist/tex/latex/ptptex/wrapft.sty b/Master/texmf-dist/tex/latex/ptptex/wrapft.sty index cba2177f7c5..9bfd271bda2 100644 --- a/Master/texmf-dist/tex/latex/ptptex/wrapft.sty +++ b/Master/texmf-dist/tex/latex/ptptex/wrapft.sty @@ -1,15 +1,15 @@ -\ProvidesPackage{wrapft}[2004/04/12 ver.0.9] +\ProvidesPackage{wrapft}[2004/05/24 ver.0.95] \RequirePackage{wrapfig}[1999/10/12 \space v 3.3] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newdimen\WF@hsep %horizontal separation between fig and text -\newdimen\WF@vsep %vspace on the top and the bottom of the figure -\WF@hsep=1.6\columnsep -\WF@vsep=\intextsep +\newdimen\WFcolsep %horizontal separation between fig and text +\newdimen\WFtextsep %vspace on the top and the bottom of the figure +\WFcolsep=1.6\columnsep +\WFtextsep=\intextsep %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\WF@rapt[#1]#2{% final two args: #1 = overhang, #2 = width, \ifnum `c=\WF@place % fig in the center \@tempdima\hsize \advance\@tempdima-#2 \divide\@tempdima\tw@ - \vskip\WF@vsep + \vskip\WFtextsep \noindent \hspace*{\@tempdima}\begin{minipage}[t]{#2}% \else \gdef\WF@ovh{#1}% hold overhang for later, when \width is known @@ -21,13 +21,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \let\WF@@putfigmaybe\WF@putfigmaybe \def\WF@putfigmaybe{% - \columnsep \WF@hsep \intextsep \WF@vsep + \columnsep \WFcolsep \intextsep \WFtextsep \WF@@putfigmaybe} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \let\@endwr@pfigure\endwrapfigure \def\endwrapfigure{% \ifnum `c=\WF@place % fig in the center - \end{minipage} \vskip\WF@vsep + \end{minipage} \vskip\WFtextsep \else \@endwr@pfigure \fi} -- cgit v1.2.3