Rmarkdown slide smoothing, plus grays for non-current sections

I want to insert a smoothing slide at the beginning, but not at the very beginning.

In addition, I want the content slide to repeat each time a new section appears, but from now on everything is grayed out except for the current section, for example, see image.

( this other answer will not work, because toc: true just puts one table of contents at the very beginning)

Some KIND answers exist in Latex (see here ), but I don’t know how to implement them as part of markdowns. More generally, I find it difficult to integrate liner-based latex into rmarkdown, so if someone can show me how to do this, esp with this example, this is useful.

enter image description here

Preamble Beamer:

output:
  beamer_presentation:
    fig_width: 7
    fig_height: 6
    fig_caption: false
#    keep_tex: true
#    toc: true
    slide_level: 3
    includes:
      in_header: ~/Google Drive/.../.../../latexbeamertheme.r
header-includes:
- \AtBeginSection[]{\begin{frame}\tableofcontents[currentsection]\end{frame}}
+4
1

header-includes; , LaTeX. , , , , :

---
title: "Example"
output: beamer_presentation
header-includes:
- \AtBeginSection[]{\begin{frame}\tableofcontents[currentsection]\end{frame}}
---

# Test Section One

----

Test

----

Test


# Test Section Two

----

Test

----

Test

:

, header-includes, :

---
title: "Example"
output: beamer_presentation
---

# Test Section One

----

\tableofcontents[currentsection]

----

Test

----

Test


# Test Section Two

----

\tableofcontents[currentsection]

----

Test

----

Test
+2

Source: https://habr.com/ru/post/1685045/


All Articles