On Thursday 15 February 2007 15:47, Christian Röttgers wrote: > Hi everyone, > > could anyone please tell me, how to center a graphic with lyx? > > In most cases the width of my graphics are 100% of the text, but in two > cases they are smaller, but there are an the left of the side. But I would > like to have them centered. > > Please help me, > Bye bye
Put an "hfill" before and after the graphics, on the same line: Insert->Special Formatting->Horizontal Fill (Lyx 1.4) Insert->Special Character->Hfill (Lyx 1.3) You can also center-align the paragraph containing the graphic (even within a float), but I've had fewer problems with the Hfill. -- Les ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html