From 013c4722f1e1b6ba2066cce424d216e5990be146 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Tue, 6 Dec 2022 11:32:26 +0100 Subject: [PATCH] [snippets] add section title to presentation --- files/nvim/.config/nvim/snippets/snippets/latex.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/files/nvim/.config/nvim/snippets/snippets/latex.json b/files/nvim/.config/nvim/snippets/snippets/latex.json index 304dcb2..f3facbf 100644 --- a/files/nvim/.config/nvim/snippets/snippets/latex.json +++ b/files/nvim/.config/nvim/snippets/snippets/latex.json @@ -137,6 +137,18 @@ " \\raisebox{2pt}[0pt][0pt]{\\insertframenumber/\\inserttotalframenumber}", "}", "", + "%%% Show section title", + "\\AtBeginSection[] {", + " \\begin{frame}", + " \\vfill", + " \\centering", + " \\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}", + " \\usebeamerfont{title}\\insertsectionhead\\par%", + " \\end{beamercolorbox}", + " \\vfill", + " \\end{frame}", + "}", + "", "%%% DEUTSCH!", "\\usepackage[ngerman]{babel}", "",