General ⇒ Any way to get floats ontop of page?
-
- Posts: 2
- Joined: Wed Oct 31, 2007 1:03 am
Any way to get floats ontop of page?
I have found many topics trying to solve the same problem but I havent found any real solution. I'm ok with the fact that float objects gets flushed downwards but why must they appear at the center of a page? I don't like the layout that way.
This has already been too time consuming, please help!
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Any way to get floats ontop of page?
Code: Select all
\begin{figure}[!ht]
…
\end[figure}
\vfill
~
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Any way to get floats ontop of page?
-
- Posts: 2
- Joined: Wed Oct 31, 2007 1:03 am
Re: Any way to get floats ontop of page?
My solution: (the tilde, ~, advice wasn't needed this time but may be in the future)
I moved the \begin{figure}[!th] part to the page were latex thought it should be placed and added a \clearpage before it and a \newpage after it. I guess this way there isn't a problem with the float object as it fits the way I want it to.
This is perhaps not the nicest solution and I imagine that the problem will bother me again in a not so distand future.
This is my first contact with this community, I'm very thankful for your rapid response, thanks alot.