目前我正在做一个演示文稿,这是生成我的标题页的代码:
\documentclass[10pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\usepackage{appendixnumberbeamer}
% ===================
% Metropolis BrownU Theme\\
% https://github.com/vskbellala/metropolis-brown
\usepackage{metropolisbrown}
% ===================
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
\usepackage{xspace}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
\title{Quaterniões}
\subtitle{Processamento de imagens e diversos}
\author{\href{https://www.ua.pt/pt/p/80632481}{Rodrigo Domingues}}
\institute{}
\date{\vspace{.25cm} \scriptsize{Orientadores: \hspace*{.2cm}
\begin{itemize}
\item[]{Prof. Dr. Milton Ferreira}
\item[]{Prof. Dr. Nelson Vieira}
\end{itemize}}
\vspace{.25cm}
\small{Departamento de Matemática, Universidade de Aveiro\begin{center} 2022 \end{center}}}
\titlegraphic{\hfill\href{https://www.ua.pt/pt/dmat/}{\includegraphics[height=1cm]{dmat_ua_nobg.png}}}
\begin{document}
\maketitle
\end{document}
我希望的输出是让页面顶部与文本之间的垂直距离更大,即,将文本移近页面末尾,在图像和投影仪主标题之间留出更多空间。类似这样:
提前感谢任何帮助。
答案1
重新定义标题页(例如重新定义大都市封面),而不是使用\date
来包含新字段。
有两个小页面。上面的小页面包括标题、副标题和徽标。下面的小页面包括其余字段。
定义中的不同元素之间存在多个\vspaces*
允许轻松更改布局。
\documentclass[10pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\usepackage{appendixnumberbeamer}
% ===================
% Metropolis BrownU Theme\\
% https://github.com/vskbellala/metropolis-brown
\usepackage{metropolisbrown}
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
\usepackage{xspace}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
\setbeamertemplate{title page}{% added <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
\begin{minipage}{\textwidth}
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\vspace*{5em}
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\usebeamertemplate*{title separator}
\end{minipage}
\vfill
\begin{minipage}{\textwidth}
\vspace*{0.6em}%
\ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
\vspace*{0.25em}
{\scriptsize Orientadores: \par
\vspace*{0.25em}
\hspace{3.0em}Prof. Dr. Milton Ferreira \par
\vspace*{0.25em}
\hspace{3.0em}Prof. Dr. Nelson Vieira} \par
\vspace*{0.25em}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\centering \vspace*{1em} \ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\end{minipage}
}
\title{Quaterniões}
\subtitle{Processamento de imagens e diversos}
\author{\href{https://www.ua.pt/pt/p/80632481}{Rodrigo Domingues }}
\institute{Departamento de Matemática, Universidade de Aveiro}
\date{2022}
\titlegraphic{\hfill\href{https://www.ua.pt/pt/dmat/}{\includegraphics[height=1cm]{logo.jpg}}}
\begin{document}
\maketitle
\end{documen