From: Karl Berry Date: Wed, 27 May 1998 21:04:33 +0000 (+0000) Subject: * texinfo.tex (\imagexxx): Center image if it is not part of a X-Git-Tag: 3.77~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a709205e81faceaad612e388c8f05b3b05495d44;p=platform%2Fupstream%2Fmake.git * texinfo.tex (\imagexxx): Center image if it is not part of a paragraph. --- diff --git a/texinfo.tex b/texinfo.tex index 7c39052..9573e23 100644 --- a/texinfo.tex +++ b/texinfo.tex @@ -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.