Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using Ilmenau in a beamer presentation (first image)

outer theme miniframes /Ilmenau

I want to hide the bullets, so I use my own headline template (I get the idea from Is it possible to get rid of the bullets in the miniframes outer theme ). I remove the bullets but I get a white box on top of the slide instead (second image). I want to remove the bullets and the rest of the header elements move to the top.

I'm using this code:

\usetheme{Ilmenau}

\setbeamertemplate{headline}
{%
  \begin{beamercolorbox}{section in head/foot}
  \vskip2pt\insertsectionnavigationhorizontal{\textwidth}{}{}\vskip2pt
  \end{beamercolorbox}
}

own header

UPDATE: Complete snippet: The empty template output white space on top, but if you uncomment the headline template body, is more strange even.

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage{listings}
\usepackage{graphicx}

\title{Active Galactic Nuclei}
\author{John Doe}
\usetheme{Ilmenau}
\usecolortheme[rgb={0,0.4,0}]{structure}

\setbeamertemplate{navigation symbols}{}
\setbeamercovered{transparent=20}
\newcommand*\oldmacro{}%
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
  \oldmacro\hfill%
  \insertframenumber}

\begin{document}

\setbeamertemplate{headline}[default]
 {%
%%   \begin{beamercolorbox}{section in head/foot}
%%   \insertsectionnavigationhorizontal{\textwidth}{}{}
%%   \end{beamercolorbox}%
}

\section{Introduction}
\subsection{Active Galactic Nuclei}

\frame{
\frametitle{Active Galactic Nuclei}
In some galaxies, the nucleus produces more radiation than the entire rest of the galaxy. Gas spirals towards a supermassive black hole (SMBH) assuming a disk shaped structure, generating massive amounts of radiation before falling onto the black hole. 
}

\section{Other}
\subsection{Other}

\frame{
\frametitle{Active Galactic Nuclei}
In some galaxies, the nucleus produces more radiation than the entire rest of the galaxy. Gas spirals towards a supermassive black hole (SMBH) assuming a disk shaped structure, generating massive amounts of radiation before falling onto the black hole. 
}

\end{document}
share|improve this question
    
added the theme line –  Zhen Oct 15 '12 at 22:10
    
I added a complete example of the problem –  Zhen Oct 15 '12 at 22:28
    
Thanks for providing a complete example! –  Gonzalo Medina Oct 15 '12 at 22:31

1 Answer 1

up vote 5 down vote accepted

Move the redefinition for headline to the preamble:

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage{listings}
\usepackage{graphicx}

\title{Active Galactic Nuclei}
\author{John Doe}
\usetheme{Ilmenau}
\usecolortheme[rgb={0,0.4,0}]{structure}

\setbeamertemplate{navigation symbols}{}
\setbeamercovered{transparent=20}
\newcommand*\oldmacro{}%
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
  \oldmacro\hfill%
  \insertframenumber}

\setbeamertemplate{headline}
 {%
  \begin{beamercolorbox}{section in head/foot}
  \insertsectionnavigationhorizontal{\textwidth}{}{}
  \end{beamercolorbox}%
}

\begin{document}


\section{Introduction}
\subsection{Active Galactic Nuclei}

\frame{
\frametitle{Active Galactic Nuclei}
In some galaxies, the nucleus produces more radiation than the entire rest of the galaxy. Gas spirals towards a supermassive black hole (SMBH) assuming a disk shaped structure, generating massive amounts of radiation before falling onto the black hole. 
}

\section{Other}
\subsection{Other}

\frame{
\frametitle{Active Galactic Nuclei}
In some galaxies, the nucleus produces more radiation than the entire rest of the galaxy. Gas spirals towards a supermassive black hole (SMBH) assuming a disk shaped structure, generating massive amounts of radiation before falling onto the black hole. 
}

\end{document}

enter image description here

share|improve this answer
    
argg, it seem too obvious now!! –  Zhen Oct 16 '12 at 7:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.