[Tex/LaTex] Problem with beamer documentclass: xcolor.sty not found


I am trying to run the following code:

\title{Simple Presentation}
\author[D. Flipo]{Daniel Flipo}
\institute{U.S.T.L. \& GUTenberg}
\section{An Example}
\frametitle{Things to do on a Sunday Afternoon}
\begin{block}{One could \ldots}
\item walk the dog\dots \pause
\item read a book\pause
\item confuse a cat\pause
and many other things

but I am getting the following error:

xcolor.sty not found

I have also tried


in the preamble of the document with and without options like dvips and svgnames but I cannot get rid of the error

xcolor.sty not found

I run the code by pressing 'PDFLaTeX' on LED and am using MiKTeX 2.9 distribution.

Best Answer

In MikTeX tree this package may be located here: \MiKTeX 2.9\tex\latex\xcolor\xcolor.sty. If not, please download xcolor.sty and put it into your working directory or, better, the whole package xcolor, using MikTeX tools of updating.

Related Question