There are three possible answers:
- by using
\partpage
- by using
\titlepage
- by mimicking the theme's template.
Using \partpage
If your aim is to generate a frame announcing the part's title you can use the \partpage
command. To install such a command every time a part is created just write in your preamble
\AtBeginPart{\frame{\partpage}}
The contents of the part page are controlled by the part page
template that you can modify with \setbeamertemplate{part page}{<contents>}
.
Using \titlepage
If you want to generate a title page with different title, subtitle etc just set the new values and call \titlepage
\begin{frame}
\title{Part I}\author{}\date{}\institute{}\subtitle{}
\titlepage
\end{frame}
Even better, if you are using this to print the part's title you can use
\title{\insertpart}
and if you want beamer
to generate such frame at each part you can pass the commands to \AtBeginPart
in your preamble as in
\AtBeginPart{
\begin{frame}
\title{\insertpart}\author{}\date{}\institute{}\subtitle{}
\titlepage
\end{frame}
}
Mimicking the theme
Suppose you are using the default theme.
The definition of the title page element is in beamerinnerthemedefault.sty
and contains the following snippet to generate the blue box:
\begin{centering}
\begin{beamercolorbox}[sep=8pt,center,#1]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
...
\end{centering}
so you can just put a beamercolorbox
in your frame as in
\begin{beamercolorbox}[sep=8pt,center]{title}
Part I
\end{beamercolorbox}
However you will need to change the parameters to match your theme's design.
tcolorbox
package.