LyXFigures in Lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Kinou21
Posts: 5
Joined: Tue Nov 29, 2016 11:09 pm

Figures in Lyx

Post by Kinou21 »

Hi,

I would like to insert a figure in Lyx just after a paragraph of text. I follow the procedure but the figure goes always on the top of the page...

Thank you for your help !

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Figures in Lyx

Post by scottkosty »

Can you please show us exactly what you have done? Either describe the exact steps (e.g. how you insert a figure, which options you choose, etc.). Or give a MWE.

Note that a .lyx file is just a text file so you can open in a text editor and paste a MWE as code here.

For more information, see https://wiki.lyx.org/FAQ/MinimalExample
User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

Figures in Lyx

Post by Stefan Kottwitz »

Hi Kinou,

welcome to the forum!

Check the float placement options. Perhaps mark all places as allowed here:
lyx-figure.png
lyx-figure.png (30.49 KiB) Viewed 2662 times
So top of page, bottom of page, here if possible, ignore LaTeX rules (relaxes positioning) - but don't check "Here definitely" (overriding automatic positioning can cause bad page breaks and undesired white space).

And ensure that the figure is not too big to fit on the page, so it goes on top of the next page.

Stefan
LaTeX.org admin
Post Reply