TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to change the size of fonts in the title of my beamer blocks but am getting nowhere.

Here is a link to a ZIP file containing what you should need to see… Too much code to post here. The problem is centered around line 28 of the .sty file:

\setbeamerfont*{block title}{family=\sffamily,series=\bf,size=\Huge}

No matter how I try to set the font size, it doesn't reflect any changes when rendering the PDF. The family and series seem to work just fine.

Using the beamerposter package, if that matters. Thanks in advance.

share|improve this question
up vote 10 down vote accepted

The \bf command you're using to make the font bold is obsolete and shouldn't be used anymore (see l2tabuen.pdf). The reason for this can be observed here directly: It resets the font changes you made before, so the size command (which is executed before the series is set internally) can't have any effect. Use \bfseries instead:

\setbeamerfont*{block title}{family=\sffamily,series=\bfseries,size=\Huge}

And please try to provide a minimal working example that is focused on your problem next time, i.e. something like this:

\setbeamerfont*{block title}{family=\sffamily,series=\bfseries,size=\Huge}
share|improve this answer
Also I don't see the need to use the starred version of the commands here. – percusse Apr 11 '12 at 17:50
Thanks, \bf was indeed the culprit. Sorry I didn't include a minimal working example, but whenever I try to trim out just what I need for an example it breaks. The "minimal" and "example" are the easy parts, but "working"… @percusse: My examination of the manual has left me confused as to what difference the star makes. Could you explain? Thanks again, everyone. – Sam Rabin Apr 11 '12 at 21:58

Your Answer


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.