I take it it's TeX [+ some package(s)].
If you add a figure the way you usually do, it's usually put in the beginning of a new page if possible - something like that. That's what the whole TeX'ing is about - you making content, system deciding how it's best displayed (the original point was that; word processors like MS Word or OO.org Writer is for those who want to play with the outfit rather than content). However you can affect how the figure is placed; you just need to tell it in the TeX engine. If you wrap the figure in an "environment" that TeX wants to put in some place other than you thought, you've got two choices - either tell that the whole thing should be in some special place, if possible, or then don't wrap the figure in that "environment" you originally put it in, but do something else.
Quoted from
www.dd.chalmers.se/latex/tips_e.html#figurer (as an example that you could have searched):
Quote:
How to place figures where you want them
The package here has been removed from CTAN. Instead you should use a ! in front of the positioning parameter. I.e:
\documentclass{article}
\usepackage[latin1]{inputenc} % Fixa едц
\usepackage{here}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!h] % Will not be floating.
\begin{center}
\includegraphics{graph.eps}
\caption{Exciting graph}
\end{center}
\end{figure}
\end{document}
|
Not sure if that is available in the TeX package you're using, or about anything such at all, but I quoted that just to show that the internet actually has a wide storage of help and examples when it comes to TeX things. Just search for your problem, for example "LaTeX figure positioning", and see what you get.
I thought it was TeX from the "\pagebreak" and such things. I could be wrong - in that case ignore me.
Note that the various commands might easily depend on what packages you have installed to your TeX system, and that your system very probably has the means to position the figure just the way you like it, so you should search trough the documentation and examples of the TeX system you use.
I'll repeat what I wrote earlier: MS Word and such word processors are meant for people who want to type some little content or copypaste it, and then either not care about what (=how ugly) it looks or spend hours or days tweaking the outlook of the document just to find out that when they're finished, the beginning has been automatically trashed by the program. TeX then is meant for people who are more interested in the content, want a "static" outlook troughout the document, and are ok with giving TeX the freedom to make the outlook 'good'. There are some basics about what is easy on the eye and what is not (for example how long lines a human usually can read easily, what is too long, what is too short, ...), and TeX tries to live by those observations. They're not perfect (nothing is), but I've come to see it's far better than trying to use MS Word to make something sensible. You can actually make anything look and position just the way you want it with TeX, but it sure does mean a lot of work most of the time. It's easier if you just first set the general "rules" about how you want the document look, then just type in the content and have it ready. A figure that is at the beginning of the page rather than between the two paragraphs where you mention it does not kill anybody - and if you give it a caption, maybe with a numbering like you should, you can then easily refer to it using TeX commands, and have it look sane even if you modify the content later - no need to care about the previous content, as TeX manages it automatically (add a new figure before the older one, and the reference numbering is updated, for example).
Don't try to make TeX something it is not, like MS Word. If you want exact outlook instead of easy working, head over to OO.org Writer or even Scribus. There you've got your measuring tools and pinpoint properties.
There is actually a document on the web telling you what TeX is and what it is not. You should read trough the "what TeX is not" part, to know what it is not and what you shouldn't try to make it be.