LyXPictures in lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
vaka85
Posts: 3
Joined: Mon Nov 09, 2009 11:54 am

Pictures in lyx

Post by vaka85 »

Hi all,
I am a beginner in the world of Lyx/Latex...
After wasting hours trying to solve this problem, I ask here.
To insert a picture in a document:
1- I insert a floating object (figure)
2- then I insert the figure inside this object.
The problem. If I scale or center the picture, it remains shifted on the right. I can solve this problem only by scaling it to 30%, but so the picture is almost invisible!

Here the screening of the problem:
in lyx:
73033939.jpg
73033939.jpg (126.58 KiB) Viewed 8048 times
in pdf:
38975465.jpg
38975465.jpg (57.3 KiB) Viewed 8048 times
How can I center the pictures, mantaining them at an acceptable size?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
aradan
Posts: 7
Joined: Thu Oct 29, 2009 5:49 am

Re: Pictures in lyx

Post by aradan »

One way to center the images is writing \centering like a TeX code (Ctrl+L) before the image,
I mean

\centering [Here is the image]
vaka85
Posts: 3
Joined: Mon Nov 09, 2009 11:54 am

Re: Pictures in lyx

Post by vaka85 »

Thanks for the reply.
I've just tryed it but it doesn't work... it remains shifted...

:(

I think I'll return to word :x
User avatar
aradan
Posts: 7
Joined: Thu Oct 29, 2009 5:49 am

Re: Pictures in lyx

Post by aradan »

It's strange

Have you tried the option "cut" on the image? Maybe you could cut some part of the left
Or maybe could be the margins, on the paragraph option
vaka85
Posts: 3
Joined: Mon Nov 09, 2009 11:54 am

Re: Pictures in lyx

Post by vaka85 »

Yes.. I've also tried the cut... but no way..

However I think it's a problem with margins.
I've changed them and it seems to work. But I have to use very little margins. It's not like word.. I mean: in word when you set the margin and the picture is too big, then it's centered and it goes out the margins in equal way left and right.
But Lyx, if the picture is bigger than margins, shift it to the right...
Strange way to work...

(sorry for my english)
Post Reply