# Author name does not print on Beamer titlepage

I am making a Beamer presentation, and for some reason the author name does not show on the titlepage. I have searched the forum and found many related threads, but none of them seem to have a problem as simple as this one. Here is my preamble, (I would make it more minimal, but as often is the case, I don't know what information might be relevant, what packages might interfere, etc.)

Any ideas?

\documentclass{beamer}
\usefonttheme[onlymath]{serif}
\usetheme{CambridgeUS}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tipa}
\usepackage{eurosym}
\usepackage{wasysym}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage{graphics}
\usepackage{linguex}
\usepackage{cgloss4e}
\usepackage{authblk}
\usepackage{csquotes}
\usepackage{xspace}
\usepackage{color}
\usepackage{xyling}
\usepackage{setspace}
\usepackage{amsfonts}
\usepackage{phonetic}
\usepackage{multicol}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage[backend=biber, style=authoryear-comp]{biblatex}
\let\eachwordone\itshape

% \strikeout{text}: prints a struck-out version of #1
\newlength{\howlong}
\newcommand{\strikeout}[1]{
\settowidth{\howlong}{#1}%
#1\unitlength0.5ex%
\begin{picture}(0,0)
\put(0,1){\line(-1,0){\howlong\divide\unitlength}}
\end{picture}%
}

\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette quaternary}%
\end{beamercolorbox}%
}
}

\setbeamertemplate{footline}
{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
\hfill%
\hfill%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}
}

\setbeamercovered{transparent=30}
\beamertemplateballitem

\title{XXX}
\subtitle{YYY}
\author{Batman}
\institute{ZZZ}
\date{\today}

\newcommand{\textunderscript}[1]{$_{\text{#1}}$}

\begin{document}

\frame{\titlepage}

....

\end{document}


It seems that authoblk package you load is clashing with what you want to achieve.

I found the clash trying to create an MWE from your code, i.e. commenting out all the packages one by one and compiling to see which ones are needed to run the code.

For example, beamer loads the graphics package automatically, so it's not needed.

\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette quaternary}%
\end{beamercolorbox}%
}
}

\setbeamertemplate{footline}
{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
\hfill%
\hfill%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}
}

\setbeamercovered{transparent=30}
\beamertemplateballitem

\title{XXX}
\subtitle{YYY}
\author{Batman}
\institute{ZZZ}
\date{\today}

\begin{document}

\frame{\titlepage}

\end{document}

• About inputenc: I think beamer only loads this package if the document class option utf8x is used (see l. 295 of beamer.cls) – samcarter_is_at_topanswers.xyz May 15 '17 at 12:32
• fontenc is never loaded directly by beamer. – samcarter_is_at_topanswers.xyz May 15 '17 at 14:02
• @samcarter: thanks for checking! I removed that sentence from the answer and uncommented the two lines in the code. – Wiebke May 15 '17 at 14:05

You are loading the package authblk, which enables more options to display multiple authors with different affiliations in an article-type documents. However, it doesn't work properly with beamer. So just remove the line

\usepackage{authblk}


and "Batman" will appear as your author. If you actually need multiple authors, have a look at this answer on how to achieve that.

• Great, that solved the problem! – EspenJK May 15 '17 at 12:59