Page Layoutbeamer | Change Font Size of Block Title

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
wcw
Posts: 20
Joined: Thu Mar 08, 2012 12:35 pm

beamer | Change Font Size of Block Title

Post by wcw »

The font size of the block title is identical to the font size of the context on each slide. The problem is that this makes my beamer quite cramp. I am wondering the method to decrease the size of the font on the title of the block. Can someone provide me with the information for changing the size of the font of the block title?

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Change Font Size of Block Title

Post by Stefan Kottwitz »

Hi,

that's easy to to, by just one line, such as

Code: Select all

\setbeamerfont{block title}{size=\scriptsize}
With the Madrid theme this gives:
block.png
block.png (2.82 KiB) Viewed 23244 times
Stefan
LaTeX.org admin
wcw
Posts: 20
Joined: Thu Mar 08, 2012 12:35 pm

beamer | Change Font Size of Block Title

Post by wcw »

Stefan_K wrote:Hi,

that's easy to to, by just one line, such as

Code: Select all

\setbeamerfont{block title}{size=\scriptsize}
With the Madrid theme this gives:
block.png
Stefan
Thanks for your reply. Can you tell me how you know the method to change how beamer looks? I want to know the method to do some modification to the macro.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Change Font Size of Block Title

Post by Stefan Kottwitz »

You can read about it in the beamer manual (texdoc beamer or on CTAN), here for example in 12.3 Block Environments, Beamer-Color/-Font block title. \setbeamerfont is also explained somewhere, of course. I know that the manual is extensive, but beamer is feature rich. Sometimes it's quicker to look into a beamer theme source code file to quickly find theme related commands and settings.

Stefan
LaTeX.org admin
wcw
Posts: 20
Joined: Thu Mar 08, 2012 12:35 pm

beamer | Change Font Size of Block Title

Post by wcw »

Stefan_K wrote:You can read about it in the beamer manual (texdoc beamer or on CTAN), here for example in 12.3 Block Environments, Beamer-Color/-Font block title. \setbeamerfont is also explained somewhere, of course. I know that the manual is extensive, but beamer is feature rich. Sometimes it's quicker to look into a beamer theme source code file to quickly find theme related commands and settings.

Stefan
Thanks.
Post Reply