TransWikia.com

theme: Szeged - how to edit header

TeX - LaTeX Asked on December 2, 2020

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

---
title: title

author: name
date: date

output:
  beamer_presentation:
    theme: Szeged
    slide_level: 2
    includes:
      in_header: header.tex
      
linkcolor: blue
---

header.tex

% remove title slides at beginning of sections
AtBeginSection{}
% 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?

One Answer

I added the following to the TeX file:

% remove 2nd section from header
makeatletter
beamer@theme@subsectionfalse
makeatother
% change colour of lines
definecolor{mycolor}{RGB}{7,75,164}
setbeamercolor{separation line}{bg=mycolor}

Correct answer by Daniela on December 2, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP