Document Classesbeamer | Color Theme "structure" fails

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
User avatar
cbustaam
Posts: 57
Joined: Mon Sep 01, 2008 10:17 pm

beamer | Color Theme "structure" fails

Post by cbustaam »

Hi all,

Does anyone know why the following code doesn't compile?

Code: Select all

\documentclass{beamer}
\usetheme{Madrid}
\usecolortheme{structure}

\title{The Title}
\author{Author, A.}
\institute{Institute}

\begin{document}
\begin{frame}
  \titlepage
\end{frame}

\section{The First Section}
\begin{frame}{My Frame}
  \begin{itemize}
   \item Some content.r
   \item Another content.
 \end{itemize}
\end{frame}
\end{document}
If I remove the line \usecolortheme{structure} all compiles perfectly. I don't understand why the "structure" color theme causes the problem. The error I get is

Code: Select all

ERROR: Package xcolor Error: Undefined color `beamer@structure@color'.
Any idea?

Bests,
"Show me your .emacs and I'll tell you who you are." -- modified proverb

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
gadgetto
Posts: 11
Joined: Wed Oct 24, 2012 8:28 am

beamer | Color Theme "structure" fails

Post by gadgetto »

Hi cbustaam,

the standard beamer class does not provide the colortheme "structure". You have to choose one out from these:
default - albatross - beaver - beetle - crane - dolphin - dove - fly - lily - orchid - rose - seagull - seahorse - whale - wolverine
So replace \usecolortheme{structure} by for example

Code: Select all

\usecolortheme{beetle}
and your example works fine.


Gadgetto
Post Reply