我正在做第一次beamer
演讲,出于某种原因,作者姓名不会出现在脚注中。标题名称和机构名称确实会出现,但没有作者。
这是例子,如果很长请见谅,但我真的不知道错误在哪里......
\documentclass[slidestop,compress,mathserif]{beamer}
\usetheme{Szeged}
\usepackage[utf8]{inputenc}
\usepackage[cyr]{aeguill}
\usepackage{tipa}
\usepackage{eurosym}
\usepackage{wasysym}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage{graphics}
\usepackage {linguex}
\usepackage{cgloss4e}
\usepackage{csquotes}
\usepackage{xspace}
\usepackage{color}
\usepackage {xyling}
\usepackage{setspace}
\usepackage{amsfonts}
\usepackage{phonetic}
\usepackage{multicol}
\usepackage{booktabs}
\usepackage[backend=biber, style=authoryear-comp]{biblatex}
\addbibresource{ref.bib}
\setbeamertemplate{headline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette quaternary}%
\insertsectionnavigationhorizontal{\paperwidth}{}{\hskip0pt plus1filll}
\end{beamercolorbox}%
}
}
\setbeamercovered{transparent=30}
\beamertemplateballitem
\title{ZZZZZ}
\subtitle{QQQQ}
\author{XXXX}
\institute{YYYY}
\date{\today}
\begin{document}
\end{document}
有任何想法吗?
答案1
“由于某种原因”是指您选择的主题没有在脚注中显示作者,因此请选择其他主题或重新定义脚注。
离题:但slidestop
和都已被弃用,应分别由和 mathserif
替换。t
\usefonttheme[onlymath]{serif}
\documentclass[t,compress]{beamer}
\usetheme{Szeged}
\usefonttheme[onlymath]{serif}
\setbeamertemplate{headline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette quaternary}%
\insertsectionnavigationhorizontal{\paperwidth}{}{\hskip0pt plus1filll}
\end{beamercolorbox}%
}
}
\setbeamertemplate{footline}
{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
\hfill%
\leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}%
\hfill%
{\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}
}
\title{ZZZZZ}
\subtitle{QQQQ}
\author{XXXX}
\institute{YYYY}
\date{\today}
\begin{document}
\begin{frame}
abc
\end{frame}
\end{document}