Jürgen Spitzmüller <spitz <at> lyx.org> writes:
>
> Patrick Dupre wrote:
> > > Interesting, however, I am unable to have back the theme Madrid with the
> > > color red!
> > In fact
> > \usetheme{Madrid}%
> > \usecolortheme{Red}
> >
> > Mess up the default colors!
>
> Did you try
> \usetheme{Madrid}
> \usecolortheme[named=red]{structure}
>
> Jürgen
>
>
Thanks for the suggestion. It gets rid of the warning, but the red color it
produces is much brighter than the red color I get by using
\documentclass[red]{beamer}. I think beamer actually uses "BrickRed" of the
dvips list (http://en.wikibooks.org/wiki/LaTeX/Colors#Predefined_colors) for
titles and backgrounds (although not for "\alert{text}"), but I don't know
how to force \usecolorheme{structure} to use these named colours. I tried
inserting \usepackage[usenames,dvipsnames]{color} in the preamble, but then
I get an "Option clash for package color" warning. The following is a
minimum example (comment the first line and uncomment the two commented
lines for comparison of the color of the titlebar):
\documentclass[red,hyperref={pdfpagelabels=false}]{beamer}
%\documentclass[hyperref={pdfpagelabels=false}]{beamer} %% the option to
avoid the warning ``Option `pdfpagelabels’ is turned off(hyperref) because
\thepage is undefined.''
\usecolortheme{whale}
%\usecolortheme[named=red]{structure}
\usepackage{lmodern} %% avoid warning ``Size substitutions with
differences(Font) up to 1.0pt have occurred.''
\begin{document}
\begin{frame}{title}
normal
\alert{alerted}
\end{frame}
\end{document}