投影仪类中的电子邮件字段?

投影仪类中的电子邮件字段?

我是 beamer 课程的新手,我正在努力将我的电子邮件信息包含在演示文稿中。

我试过了,\email但是没有这样的字段。我试过下面的方法,但是主题覆盖了它,导致\small电子邮件看起来太大。

\documentclass[a4paper,12pt,english]{beamer}
\usetheme{PaloAlto}
\usecolortheme[named=black]{structure}
\usefonttheme{professionalfonts}
\title{Some Great Long Title}
\author{Author\\{\small [email protected]}}
\institute{ABC}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}

有没有办法在作者和机构之间插入一行不带格式的文本?

答案1

使用

\author{\texorpdfstring{Author\newline\url{[email protected]}}{Author}}

答案2

我个人不喜欢将电子邮件地址显示在姓名正下方。我通常将其设置在左下角。我使用胶水filll允许在\maketitle同一页的下方添加文本,而无需更改\maketitle输出的位置。首先,我\vfilll类似于\vfil和定义\vfill

\def\vfilll{\vskip 0pt plus 1filll minus 0pt }

现在我可以轻松地操纵标题页的布局:

\begin{frame}
  \vfilll
  \titlepage
  \vfilll
  \usebeamerfont{institute} Contact: \url{[email protected]}
\end{frame}

以下是完整的示例文档:

\documentclass{beamer}

\def\vfilll{\vskip 0pt plus 1filll minus 0pt }

\author{John Doe}
\title{My cool title}
\institute{Institute of Institutes}
\date{\today}

\begin{document}

\begin{frame}
  \vfilll
  \titlepage
  \vfilll
  \usebeamerfont{institute} Contact: \url{[email protected]}
\end{frame}

\end{document}

它呈现以下内容:

上述代码的渲染

我使用institute字体大小,因为字体大小不会大到让人烦躁。您可以随意使用该值,或者使用明确的字体大小(\footnotesize如果您愿意的话)。此外,这适用于不同的模板(即使是带有脚注的模板),也适用于包含徽标的模板。

相关内容