GeneralRandom bolding (due to images?)

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
untidyuser
Posts: 1
Joined: Thu May 13, 2010 7:39 pm

Random bolding (due to images?)

Post by untidyuser »

Hey all,

Currently writing a paper that's about 25 pages long, and on some of these pages, when there are images random bolding of the text on the whole page where that image is, occurs...

It doesn't happen with all images, but it happens with the code below.

I do not understand why, I am also wondering if the problem is reproducible?

Finally any good ideas?

regards
untidyuser

Code: Select all

\documentclass[12pt,a4paper,titlepage]{report}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}

\usepackage[tableposition=top,hang,small,bf]{caption}

\usepackage[left=3cm,top=4.5cm,right=3cm,nohead,nofoot]{geometry}
\setlength\parskip{0.15cm}
\setcaptionmargin{1cm}
\captionsetup[table]{labelfont={bf,sf}}

\author{UntidyUser}
\title{Topics in Exact Statistics}
\begin{document}
\chapter{Distributions}
Otherwise known as, ways around the problem or approximations.

\section{Gaussian Distribution}
As nothing is ever certain to start with and there are probabilities governing almost everything then the Gaussian distribution comes in handy. (Named after Gauss)

\begin{figure}[!hbt]
  \centering
    \includegraphics[width=0.5\textwidth]{images/gaussian1.png}
    \caption[Gaussian Distribution]{Gaussian distribution, also known as the Normal Distribution.}
\end{figure}

\section{Poisson distribution}
The Poisson distribution is a discrete probability distribution that shows the probability of a number of events occurring within certain period of time. The events need to be unrelated and they must occur with a known average rate. 
\end{document}

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Random bolding (due to images?)

Post by gmedina »

Hi,
untidyuser wrote:...I am also wondering if the problem is reproducible?
I did a test with the code you provided, but using the demo option for graphicx, so that your image was replaced by a black rectangle; I couldn't notice any odd behaviour. I wonder if the images are really the culprits,.. in any case if you say that the above code shows the undesired behaviour, we will need the actual image to reproduce the problem; you can attach the image to your next post.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Random bolding (due to images?)

Post by localghost »

It's very likely that the concerned external PNG graphics files have an alpha channel for transparency. Take an image manipulation software and remove this alpha channel where necessary. This issue should not occur with mosts recent versions of pdfTeX and the Adobe Reader.


Best regards and welcome to the board
Thorsten
Post Reply