\includegraphics changing font when used.

150 views
Skip to first unread message

Steve

unread,
Jan 1, 2010, 2:01:36 PM1/1/10
to LaTeX Users Group
Hello,

everytime I use \includegraphics in my document the font of the site
where the picture is on get's bold.
And I can't figure out why, only the site with the picture the
following sites are normal again.
Even when I _only_ use \includegraphics without the begin block and
width!

Thats the setup I use:
\usepackage[pdftex]{graphicx}

\begin{figure}[ht]
\centering
\includegraphics[width=\ScaleIfNeeded]{AVT}
\caption{AVT}
\label{AVT}
\end{figure}

% Functions
\makeatletter
\def\ScaleIfNeeded{%
\ifdim\Gin@nat@width>\linewidth
\linewidth
\else
\Gin@nat@width
\fi
}
\makeatother

System:
Wdinows, Texnicenter, MiKTeX 2.8

Steve

Donald Arseneau

unread,
Jan 3, 2010, 7:34:00 AM1/3/10
to LaTeX Users Group
On Jan 1, 11:01 am, Steve <stefan.seif...@gmail.com> wrote:
> everytime I use \includegraphics in my document the font of the site
> where the picture is on get's bold.

Crystal ball says that your included graphics contain
alpha (transparency) channel, and Adobe reader does not
properly encapsulate the setting. Try looking at the
pdf in another pdf reader to verify that it is fine.
To make it work with Adobe, remove transparency from the
pictures.

DA

Steve

unread,
Jan 3, 2010, 9:43:56 AM1/3/10
to LaTeX Users Group
> Crystal ball says that your included graphics contain
> alpha (transparency) channel, and Adobe reader does not
> properly encapsulate the setting.

Your crystal ball was right. :)
I haven't thought about the alpha channel making problems...

> Try looking at the
> pdf in another pdf reader to verify that it is fine.

Yes it was displayed correct in a different pdf reader.


Steve

Reply all
Reply to author
Forward
0 new messages