0

I'm having a trouble with changing a section page style. What I have now is this:

enter image description here

What I want is to remove the "section 1" above the blue box, and to remove the box as well, and to add the section number in Roman to the section title (Introduction, here) so that the outcome should be 'I. Introduction' with centered, 12 pt.

I was able to remove only the section number, but not the blue box by following the code suggested in Creating sections each with title pages in beamers slides

The code therein was:

\documentclass{beamer}
\usetheme{Madrid}

\AtBeginSection[]{
  \begin{frame}
  \vfill
  \centering
  \begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
    \usebeamerfont{title}\insertsectionhead\par%
  \end{beamercolorbox}
  \vfill
  \end{frame}
}

\title{The Title}
\author{The Author}
\institute{The Institute}

\begin{document}

\begin{frame}
\maketitle
\end{frame}

\section{Test section one}
\begin{frame}
test frame for section one
\end{frame}

\section{Test section two}
\begin{frame}
test frame for section two
\end{frame}

\end{document}

Any help would be appreciated!

  • @marmot Thanks for comment, I edited. – JJW May 28 at 3:49
0

Building on Gonzalo's answer.

\documentclass{beamer}
\usetheme{Madrid}

\AtBeginSection[]{
  \begin{frame}
  \vfill
  \centering
    \usebeamerfont{title}\thesection. \insertsectionhead\par%
  \vfill
  \end{frame}
}

\title{The Title}
\author{The Author}
\institute{The Institute}

\begin{document}

\begin{frame}
\maketitle
\end{frame}

\section{Test section one}
\begin{frame}
test frame for section one
\end{frame}

\section{Test section two}
\begin{frame}
test frame for section two
\end{frame}

\end{document}

enter image description here

  • Thanks for anwer. Can I know how to write the section number in Roman and to change font size? – JJW May 28 at 3:56
  • @JJW Replace \usebeamerfont{title}\thesection. \insertsectionhead\par% by \Large\Roman{section}. \insertsectionhead\par%, or replace \Large by whatever font size you want. – user121799 May 28 at 3:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.