Another option is to use the tip from Herbert Voss http://www.texnik.de/floats/floats.phtml#center
Add the following to your preamble... \makeatletter \renewenvironment{figure}[1][]{% [EMAIL PROTECTED] \centering }{% [EMAIL PROTECTED] } \makeatother
You will not see the centering in LyX, but any output (dvi, df, ps) will have centered figures. This avoids having to apply the Paragraph formatting manually to each figure (which can be tedious in a long document).
Steve
On Nov 16, 2004, at 11:42 AM, Martin Henry H. Stevens wrote:
Thanks Rich! Perfect solution. hank
On Nov 16, 2004, at 11:31 AM, Rich Shepard wrote:
On Tue, 16 Nov 2004, Martin Henry H. Stevens wrote:
LyX 1.3.5 on Mac OS 10.3.6 All my figures in LyX are positioned on the
left margin. Is there a reason for this, and how would I get LyX to center
them horizontally? (I would rather wrap, but that doesn't seem to work too
well!)
Hank,
The platform shouldn't matter. Place the cursor to the left of the image
box then select the "Layout -> Paragraph -> Center" option. Click "OK".
Rich
-- Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
Dr. Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall Botany Department Miami University Oxford, OH 45056
Office: (513) 529-4206 Lab: (513) 529-4262 FAX: (513) 529-4243 http://www.cas.muohio.edu/botany/bot/henry.html http://www.muohio.edu/ecology/ http://www.muohio.edu/botany/ "E Pluribus Unum"