bloodworks gives the simplest solution. However, if you want to retain exactly the formatting for the title page, but just not have the page number information, then you can redefine the footline
template just for that frame as follows:
\documentclass {beamer}
\mode<beamer>{\usetheme{Madrid}}
\title[Test Title]{Test}
\begin{document}
\bgroup
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
\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}
\hspace*{6ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother
\begin{frame}
\titlepage
\end{frame}
\egroup
\setcounter{framenumber}{0}
\begin{frame}
\frametitle{First test frame}
\begin{itemize}
\item Item 1
\item item 2
\end{itemize}
\end{frame}
\begin{frame} More \end{frame}
\end{document}
The code makes a local group around the first frame via \bgroup / \endgroup
and then contains a copy of the footline
template from beamerouterthemeinfolines.sty
with the insertion of "frame numuber / total framenumber" commented out and replaced by an appropriate amount of horisontal space.
Had not been for the " / " between these numbers you could just have set the commands \insertframenumber
and \inserttotalframenumber
to insert a single space each in this group.
After discussion with bloodworks, one may prefer to package the above up in to a macro \mytitleframe
as below. Such a definition could then be moved to a private style file.
\documentclass{beamer}
\mode<beamer>{\usetheme{Madrid}}
\makeatletter
\def\mytitleframe{\bgroup
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
\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}
\hspace*{6ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\maketitle
\egroup
\addtocounter{framenumber}{-1}
}
\makeatother
\title[Test Title]{Test}
\begin{document}
\mytitleframe
\begin{frame}
\frametitle{First test frame}
\begin{itemize}
\item Item 1
\item item 2
\end{itemize}
\end{frame}
\begin{frame} More \end{frame}
\end{document}
This should work:
\setbeamercolor{section in head/foot}{parent=palette tertiary,fg=red}
\setbeamertemplate{section in head/foot shaded}{\color{blue}\usebeamertemplate{section in head/foot}}
Explaination
Look at the first line: It says that section in head/foot
inherits colors from palette tertiary
and redefine fg=red
. Therefore palette tertiary
remains unchanged and active section-titles are set to be red.
Similarly we want something like \setbeamercolor{section in head/foot shaded}{parent=palette tertiary,fg=blue}
for inactive section-titles. Yes, we can set these colors. But no, Beamer will never use it. See the following code from beamerbasenavigation.sty
:
\def\sectionentry#1#2#3#4#5{% section number, section title, page
\ifnum#5=\c@part%
\beamer@section@set@min@width
\box\beamer@sectionbox\hskip1.875ex plus 1fill%
\beamer@xpos=0\relax%
\beamer@ypos=1\relax%
\setbox\beamer@sectionbox=
\hbox{\def\insertsectionhead{#2}%
\def\insertsectionheadnumber{#1}%
\def\insertpartheadnumber{#5}%
{%
\usebeamerfont{section in head/foot}\usebeamercolor[fg]{section in head/foot}%
\ifnum\c@section=#1%
\hyperlink{Navigation#3}{{\usebeamertemplate{section in head/foot}}}%
\else%
\hyperlink{Navigation#3}{{\usebeamertemplate{section in head/foot shaded}}}%
\fi}%
}%
\ht\beamer@sectionbox=1.875ex%
\dp\beamer@sectionbox=0.75ex%
\fi\ignorespaces}
You could see that there is an \ifnum\c@section=#1
checking whether it should shade the section-title or not. However, the color theme is already applied at \usebeamercolor[fg]{section in head/foot}
. Therefore \setbeamercolor{section in head/foot shaded}{parent=palette tertiary,fg=blue}
is legal but useless.
But we still got one more chance: after \ifnum
there is an \usebeamertemplate{section in head/foot shaded}
. It is defined in beamerouterthemedefault.sty
:
\defbeamertemplate*{section in head/foot shaded}{default}[1][50]
{\color{fg!#1!bg}\usebeamertemplate{section in head/foot}}
Notice that bg
and fg
here are the colors from section in head/foot
. This explains why inactive section-titles seems to be transparent. Assigning brutally a new color at this point solves your problem.
Best Answer
The code for the shaded frametitle is borrowed from
beamerouterthemeshadow.sty
. You can adjust the colour in the lines\colorlet{titleleft}{cyan} \colorlet{titleright}{black}