Presentations and Posterscustomize beamer miniframes bullets spacing

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
Post Reply
pletessier
Posts: 2
Joined: Tue May 27, 2025 6:55 pm

customize beamer miniframes bullets spacing

Post by pletessier »

Hello,

Here is a minimal example :

Code: Select all

\documentclass[xcolor=table, aspectratio=169, compress]{beamer}

\usetheme{Dresden}
\useoutertheme{miniframes}
\usepackage{amsmath}
\usepackage{tikz}

\begin{document}
    \section{Section 1}
        \subsection{Subsection 1.1}
            \subsubsection{Subsection 1.1.1}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 1.1.2}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 1.1.3}
                \begin{frame}\end{frame}
        \subsection{Subsection 1.2}
            \subsubsection{Subsection 1.2.1}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 1.2.2}
                \begin{frame}\end{frame}
        \subsection{Subsection 1.3}
            \subsubsection{Subsection 1.3.1}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 1.3.2}
                \begin{frame}\end{frame}
    \section{Section 2}
        \subsection{Subsection 2.1}
            \subsubsection{Subsection 2.1.1}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 2.1.2}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 2.1.3}
                \begin{frame}\end{frame}
        \subsection{Subsection 2.2}
            \subsubsection{Subsection 2.2.1}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 2.2.2}
                \begin{frame}\end{frame}
            \subsubsection{Subsection 2.2.3}
                \begin{frame}\end{frame}
\end{document}
It produces a headline with all bullets on a single line, and a large space between the bullets of different sections.

I want to add a smaller space between the bullets of different subsections, in order that :

Code: Select all

ooooooo        oooooo
would become :

Code: Select all

ooo oo oo      ooo ooo
Does anyone know a way to do that ?

Thanks !

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Stefan Kottwitz
Site Admin
Posts: 10316
Joined: Mon Mar 10, 2008 9:44 pm

Re: customize beamer miniframes bullets spacing

Post by Stefan Kottwitz »

Hi,

you can patch the \slideentry command, after loading the miniframes theme:

Code: Select all

\makeatletter
\patchcmd{\slideentry}{\ifbeamer@compress}%
  {\ifbeamer@compress\ifnum#2>1\ifnum#3=1\advance\beamer@xpos by 1\relax\fi\fi}{}{}
\makeatother
Stefan
LaTeX.org admin
pletessier
Posts: 2
Joined: Tue May 27, 2025 6:55 pm

Re: customize beamer miniframes bullets spacing

Post by pletessier »

Awesome ! Thanks a lot Stefan !
Post Reply