On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz <[EMAIL PROTECTED]>:
> On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote:
> > The Q was: So really must I center them one-by-one???
> > And I also want to hear the answer.
>
> Looks like that.
Unfortunately!! :-(
AFAIK, this is becouse LaTeX doesnot center by default and someone did not
like the nonstandard behaviour of LyX (or the actual patchy implementation).
There is an (untested!) workaround:
Find out the command used for insertion of graphics (\includegraphix ?) and
try to redefine it to contain the centering. Something like
let\oldincludegraphix=\includegraphicsx
\def\includegraphix{\centering \oldincludegraphix}
Obviously, this only works if you want to center all figures.
I am not sure if it works at all
I don't know, what happens with 2 figures on one line.
> File a feature request or bug report on bugzilla.lyx.org if you don't like
> it.
I'd strongly support the feature request. Having to type Alt-l a Alt-z for
every inserted picture is not really ergonomic and prevents me from the
famous "concentrate on content, not layout".
LyX could possibly define a new command
\newcommand{\centeredincludegraphix}{\centering \includegraphix} and use
this if a global document setting "center all figures" is checked.
A similar thing holds for the tables.
Guenter
--
G.Milde at physik.tu-dresden.de