Page Layout ⇒ Centered Author Name in Footer of Presentation
-
- Posts: 9
- Joined: Fri Jun 01, 2012 8:02 am
Centered Author Name in Footer of Presentation
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Centered Author Name in Footer of Presentation
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}
Elke
-
- Posts: 9
- Joined: Fri Jun 01, 2012 8:02 am
Centered Author Name in Footer of Presentation
Thank you very much Elke. That was simple and really effective...
Once again Thank You.