* texinfo.tex (\imagexxx): Center image if it is not part of a

paragraph.
This commit is contained in:
Karl Berry 1998-05-27 21:04:33 +00:00
parent 9391fb8e4c
commit a709205e81

View file

@ -5012,7 +5012,12 @@ width0pt\relax} \fi
% \epsfbox itself resets \epsf?size at each figure.
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
\epsfbox{#1.eps}%
% If the image is by itself, center it.
\ifvmode
\centerline{\epsfbox{#1.eps}}%
\else
\epsfbox{#1.eps}%
\fi
}
% End of control word definitions.