Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The code

\documentclass{beamer}
\mode<presentation>{\setbeamercovered{transparent}}
\begin{document}
  \begin{frame}
    \onslide<2>{\textcolor[HTML]{097054}{foo}}
  \end{frame}
\end{document}

results in the error ! Dimension too large: \@tempdima. Is there a known/simple fix for this?

share|improve this question
5  
If you define \definecolor{somecolor}{HTML}{097054} and then use \onslide<2>{\textcolor{somecolor}{foo}} it works. –  percusse Dec 12 '11 at 6:59
2  
It's a good idea to define colors, as shown in percusse's comment, in the preamble, so that one can be consistent in their usage. –  egreg Dec 12 '11 at 8:40

1 Answer 1

up vote 5 down vote accepted

Adding the color definition

\definecolor{somecolor}{HTML}{097054}

to the preamble and later using it via

\onslide<2>{\textcolor{somecolor}{foo}}

solves the problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.