I am using RMarkdown Beamer and I set the theme: Szeged in the YAML header as per:

title: title

author: name
date: date

    theme: Szeged
    slide_level: 2
      in_header: header.tex
linkcolor: blue


% remove title slides at beginning of sections
% add page counter to the footer
\setbeamertemplate{footline}[frame number]

But I would like to remove the second section (between the 2nd and 3rd line) since I do not have anything there:

enter image description here

How can I do it?

Is it possible to change the colour of these lines as well?


I added the following to the TeX file:

% remove 2nd section from header
% change colour of lines
\setbeamercolor{separation line}{bg=mycolor}

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.