Graphics, Figures & Tables ⇒ eps figures blocking out text
eps figures blocking out text
Thanks a bunch
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
eps figures blocking out text
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: eps figures blocking out text
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 682 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: eps figures blocking out text
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
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
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.