Hello everyone,
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
LyX ⇒ table inserted through code tex does not appear in the next page
-
- Posts: 1
- Joined: Mon Aug 07, 2017 12:59 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.

table inserted through code tex does not appear in the next page
Try to code the document yourself...
In handmaid Latex, the
It should be the same for tables. Do you have access to the code generated by Lyx ?
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: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
table inserted through code tex does not appear in the next page
Welcome to the forum!
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
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
LaTeX.org admin