I'm preparing a series of beamer documents with different \titles, and the first slide of each document has the same title as the document \title. I want to be able to just change the content of \title for each document, and then the title of the first slide will be updated automatically.


\title{Some Title}


\begin{frame}{Some Title}
frame content


Since the frame title is the same as \title and pdftitle, is there a way to set the frame title to be the same as pdftitle or \title without typing it again? I tried


Obviously this didn't work.


One solution would be to have \def\mytitle{Title}, and then \hypersetup{pdftitle={\mytitle}} and \begin{frame}{\mytitle} as well as \title{\mytitle}.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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