![テーマ: セゲド - ヘッダーの編集方法](https://rvso.com/image/420739/%E3%83%86%E3%83%BC%E3%83%9E%3A%20%E3%82%BB%E3%82%B2%E3%83%89%20-%20%E3%83%98%E3%83%83%E3%83%80%E3%83%BC%E3%81%AE%E7%B7%A8%E9%9B%86%E6%96%B9%E6%B3%95.png)
私は RMarkdown Beamer を使用しており、YAML ヘッダーに theme: Szeged を次のように設定しています。
---
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]
しかし、そこには何もないので、2 番目のセクション (2 行目と 3 行目の間) を削除したいと思います。
どうすればいいですか?
これらの線の色も変更することは可能ですか?
答え1
TeX ファイルに次の内容を追加しました:
% 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}