LyX ⇒ table inserted through code tex does not appear in the next page
-
- Posts: 1
- Joined: Mon Aug 07, 2017 12:59 pm
table inserted through code tex does not appear in the next page
I am using Lyx to write my master thesis. I insert lot of tables with code tex for example in page 2.
The problem is that the table appears in page 5 or 6 and not in page 3.
Does S.O has the solution ?
Thank you
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
table inserted through code tex does not appear in the next page
In handmaid Latex, the
!
option forces the figure "here" : Code: Select all
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\listoffigures
\begin{figure}[!h] % "!h" means "absolutely here"
\centering
\includegraphics{Tux.png}
\caption{Tux, le pingouin}
\label{Tux}
\end{figure}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
table inserted through code tex does not appear in the next page
There are float options (for figures and tables that you can set. Have a look at this settings window:
Click "Here Definitely" as last option, bur better click everything except that, allowing all possible placement for optimal page breaks and nearest positioning.
Thomas: "!" is a code for "relaxed" positioning, with less typographic restrictions. So !h means "here, take it easy". But the best is "!htbp" for "here, top, bottom, or float page, take it easy" that gets vey flexible near placement and keeps good page filling for good page breaks.
Stefan