Page LayoutBeamer Footline

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mrdwustl
Posts: 7
Joined: Wed Mar 31, 2010 2:56 am

Beamer Footline

Post by mrdwustl »

Hi.

I'm making slides in latex and want the footline to appear to have my name and the institution (rather than my name and the title). Is there an easy way to do this? Thanks.

Code: Select all

\documentclass{beamer}[10]
\usepackage{pgf}
\usepackage{beamerthemesplit}
 
\definecolor{kugreen}{RGB}{50,93,61}
\definecolor{kugreenlys}{RGB}{132,158,139}
\definecolor{kugreenlyslys}{RGB}{173,190,177}
\definecolor{kugreenlyslyslys}{RGB}{214,223,216}
\setbeamercovered{transparent}
\mode<presentation>
%\usetheme[numbers,totalnumber,compress,sidebarshades]{PaloAlto}
\setbeamertemplate{footline}[title]
 
  \usecolortheme[named=kugreen]{structure}
  \useinnertheme{circles}
  \usefonttheme[onlymath]{serif}
  \setbeamercovered{transparent}
  \setbeamertemplate{blocks}[rounded][shadow=true]
   
%\logo{\includegraphics[width=1.5cm]{billeder/logo}}
\title{TITLE}
\author{NAME}
\institute{Department of Political Science \\ Washington University in St. Louis}
\date{\today}
\begin{document}

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Beamer Footline

Post by gmedina »

Hi,

you have to set the footline beamer template; the following example code includes the necessary definitions:

Code: Select all

\documentclass{beamer}[10]
\usepackage{beamerthemesplit}

\definecolor{kugreen}{RGB}{50,93,61}
\definecolor{kugreenlys}{RGB}{132,158,139}
\definecolor{kugreenlyslys}{RGB}{173,190,177}
\definecolor{kugreenlyslyslys}{RGB}{214,223,216}
\setbeamercovered{transparent}
\mode<presentation>

\setbeamertemplate{footline}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshortinstitute
  \end{beamercolorbox}}%
  \vskip0pt%
}

  \usecolortheme[named=kugreen]{structure}
  \useinnertheme{circles}
  \usefonttheme[onlymath]{serif}
  \setbeamercovered{transparent}
  \setbeamertemplate{blocks}[rounded][shadow=true]
   
\title{TITLE}
\author{NAME}
\institute[Short Institute name]{Department of Political Science -- Washington University in St. Louis}
\date{\today}
\begin{document}

\begin{frame}
Test
\end{frame}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply