Graphics, Figures & TablesFont Style changes with inserted PNG Image

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
joykiller
Posts: 2
Joined: Thu Apr 26, 2012 10:12 am

Font Style changes with inserted PNG Image

Post by joykiller »

Hello,

I have a small problem, which is driving me crazy! If i put a figure on a page or section, on that page/section the font style changes to like bold, but it can still be made bolder. :)
I'm using this to insert the image:

Code: Select all

\begin{figure}[h]
	\begin{center}
		\includegraphics[scale=1.0]{xy.png}\\
		 \caption{xy}
		 \label{img:xy}
	\end{center}
\end{figure}
Could me help someone with it please?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Font Style changes with inserted PNG Image

Post by localghost »

Presumably your PNG file has an alpha channel for transparency. Remove it with the image manipulation software of your choice. This problem is usually related to the PDF reader. The printed document should be OK. Modern TeX systems and PDF readers shouldn't have this problem anymore.

By the way, it is better to replace the {center} environment with the \centering declaration in order to avoid additional vertical space which is unwanted here.


Best regards and welcome to the board
Thorsten
joykiller
Posts: 2
Joined: Thu Apr 26, 2012 10:12 am

Re: Font Style changes with inserted PNG Image

Post by joykiller »

Yep, the printed is right, I'll try to remove that transparancy thing.

Thank you for your reply!

Have a nice day! ;)
Post Reply