diff options
author | Karl Berry <karl@gnu.org> | 1998-05-27 21:04:33 +0000 |
---|---|---|
committer | Karl Berry <karl@gnu.org> | 1998-05-27 21:04:33 +0000 |
commit | a709205e81faceaad612e388c8f05b3b05495d44 (patch) | |
tree | a55e1ab7dbce4774b3d2e574ad927702b90f4495 | |
parent | 9391fb8e4ce004886701775af5f77d539d83c391 (diff) | |
download | gunmake-a709205e81faceaad612e388c8f05b3b05495d44.tar.gz |
* texinfo.tex (\imagexxx): Center image if it is not part of a
paragraph.
-rw-r--r-- | texinfo.tex | 7 |
1 files changed, 6 insertions, 1 deletions
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. |