Graphics, Figures & Tables ⇒ Position of Graphs
Position of Graphs
I want to add some .pdf files
The graph should be so...
Text
\begin{figure}
\includegraphics [scale= 0.12]{C:/TEX/imgs/Table.eps}
\caption{Production}
\label{fg:Null}
\end{figure}
Text
but compiling it the result is that the graph is above all the text, at the very beginning of the page.
How can I manage?
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
Position of Graphs
Code: Select all
\begin{figure}[!ht]
% figure content
\end{figure}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Position of Graphs
I am learning to use latex on my own and I have to hand in an important paper by next week.
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Position of Graphs
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Position of Graphs
You know, first of all you should start with reading what others write. You certainly noticed the code box in my last reply and perhaps also the optional parameters I added to the float environment. This is preferable to the sledgehammer method by the float package that Stefan mentioned with the link he gave. I'm not a friend of preventing floats from floating, thus it is in my opinion not a good solution. If you add these options, you will see very quick a better result.beth87 wrote:I have no idea what I should look for, and if it is so obvious couldn't you please tell me what I should actually do? […]
If so, you will be very interested in our special list with useful resources for LaTeX novices [1]. I'm sure that you will find some very helpful documents there that will make your first steps much easier.beth87 wrote:[…] I am learning to use latex on my own and I have to hand in an important paper by next week.
[1] View topic: LaTeX Resources for Beginners
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10