I'm using MikTex 2.7 fully updated, with winedt on a windows vista (32 bit) machine. My problem is when I include eps files that I have changed the bounding box (using GSview), the white space that appeared in the original figure can block out the text above the figure in all the dvi, ps and pdf outputs respecively. I never had this problem on my older xp computers, and don't know why it is occurring now. It occurs for all my eps files, no matter how they are generated. Is there a way in LaTex to set the figures as being behind the text, or have transparent fill?
Thanks a bunch
Graphics, Figures & Tables ⇒ eps figures blocking out text
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
eps figures blocking out text
It could help to provide such a file so we could examine it. Please attach one to your next post. Instead of changing the bounding box you should use the options of the graphicx package to clip the desired part.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
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: eps figures blocking out text
Thank you for responding, here are some code/files
I use in the tex file
\begin{figure}[ht]
\begin{center}
\includegraphics[ width=0.5\columnwidth]{test0.eps} \\
\caption{Geometry for signal measurement on element $i$.
\label{fig:Japp3}}
\end{center}
\end{figure}
and have attached the pdf of the undesired effect, unfortunately the forum does not allow me to upload eps images/
Thanks again,
Geoff
I use in the tex file
\begin{figure}[ht]
\begin{center}
\includegraphics[ width=0.5\columnwidth]{test0.eps} \\
\caption{Geometry for signal measurement on element $i$.
\label{fig:Japp3}}
\end{center}
\end{figure}
and have attached the pdf of the undesired effect, unfortunately the forum does not allow me to upload eps images/
Thanks again,
Geoff
- Attachments
-
- test0b.pdf
- page from document with effect demonstrated
- (23.2 KiB) Downloaded 672 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: eps figures blocking out text
Maybe I was not clear enough, but this is not what I asked for. Please attach the EPS file to your next post. Put the original and the modified file into a ZIP archive. This kind of file is accepted by the server.
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
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: eps figures blocking out text
I don't remember how or if I solved this particular problem, but I had the same problem with EPS images about two or three years ago when submitting an article.
The problem is that TeX is not interpreting your BoundingBox lines correctly, and is therefore displaying the whitespace around it. I discovered this as I was submitting the paper: I use PDFLaTeX with images in EPDF as converted with epstopdf, which gets the bounding box correct, but the journal uses LaTeX, which wasn't getting the bounding box correct.
If I fixed it, it was by editing the EPS file (any text editor will do): replace the line that says "%%BoundingBox: (atend)" with the line at the bottom that actually has the bounding box in it. This MAY help TeX size the figure correctly and crop it in the appropriate places.
If not, I recommend either allowing more space around your images so they don't cover up text, or simply converting all your images to PDF and using PDFLaTeX.
Best of luck!
The problem is that TeX is not interpreting your BoundingBox lines correctly, and is therefore displaying the whitespace around it. I discovered this as I was submitting the paper: I use PDFLaTeX with images in EPDF as converted with epstopdf, which gets the bounding box correct, but the journal uses LaTeX, which wasn't getting the bounding box correct.
If I fixed it, it was by editing the EPS file (any text editor will do): replace the line that says "%%BoundingBox: (atend)" with the line at the bottom that actually has the bounding box in it. This MAY help TeX size the figure correctly and crop it in the appropriate places.
If not, I recommend either allowing more space around your images so they don't cover up text, or simply converting all your images to PDF and using PDFLaTeX.
Best of luck!
Re: eps figures blocking out text
usually it is the other way around. There are many programs that does not provide the correct bounding box in the EPS. Many programs on Windows does this.
It can often be fixed using the clip option of \includegraphics
otherwise try \fbox{\includegraphics[...]{...}} to visualise the size of the picture as TeX sees it. This often help realise that the bounding box is wrong.
It can often be fixed using the clip option of \includegraphics
otherwise try \fbox{\includegraphics[...]{...}} to visualise the size of the picture as TeX sees it. This often help realise that the bounding box is wrong.