Page LayoutCentered Author Name in Footer of Presentation

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
chitharenjan
Posts: 9
Joined: Fri Jun 01, 2012 8:02 am

Centered Author Name in Footer of Presentation

Post by chitharenjan »

Hello,

I am using beamer class to prepare my presentations. I would like to know whether it is possible to center the author name in the footer. Currently the name is right aligned. I use "Copenhagen" theme.

Waiting for your reply.
Thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

esdd
Posts: 36
Joined: Sat Jan 25, 2014 9:13 pm

Centered Author Name in Footer of Presentation

Post by esdd »

You can define your own beamer template for the footline to center the author in the left part of the footline:

Code: Select all

\documentclass{beamer}
\usetheme{Copenhagen}% loads outer theme "split"
\usepackage{lmodern}

\setbeamertemplate{footline}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm plus1fill]{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}\insertshorttitle
  \end{beamercolorbox}}%
  \vskip0pt%
}

\begin{document}
\author{Max Mustermann}
\title{Title}
\section{first section}
\begin{frame}
  Test
\end{frame}
\end{document}
Best regards
Elke
chitharenjan
Posts: 9
Joined: Fri Jun 01, 2012 8:02 am

Centered Author Name in Footer of Presentation

Post by chitharenjan »

Worked...!


Thank you very much Elke. That was simple and really effective...

Once again Thank You.
Post Reply