3

I was modifying the LaTex Beamer theme and after modifying the footer file the navigation symbols of LaTex Beamer got diapered. How can I get them back in each slide. I tried to use \setbeamertemplate{footline}{}\setbeamertemplate{navigation symbols}{\insertslidenavigationsymbol} and `%\setbeamertemplate{navigation symbols}{\insertslidenavigationsymbol}' but running out of luck :( Its not working at all.

And if possible please suggest me about how can I make these fancy navigation symbols little darker. Thank You

enter image description here Footer with Navigation Symbol

    \documentclass[xcolor=x11names,compress]{beamer}

    \usetheme{Darmstadt}
    \useoutertheme[subsection=false,footline=authortitle]{miniframes}

    \usefonttheme{serif}
    \usepackage{palatino}

    \setbeamerfont{title like}{shape=\scshape}
    \setbeamerfont{frametitle}{shape=\scshape}

    \setbeamercolor*{lower separation line head}{bg=DeepSkyBlue4} 
    \setbeamercolor*{normal text}{fg=black,bg=white} 
    \setbeamercolor*{alerted text}{fg=red} 
    \setbeamercolor*{example text}{fg=black} 
    \setbeamercolor*{structure}{fg=DeepSkyBlue4,bg=white} 

    \setbeamercolor*{palette tertiary}{fg=black,bg=black!10} 
    \setbeamercolor*{palette quaternary}{fg=black,bg=black!10} 

    \setbeamertemplate{navigation symbols}{}

    \title{Fundamentals of X and Y}
    \subtitle{Tutorial at Z 2009, Vienna, Austria}
    \author{Gsomething Ksomething}
    \institute{Department of Electrical Engineering \\ University of Something Comething}

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %
    % footline mod. from beamerouterthemeinfolines.sty
    %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \setbeamercolor{author in head/foot}{fg=white,bg=}
    \setbeamercolor{title in head/foot}{fg=white,bg=}
    \setbeamercolor{date in head/foot}{fg=black,bg=}

    \makeatletter
    \setbeamertemplate{footline}
    {%
        \setbox\beamer@tempbox=\hbox{%
            \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
                \usebeamerfont{author in head/foot}\insertshortauthor
            \end{beamercolorbox}%
            \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
                \usebeamerfont{title in head/foot}\insertshorttitle
            \end{beamercolorbox}%
            \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
                \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
                \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
            \end{beamercolorbox}%
        }%
        \vskip0pt%
            \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{0cm}%
                \usebeamercolor{frametitle right}%
                \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{3.5ex}}%
                \pgfusepath{clip}%
                \pgftext[left,base]{\pgfuseshading{beamer@frametitleshade}}%
            \end{pgfpicture}%
        \beamer@tempdim=\ht\beamer@tempbox%
        \advance\beamer@tempdim by 0.95ex%
        \vskip-\beamer@tempdim%
        \box\beamer@tempbox%
        }  
    \makeatother

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %
    % titlepage mod. from beamerinnerthemedefault.sty
    %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \setbeamertemplate{title page}
    {
        \vbox{}
        \begingroup
        \includegraphics[height=1.5cm]{example-grid-100x100bp}
        \hfill
        \includegraphics[height=1.5cm]{example-grid-100x100bp}\par
            \vskip1em\par
        \centering
        \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true,shadow=true]{title}
            \usebeamerfont{title}\inserttitle\par%
            \ifx\insertsubtitle\@empty%
            \else%
            \vskip0.25em%
            {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
            \fi%     
        \end{beamercolorbox}%
        \vskip1em\par
        \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true,shadow=true]{author}
            \usebeamerfont{author}\insertauthor
        \end{beamercolorbox}
        \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true,shadow=true]{institute}
            \usebeamerfont{institute}\insertinstitute
        \end{beamercolorbox}
        \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true,shadow=true]{date}
            \usebeamerfont{date}\insertdate
        \end{beamercolorbox}\vskip0.5em
        {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
        \hfill 
        \includegraphics[height=1.5cm]{example-grid-100x100bp}\par
        \endgroup
        \vfill
    }

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %
    % framtitle mod. from beamerouterthemeshadow.sty
    %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \colorlet{titleright}{yellow!10!white}
    \colorlet{titleleft}{DeepSkyBlue4}
    \colorlet{titlemid}{green!60!blue}

    \makeatletter

    \pgfdeclarehorizontalshading[titleleft,titleright]{beamer@frametitleshade}{\paperheight}{%
            color(0pt)=(titleleft);
            color(.5\paperwidth)=(titlemid);
            color(\paperwidth)=(titleright)
    }

    \AtBeginDocument{
        \pgfdeclareverticalshading{beamer@topshade}{\paperwidth}{%
            color(0pt)=(bg);
            color(4pt)=(black!50!bg)    
        }
    }

    \setbeamertemplate{frametitle}
    {%
        \nointerlineskip%
        \vskip-2pt%
        \hbox{\leavevmode
            \advance\beamer@leftmargin by -12bp%
            \advance\beamer@rightmargin by -12bp%
            \beamer@tempdim=\textwidth%
            \advance\beamer@tempdim by \beamer@leftmargin%
            \advance\beamer@tempdim by \beamer@rightmargin%
            \hskip-\Gm@lmargin\hbox{%
                \setbox\beamer@tempbox=\hbox{\begin{minipage}[b]{\paperwidth}%
                        \vbox{}\vskip-.75ex%
                        \leftskip0.3cm%
                        \rightskip0.3cm plus1fil\leavevmode
                        \insertframetitle \hfill \raisebox{-0.8mm}{\includegraphics[height=0.5cm]{example-grid-100x100bp}}%
                        \ifx\insertframesubtitle\@empty%
                        \strut\par%
                        \else
                        \par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}%
                        \fi%
                        \nointerlineskip
                        \vbox{}%
                    \end{minipage}}%
                    \beamer@tempdim=\ht\beamer@tempbox%
                    \advance\beamer@tempdim by 2pt%
                    \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\beamer@tempdim}
                        \usebeamercolor{frametitle right}
                        \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\beamer@tempdim}}
                        \pgfusepath{clip}
                        \pgftext[left,base]{\pgfuseshading{beamer@frametitleshade}}
                    \end{pgfpicture}
                    \hskip-\paperwidth%
                    \box\beamer@tempbox%
                }%
                \hskip-\Gm@rmargin%
            }%
            \nointerlineskip
            \vskip-0.2pt
            \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{beamer@topshade}\hskip-\Gm@rmargin}
            \vskip-2pt
    }

    \makeatother

    \begin{document}

    \begin{frame}[plain]
    \titlepage
    \end{frame}

    \section{test}
    \subsection{test}

    \begin{frame}{test}
        test
    \end{frame}

    \end{document}
3

To add the Navigation again you have to add it to your custom footline definition.

\makeatletter
\setbeamertemplate{footline}
{%
    \insertslidenavigationsymbol% <-- THE LINE I ADDED
    \setbox\beamer@tempbox=\hbox{%
        \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
            \usebeamerfont{author in head/foot}\insertshortauthor
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
            \usebeamerfont{title in head/foot}\insertshorttitle
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
            \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
            \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
        \end{beamercolorbox}%
    }%
    \vskip0pt%
        \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{0cm}%
            \usebeamercolor{frametitle right}%
            \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{3.5ex}}%
            \pgfusepath{clip}%
            \pgftext[left,base]{\pgfuseshading{beamer@frametitleshade}}%
        \end{pgfpicture}%
    \beamer@tempdim=\ht\beamer@tempbox%
    \advance\beamer@tempdim by 0.95ex%
    \vskip-\beamer@tempdim%
    \box\beamer@tempbox%
    }  
\makeatother

and set the navigation symbols template back to default.

\setbeamertemplate{navigation symbols}[default]

To change the color of the navigation symbols you have to set the corresponding beamer colors:

\setbeamercolor{navigation symbols}{use=structure,fg=structure.fg!80!bg}
\setbeamercolor{navigation symbols dimmed}{use=structure,fg=structure.fg!60!bg}

In my example I adjusted the default mixing ratio a little bit to get a darker output.

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.