Document ClassesThe footline in beamer

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

The footline in beamer

Post by M.A »

Hello Everybody!

I was writing a beamer presentation. I noticed that beamer reserves a place in the footline after the author (if it's not mentioned it puts empty braces!) as in the following image:
example.png
example.png (22.25 KiB) Viewed 15998 times
I don't want to have the institution name in the footline, please tell me how to modify my code to red from it.

Code: Select all

\documentclass[serif,handout]{beamer}
\renewcommand*\familydefault{\sfdefault}
\usepackage{beamerthemesplit}

\title{\bf The Title}
\author{The author}
\date{\today}
\usetheme{Boadilla}
\begin{document}

\frame{\titlepage}

\end{document}
Last edited by M.A on Mon Nov 09, 2009 5:58 pm, edited 2 times in total.

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

The footline in beamer

Post by localghost »

A similar issue occurred recently [1]. The instructions should help you to configure the foot line.

[1] View topic: beamer footline


Best regards
Thorsten
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

The footline in beamer

Post by M.A »

Thank you! I copied beamerouterthemeinfolines.sty to my directory and I modified it according to my needs.

I will show the modification so that readers can benefit from this thread.
You just need to put the commenting symbol "%" before "~~(\insertshortinstitute)" as shown in the following code.

Code: Select all

\defbeamertemplate*{footline}{infolines theme}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor%~~(\insertshortinstitute)
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
  \end{beamercolorbox}}%
  \vskip0pt%
}
Actually you can replace these commands "\insershort...." with whatever you want to write in the footline.

Regards,
Post Reply