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

beamercolor

I am trying to run the following code:

\documentclass[10pt]{beamer}
\mode<beamer>{%
\usetheme[hideothersubsections,
right,width=22mm]{Goettingen}
}
\title{Simple Presentation}
\author[D. Flipo]{Daniel Flipo}
\institute{U.S.T.L. \& GUTenberg}
\titlegraphic{\includegraphics[width=20mm]{USTL}}
\date{2005}
\begin{document}
\begin{frame}<handout:0>
\titlepage
\end{frame}
\section{An Example}
\begin{frame}
\frametitle{Things to do on a Sunday Afternoon}
\begin{block}{One could \ldots}
\begin{itemize}
\item walk the dog\dots \pause
\item read a book\pause
\item confuse a cat\pause
\end{itemize}
\end{block}
and many other things
\end{frame}
\end{document}

but I am getting the following error:

xcolor.sty not found

I have also tried

\usepackage{xcolor}

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