Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to edit the title page of the beamer presentation template in order display my name and my project supervisor's name in the title slide. Is this possible? Can it be achieved easily?

Thanks in advance

share|improve this question
    
This can, of course, be done. Which theme are you using? –  Gonzalo Medina Jan 23 at 22:29
    
@GonzaloMedina I am using the theme CambridgeUS at the moment. –  Vesnog Jan 23 at 22:36
add comment

1 Answer

up vote 4 down vote accepted

One possible solution follows. I adjusted some settings so that now you have a new command \supervisor which behaves analogously to \author and lets you introduce the supervisor's name below the author's name. The name will be preceded by the string "Supervisor: " which can be changed using \supervisortitle.

\documentclass{beamer}
\usetheme{CambridgeUS}

\makeatletter
\let\insertsupervisor\relax
\newcommand\supervisortitle{Supervisor}
\mode<all>
{
  \newcommand\supervisor[1]{\def\insertsupervisor{#1}}
  \titlegraphic{}
}
\defbeamertemplate*{title page}{supdefault}[1][]
{
  \vbox{}
  \vfill
  \begingroup
    \centering
    \begin{beamercolorbox}[sep=8pt,center,#1]{title}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty\relax%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \vskip1em\par
    \begin{beamercolorbox}[sep=8pt,center,#1]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \ifx\insertsupervisor\relax\relax\else
    \begin{beamercolorbox}[sep=8pt,center,#1]{author}
      \usebeamerfont{author}\supervisortitle:~\insertsupervisor
    \end{beamercolorbox}\fi
    \begin{beamercolorbox}[sep=8pt,center,#1]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center,#1]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}\vskip0.5em
    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  \endgroup
  \vfill
}
\setbeamertemplate{title page}[supdefault][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]\makeatother

\title{The Title}
\subtitle{The Subtitle}
\author{The Author}
\supervisor{David Hilbert}
\institute{The Institute}
\date{\today}

\begin{document}

\begin{frame}
\maketitle
\end{frame}

\end{document}

enter image description here

share|improve this answer
    
@Gonzala Medina Thanks, I appreciate your effort. I will implement this in my presentation right away. –  Vesnog Jan 23 at 23:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.