2

I am using the Singapore theme for a beamer presentation, with a custom color theme. I am trying to remove the fading of the navigation bar and the navigation in the title page, but I cannot get either of these things to work. Is there a standard option to do it? How can I remove the fading?

Here is a screenshot of what it looks like:

screen shot of my beamer

Here is a reproducible .tex:

\documentclass[french]{beamer}
% Color Scheme:
% https://github.com/jrnold/beamercolorthemesolarized

\usecolortheme[accent=blue]{solarized}
\usetheme{Singapore}

\setbeamertemplate{navigation symbols} {
    \insertslidenavigationsymbol
    \insertframenavigationsymbol
    \insertsubsectionnavigationsymbol
    \insertsectionnavigationsymbol
    \insertdocnavigationsymbol
    \insertbackfindforwardnavigationsymbol
    \hspace{1em}
    \usebeamerfont{footline}
    \insertframenumber/\inserttotalframenumber
}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\title{Title}
\author{My name}
\date{A Date}

\begin{document}

\frame{\titlepage}

\section{Previous}
\section{Next}
\begin{frame}
    \frametitle{A Frame}

\end{frame}


\end{document}

1 Answer 1

2

You should be able to remove both the navigation buttons by resetting the navigation symbols template and the headline shading by changing the headline template. Both modifications can be made locally inside the group formed by the {...} enclosing. The second modification is made by the \removeheadshading macro, which is basically the same definition as the default template, without the shading defined inside beamerthemeSingapore.sty

See the full example below

% arara: lwpdflatex
\documentclass[french]{beamer}
% Color Scheme:
% https://github.com/jrnold/beamercolorthemesolarized

\usecolortheme[accent=blue]{solarized}
\usetheme{Singapore}

\setbeamertemplate{navigation symbols} {
    \insertslidenavigationsymbol
    \insertframenavigationsymbol
    \insertsubsectionnavigationsymbol
    \insertsectionnavigationsymbol
    \insertdocnavigationsymbol
    \insertbackfindforwardnavigationsymbol
    \hspace{1em}
    \usebeamerfont{footline}
    \insertframenumber/\inserttotalframenumber
}
\newcommand{\removeheadshading}[0]{%
    \setbeamertemplate{headline}{%
    \begin{beamercolorbox}{section in head/foot}%
        \vskip2pt\insertnavigation{\paperwidth}\vskip2pt%
    \end{beamercolorbox}%
}%
}


\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\title{Title}
\author{My name}
\date{A Date}

\begin{document}

% Start group to make modifications local
{% 
% Remove navigation bar
\setbeamertemplate{navigation symbols}{}
% Remove the headline shading
\removeheadshading
% Typeset the actual titlepage
\begin{frame}
    \titlepage
\end{frame}
% End the local group
}

\section{Previous}
\section{Next}
\begin{frame}
    \frametitle{A Frame}

\end{frame}

\end{document}

enter image description here enter image description here

4
  • This removes the header; I would like the keep the header, but remove the gray fading background Oct 19, 2020 at 14:44
  • 1
    @SamuelYvon I edited my answer to adress your comment
    – BambOo
    Oct 19, 2020 at 15:33
  • Thank you very much; this is exactly what I wanted. Learned a lot from your answer. Oct 20, 2020 at 14:40
  • Once again, what is the reason for the downvote ?
    – BambOo
    Oct 20, 2020 at 15:40

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.