|
From: Christian S. <sch...@ph...> - 2008-12-10 01:28:35
|
Hi there!
I'm wondering if anyone has encountered anything like this.
I'm using MikTex 2.7 and am script-generating plots using epslatex in
Gnuplot 4.2.3. They're not particularly exciting plots and should be
well-behaved.
I use the plots in LaTeX via the \input{} command - all six of them - but
here's where it gets weird. I can best illustrate with an example (please
ignore the redundancies in the \graphicspath and \input commands)
Latex Code:
*****************
The following plots will illustrate why I am so good looking.
\begin{figure}
\centering
\caption{First Handsome Measurement}
\vspace{5mm}
\graphicspath{{path_to_first_plot}}
\input{path_to_first_plot/first_plot.tex}
\end{figure}
\begin{figure}
\centering
\caption{Second Handsome Measurement}
\vspace{5mm}
\graphicspath{{path_to_second_plot}}
\input{path_to_second_plot/second_plot.tex}
\end{figure}
<the above is appropriately repeated 3 more times 'till we get to the last
one...>
\begin{figure}
\centering
\caption{Sixth Handsome Measurement}
\vspace{5mm}
\graphicspath{{path_to_sixth_plot}}
\input{path_to_sixth_plot/sixth_plot.tex}
\end{figure}
As a result of the above plots, we can see that I am tremendously handsome.
************
What happens is that all sorts of spaces will get shoved between the
"looking." and "As". In other words, the plots will appear where ever
LaTeX wants to put them, no surprise, but then the text will look like:
... why I am so good looking. As a result....
It's really weird. Has anyone seen this sort of thing before? What am I
doing wrong? Any insight would be profoundly appreciated. I've posted this
question here because I'm somehow suspicious that it might have to do with
the epslatex terminal, but if not, I'll drag myself elsewhere.
Thank you for your time!
Christian
BTW I'm not really all that handsome... I just tell myself that if I've
had a bad day. ;-}
|