1

I'm working on a beamer presentation and isn't necessarily too long, but I will need to split topics in subsections. The thing is that with my current theme (Singapore) the navigation bar shows a new line with dots for each subsection which, ultimately, takes up more and more space.

So, in order to preserve more of the frame for images, content etc. I was wondering whether there is a way to either:

  • suppress entirely subsections from the navigation bar, or
  • make so that each time I start a subsection in the navigation bar there won't be a new line with dots showing-up (maybe they could just line-up next to the others)

If this happens to don't work so well as an approach, I can always slightly reduce image and/or content in a frame. Thanks in advance, below the code I'm using!

\documentclass[xcolor=svgnames,aspectratio=149]{beamer} \usetheme{Singapore} \usecolortheme{dolphin} \useoutertheme[subsection=false]{miniframes} \makeatletter \let\beamer@writeslidentry@miniframeson=\beamer@writeslidentry \def\beamer@writeslidentry@miniframesoff{% \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% does not happen normally {%else % removed \addtocontents commands \clearpage\beamer@notesactions% } } \newcommand*{\miniframeson}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframeson} \newcommand*{\miniframesoff}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframesoff} \makeatother \begin{document} \section{Section 1} \begin{frame} 1 \end{frame} \begin{frame} 2 \end{frame} \subsection{Subsection 1.1} \begin{frame} 3 \end{frame} \begin{frame} 4 \end{frame} \end{document} 

and an example output

test

0

1 Answer 1

1

Use the compress option to place all miniframes in the same line:

\documentclass[xcolor=svgnames,aspectratio=149,compress]{beamer} \usetheme{Singapore} \usecolortheme{dolphin} \useoutertheme[subsection=false]{miniframes} \makeatletter \let\beamer@writeslidentry@miniframeson=\beamer@writeslidentry \def\beamer@writeslidentry@miniframesoff{% \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% does not happen normally {%else % removed \addtocontents commands \clearpage\beamer@notesactions% } } \newcommand*{\miniframeson}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframeson} \newcommand*{\miniframesoff}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframesoff} \makeatother \begin{document} \section{Section 1} \begin{frame} 1 \end{frame} \begin{frame} 2 \end{frame} \subsection{Subsection 1.1} \begin{frame} 3 \end{frame} \begin{frame} 4 \end{frame} \end{document} 

enter image description here

2
  • thanks for pointing that out, I was reading a bit but completely misunderstood the function of compress; thanks for closing as well! Commented Nov 3 at 22:21
  • @Matteo You're welcome! Commented Nov 3 at 22:22

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.