我想制作一个如附图所示的封面。问题是beamer
默认情况下,宏是预定义的:\author{} \title{} ', ...
并且它们的位置默认是固定的。你能帮我吗?
这是我的代码:
\title[Short Paper Title]
{presentation}
\subtitle
{About some things}
\author
{ Author}
\institute
{
Department of Computer Science\\
University of Somewhere
}
\date
{\today}
答案1
这是一个可能的解决方案(根据您的具体需求,您可能需要调整一些长度和字体);\titlegraphicii
定义了一个新命令来包含第二个徽标;它的使用方式与标准相同\titlegraphic
:
\PassOptionsToPackage{demo}{graphicx}
\documentclass{beamer}
\usetheme{Warsaw}
\makeatletter
\newcommand\titlegraphicii[1]{\def\inserttitlegraphicii{#1}}
\titlegraphicii{}
\setbeamertemplate{title page}
{
\vbox{}
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\hfill\inserttitlegraphicii\par}
\begin{centering}
\begin{beamercolorbox}[sep=8pt,center]{institute}
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,center]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
\vskip1em\par
\begin{beamercolorbox}[sep=8pt,center]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}%\vskip0.5em
\begin{beamercolorbox}[sep=8pt,center]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\end{centering}
%\vfill
}
\makeatother
\author{Presented by Author}
\title{Presentation Title}
\subtitle{Presentation Subtile}
\institute{Department \\ University}
\date{\today}
\titlegraphic{\includegraphics[height=1cm,width=2cm]{logo1}}
\titlegraphicii{\includegraphics[height=1cm,width=2cm]{logo2}}
\begin{document}
\begin{frame}[plain]
\maketitle
\small
{\centering\itshape Jury Members\par}
President: president\par\medskip
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.32\textwidth}@{}}
Examiners: & examiner 1 \\
& examiner 2 \\
& examiner 3 \\
& examiner 4
\end{tabular}%
\footnotesize
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.3\textwidth}@{}}
Supervisor 1: & supervisor \\
Supervisor 2: & supervisor
\end{tabular}%
\end{frame}
\end{document}
线路
\PassOptionsToPackage{demo}{graphicx}
用黑色矩形替换实际图形;在实际文档中删除该行。