Thanks for your answer, but none helped.

Should I have told you before, that the graphic is within a float-
environment, because I need a caption?

Thanks in advance!



On 2/15/07, Christian Röttgers <[EMAIL PROTECTED]> wrote:
> 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.

Put an "hfill" before and after the graphics, on the same line:
Insert->Special Formatting->Horizontal Fill (Lyx 1.4) Special 
Insert->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

-----Ursprüngliche Nachricht-----

Just before the graphic and inside an ERT box:

\centering

Paul

Reply via email to