1

I'm using the focus-beamer-theme and whenever I start a new section or subsection, it automatically inserts a slides with the title of the new section on it. Is there a way to delete these pages / not generate them automatically? Didn't find anything online.

Here is a small example:

\documentclass{beamer}

\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{ngerman}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{framed}
\usepackage{lmodern}
\usepackage{setspace}
\doublespacing

\title{example presentation}

\usetheme{focus}

\begin{document}

    \begin{frame}
        \titlepage
    \end{frame}
    
    \begin{frame}{table of contents}
    \tableofcontents
    \end{frame}
    
    \section{1. section}
    
    \begin{frame}{1.section}
        This is an example
    \end{frame}
    
\end{document}

2
  • 2
    Welcome to TSE. Please post a Minimal Working Example, instead of a code snippet. Commented Jan 15, 2023 at 12:23
  • You don't need the graphicx, amsmath or xcolor packages, beamer loads them for you. You also don't need \usepackage[utf8]{inputenc} -- that's the default since a couple of years . Commented Jan 15, 2023 at 12:29

1 Answer 1

1

You can avoid (sub)section pages like this:

% !TeX TS-program = lualatex
\documentclass{beamer}
\usetheme{focus}

\AtBeginSection[]{}
\AtBeginSubsection[]{}

\begin{document}
    
\section{section}
\subsection{subsection}
\begin{frame}
    abc
\end{frame} 
    
\end{document}
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .