I want to use a trick I found in the question Beamer navigation circles without subsections? to suppress multiple lines of "frame dots" for each subsection in beamer's mini frame navigation. Instead, I want to have a line of frame dots for each section. This fails with the outer theme miniframe, but not with the outer theme smoothbars:
\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{M21}
\title
{Long Title}
\subtitle{Subtitle}
\author{Christoph}
\date{}
\subject{}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section[One]{Sec 1}
\setcounter{subsection}{1}
\begin{frame}
\frametitle{Some Frame}
\framesubtitle{its subtitle}
and some bla bla
\end{frame}
\begin{frame}
\frametitle{More...}
\framesubtitle{more subtitle}
and some bla bla
\end{frame}
\begin{frame}
\frametitle{Last Frame in Section}
and some bla bla
\end{frame}
\section{Sec 2}
\setcounter{subsection}{1}
\begin{frame}
\frametitle{Some Frame}
\framesubtitle{its subtitle}
and some bla bla
\end{frame}
\begin{frame}
\frametitle{More...}
\framesubtitle{more subtitle}
and some bla bla
\end{frame}
\begin{frame}
\frametitle{Last Frame in Section}
and some bla bla
\end{frame}
\end{document}
My theme file beamerthemeM21.sty has the following content:
\usepackage{remreset}
\makeatletter
\@removefromreset{subsection}{section}
\makeatother
\mode<presentation>
\setbeamercovered{transparent}
\mode<all>
\useoutertheme[subsection=false]{smoothbars}
%\useoutertheme[subsection=false]{miniframes}
\setbeamertemplate{navigation symbols}{}
As it is now, the MWE should show correct dots, like so:
One Sec 2
Ooo ooo
If you comment smoothbars and activate miniframes, the line of dots is shifted to the right, and the shift amount increases for each section:
One Sec 2
Ooo ooo
How can I avoid that? Where did I mess it up?