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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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: 10335
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 2440 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