Graphics, Figures & Tables ⇒ too much white space
too much white space
Having a problem I have not seen before, I have converted my image to .eps file, but for some unknown reason, it is adding the image size amount of white space above it. This as you can imagine is never welcome. Any ideas what has happened, I've been using latex for some 2 years now and never had this problem before.
I have just tried to take a screen shot of the image and try again in case of strange embedded data, and I only get half of the image, so I reduced it to half the size and now I get all the white space above, is there a way to solve this?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: too much white space
too much white space
As far as I know LaTeX uses the bounding box information that the EPS includes for determining the size if the picture. I can imagine two cases: either the bounding box information in the EPS is corrupted/wrong or the picture actually has the white space and LaTeX simply displays it. Without having the actual file this is hard to say.
(Another possibility I can think of would be a completely different matter: you're putting the picture in the
{figure}
environment and LaTeX places it on a float page... but your description doesn't sound like that's what you're doing...)Regards
too much white space
Code: Select all
\begin{figure}[htb]
\centering
\includegraphics[width=0.8\textwidth]{test_circuit2.eps}
\caption{Op amp circuit}
\label{fig:Amigobot}
\end{figure}
at worst case scenario, I will put this on a page of it's own, but it has to be at the top, I can't have it like this, this is for a job application.
too much white space
\includegraphics
. The {figure}
environment is for a) letting it float around to be placed where the algorithm thinks it's best and b) providing a caption.You can check if it is the picture itself that has the whitespace with something like this:
Code: Select all
\fbox{\includegraphics{<filename>}}
Regards
Re: too much white space
I did solve this issue to an extent, I didn't realize you could use a png file, I just changed it to that and picture went where I wanted it. I still had to use word on this occasion, though as I didn't have time to learn a new document type, and having chapter 1 in big letters in a thing of just one page doesn't look good. Thank you though, I am going to look into this further, I don't want to be caught out like this again.
Re: too much white space
I noticed that when using the prompt to directly convert images, it was okay converting from .eps to .pdf but when converting from .eps to .ps this white space above the image would show up. Also a mac user and using Mavericks. I have not had this issue before.
Any ideas how to solve this issue?