LaTeX forum ⇒ Page LayoutCentered Author Name in Footer of Presentation Topic is solved

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

Centered Author Name in Footer of Presentation

Postby chitharenjan » Tue Feb 18, 2014 11:54 am

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.

Tags:

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

Postby esdd » Tue Feb 18, 2014 1:22 pm

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

  1. \documentclass{beamer}
  2. \usetheme{Copenhagen}% loads outer theme "split"
  3. \usepackage{lmodern}
  4.  
  5. \setbeamertemplate{footline}
  6. {%
  7. \leavevmode%
  8. \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm plus1fill]{author in head/foot}%
  9. \usebeamerfont{author in head/foot}\insertshortauthor
  10. \end{beamercolorbox}%
  11. \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
  12. \usebeamerfont{title in head/foot}\insertshorttitle
  13. \end{beamercolorbox}}%
  14. \vskip0pt%
  15. }
  16.  
  17. \begin{document}
  18. \author{Max Mustermann}
  19. \title{Title}
  20. \section{first section}
  21. \begin{frame}
  22. Test
  23. \end{frame}
  24. \end{document}

Best regards
Elke

chitharenjan
Posts: 9
Joined: Fri Jun 01, 2012 8:02 am

Postby chitharenjan » Wed Feb 19, 2014 1:52 pm

Worked...!


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

Once again Thank You.


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 4 guests