我正在使用 beamer 进行演示,需要创建标题页。我有常见的“标题”、“作者”、“机构”、“日期”。现在理想情况下,我想在这下面再放一行与作者姓名大小相同的行(与... 合作)。我找不到是否有其他可以放在标题页中的“标签”可以使用,所以我只是在正确的框架中写了一行居中的文本。但是文本很小。我尝试了一个\big{}
环境,但没有帮助。
\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
\usetheme{Simple}
\usepackage{hyperref}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
% The title
\title[colour-bias cycles]{On colour-biased Hamilton cycles in dense graphs}
%\subtitle{Subtitle}
\author[me] {me}
\institute[my university] % Your institution may be shorthand to save space
{
% Your institution for the title page
%Department of Computer Science \\
my university
\vskip 3pt
}
\date{\today} % Date, can be changed to a custom date
%----------------------------------------------------------------------------------------
% PRESENTATION SLIDES
%----------------------------------------------------------------------------------------
\begin{document}
\begin{frame}
% Print the title page as the first slide
\titlepage
\centering Joint work with X and Y
\end{frame}
\end{document}
答案1
您可以使用\centering \usebeamerfont{author} Joint work with X and Y
与作者姓名相同的字体(形状、大小等)。
(但是如果你的Simple
主题与https://github.com/zbowang/BeamerTheme那么你就可以避免所有的麻烦,作者设置的是正常字体大小)
\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
\usetheme{simple}
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
% The title
\title[colour-bias cycles]{On colour-biased Hamilton cycles in dense graphs}
%\subtitle{Subtitle}
\author[me] {me}
\institute[my university] % Your institution may be shorthand to save space
{
% Your institution for the title page
%Department of Computer Science \\
my university
\vskip 3pt
}
\date{\today} % Date, can be changed to a custom date
%----------------------------------------------------------------------------------------
% PRESENTATION SLIDES
%----------------------------------------------------------------------------------------
%\setbeamerfont{author}{size=\huge}
\begin{document}
\begin{frame}
% Print the title page as the first slide
\titlepage
\centering \usebeamerfont{author} Joint work with X and Y
\end{frame}
\end{document}