Omair-Inam Abdul-Matin wrote:

Hi,

Every time I insert a graphics file in Lyx it defaults to left-align. I wanted to know if it is possible to change the default to center.

Omair


I found my answer

Centering all floats
If you want to center for example all of your uncentered figures, you can do this with the following code in the preamble


\makeatletter
\renewenvironment{figure}[1][]{%
      [EMAIL PROTECTED]
    \centering
  }{%
    [EMAIL PROTECTED]
  }
\makeatother

Ref: http://latex.s-v-p.de/floats/floats.phtml



Reply via email to