I've been using Latex for several years now. I started with MikTex and WinTex on WinXP and got really satisfied, being able to do all the things I ever needed to.
Last Spring I was finally able to kiss Windows goodbye and changed to Ubuntu. I'm using pdfTeX (which I think comes by default with Ubuntu) and Texmaker. The latter leaves a lot to be desired for, when compared to WinTex or TexnicCenter, but soon I managed to do pretty much all I need.
There has always been a problem with figures though, without any reason I can point, pdfTex randomly isolates images in pages. While some are correctly inserted between the text, for others pdfTex reserves a complete page, presenting it centered in the page with the remainder left in blank.
Where's the code I use to insert a figure:
Code: Select all
\begin{figure}[htp]
\centering
\includegraphics[scale=0.5]{figure.jpg}
\caption{Blah blah blah}
\label{figure}
\end{figure}
I have another issue with figures: the captions' width is different from the main text. Is this a problem with margin definitions or seomthing else? The only width commands I'm using are these:
Code: Select all
\oddsidemargin 0.3in
\evensidemargin 0.1in
\textwidth 6.0in
Code: Select all
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.
Compiled with libpng 1.2.37; using libpng 1.2.37
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 0.12.0