Document ClassesPretty beamer doesn't compile

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
theo moore
Posts: 72
Joined: Thu Jan 15, 2009 3:16 pm

Pretty beamer doesn't compile

Post by theo moore »

I've used beamer before fine, but this time around, I wanted to work with the nice beamer template here (forth link down).

Strangely, the example-talk.tex file doesn't compile. There are so many errors, it's hard to say what's going on. For example, the first error I get is a "missing number" on this line,

Code: Select all

\definecolor{oxygenorange}{HTML}{f7800a}
What's going on? I've tried compiling both using latex and using pdflatex. No luck.

Can any of you compile it?

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Pretty beamer doesn't compile

Post by localghost »

The devil is in the details. For some reason the colour specifications done in the beamerthemeOxygen.sty file are not accepted. This might depend on the OS. On Windows it gives errors. I didn't test it yet on a Linux system. The only thing you have to do is replace the lower case letters in the colour specifications by upper case letters.

Code: Select all

\definecolor{oxygenorange}{HTML}{F7800A}
\definecolor{oxygengray}{HTML}{686868}
\definecolor{oxygenlightgray}{HTML}{EEEEEE}
\definecolor{oxygenblue}{HTML}{236EAF}
The document now will compile but you will get several warnings about overfull hboxes. Nevertheless the result looks pretty good.


Best regards
Thorsten¹
theo moore
Posts: 72
Joined: Thu Jan 15, 2009 3:16 pm

Re: Pretty beamer doesn't compile

Post by theo moore »

Excellent! Thank you for that.
Post Reply