主題:塞格德 - 如何編輯標題

主題:塞格德 - 如何編輯標題

我正在使用 RMarkdown Beamer,並在 YAML 標頭中設定主題: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]

但我想刪除第二部分(第二行和第三行之間),因為我那裡沒有任何內容:

在此輸入影像描述

我該怎麼做?

是否也可以改變這些線條的顏色?

答案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}

相關內容