I am currently using Beamer to create a presentation. I'd like to use blocks, as I already did several times in the past, but it seems not to work properly. For instance, the following example displays in dark blue 'Title' and in black 'Example', with no background at all.



I know how to customize block environments, but I'd like to understand why the default one is not working as I was expecting. Please correct me if this is the normal behaviour of blocks using Pittsburgh theme.

  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. Mar 16, 2014 at 14:35

1 Answer 1


Looks perfectly normal. See also the example on page 149 of the manual, no background on the blocks there.

beamerthemePittsburgh.sty contains just

\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/themes/theme/beamerthemePittsburgh.sty,v d02a7cf4d8ae 2010/06/17 09:11:41 rivanvx $





So it looks like it uses the same colours as the default colour theme, which also doesn't have any background colour on the blocks.

  • Thank you so much :) Do you by chance know the colour value of the dark blue used in this theme? Mar 16, 2014 at 14:55
  • @dostoevskij It's the same as the default theme. I'll have to look in the source code. Mar 16, 2014 at 14:59
  • @dostoevskij From beamercolorthemedefault.sty it looks like \definecolor{blueish}{rgb}{0.2,0.2,0.7} should be the blue colour used there, though when I tested it looked a bit darker. When I sampled a screenshot in Krita I got (R,G,B) = (51, 51, 178). Mar 16, 2014 at 15:16
  • The first one you suggested seems the same used in the default theme to me. Thank you SO much! Mar 16, 2014 at 15:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .