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
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
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: 10348
- 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