projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9391fb8
)
* texinfo.tex (\imagexxx): Center image if it is not part of a
author
Karl Berry
<karl@gnu.org>
Wed, 27 May 1998 21:04:33 +0000
(21:04 +0000)
committer
Karl Berry
<karl@gnu.org>
Wed, 27 May 1998 21:04:33 +0000
(21:04 +0000)
paragraph.
texinfo.tex
patch
|
blob
|
history
diff --git
a/texinfo.tex
b/texinfo.tex
index 7c390526480a451a0131942340b97e7f79f3bbfc..9573e2356288e26321a05a86d199a03f30bc5a49 100644
(file)
--- 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.