You can add something like this to your preamble (does not affect how they appear in LyX preview of course)…
\renewenvironment{figure}[1][]{ \@float{figure} \centering \singlespacing} {\end@float} \renewenvironment{table}[1][]{ \@float{table} \centering \singlespacing} {\end@float} On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote: > On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug <r.m.k...@gmail.com> wrote: >> There are (at least) two ways of centering a single figure / graphic >> horizontally in a figure float: >> >> 1) using paragrahh properties - alignment - center >> > I'm no expert, but this is what I usually do. And to me this seems the > less hacky approach. > > Liviu > > >> 2) using a \hfill left and right of the figure >> >> What is the better / more robust / more LaTeX way of doing this? >> >> Thanks, >> >> Rainer >> >> - -- >> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, >> UCT), Dipl. Phys. >> (Germany) >> >> Centre of Excellence for Invasion Biology >> Stellenbosch University >> South Africa >> >> Tel : +33 - (0)9 53 10 27 44 >> Cell: +33 - (0)6 85 62 59 98 >> Fax : +33 - (0)9 58 10 27 44 >> >> Fax (D): +49 - (0)3 21 21 25 22 44 >> >> email: rai...@krugs.de >> >> Skype: RMkrug >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.11 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ >> >> iEYEARECAAYFAlBQau0ACgkQoYgNqgF2egp7FgCeIHyhYT/x+bJzqoANM9Muapeo >> vi4An28oDskmG/XKqdTgVLKPvJlhfRiZ >> =88Df >> -----END PGP SIGNATURE----- > > > > -- > Do you know how to read? > http://www.alienetworks.com/srtest.cfm > http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader > Do you know how to write? > http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail