I am using Texniccenter and Mitex as a compiler.
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?
Graphics, Figures & Tables ⇒ Position of Graphs
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Position of Graphs
You could have searched the forum for an appropriate solution. I'm pretty sure that we have already discussed this problem (about a thousand times or so). Give appropriate placement parameters to your floats.
And by the way, the forum software offers a »Code« environment to tag code as such. The button is in the list right above the input window while composing a message. It would be very kind if you use it. It just keep a post clear and legible.
Thorsten
Code: Select all
\begin{figure}[!ht]
% figure content
\end{figure}
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Position of Graphs
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?
I am learning to use latex on my own and I have to hand in an important paper by next week.
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: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Position of Graphs
LaTeX.org admin
- 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10