테마: Szeged - 헤더 편집 방법

테마: Szeged - 헤더 편집 방법

저는 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}

관련 정보