forked from jgm/pandoc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.latex.rej
50 lines (50 loc) · 1.41 KB
/
default.latex.rej
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
***************
*** 11,16 ****
\setbeamertemplate{caption label separator}{: }
\setbeamercolor{caption name}{fg=normal text.fg}
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
$endif$
$if(beamerarticle)$
\usepackage{beamerarticle} % needs to be loaded first
--- 11,51 ----
\setbeamertemplate{caption label separator}{: }
\setbeamercolor{caption name}{fg=normal text.fg}
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
+ % Prevent slide breaks in the middle of a paragraph:
+ \widowpenalties 1 10000
+ \raggedbottom
+ $if(section-titles)$
+ \setbeamertemplate{part page}{
+ \centering
+ \begin{beamercolorbox}[sep=16pt,center]{part title}
+ \usebeamerfont{part title}\insertpart\par
+ \end{beamercolorbox}
+ }
+ \setbeamertemplate{section page}{
+ \centering
+ \begin{beamercolorbox}[sep=12pt,center]{part title}
+ \usebeamerfont{section title}\insertsection\par
+ \end{beamercolorbox}
+ }
+ \setbeamertemplate{subsection page}{
+ \centering
+ \begin{beamercolorbox}[sep=8pt,center]{part title}
+ \usebeamerfont{subsection title}\insertsubsection\par
+ \end{beamercolorbox}
+ }
+ \AtBeginPart{
+ \frame{\partpage}
+ }
+ \AtBeginSection{
+ \ifbibliography
+ \else
+ \frame{\sectionpage}
+ \fi
+ }
+ \AtBeginSubsection{
+ \frame{\subsectionpage}
+ }
+ $endif$
$endif$
$if(beamerarticle)$
\usepackage{beamerarticle} % needs to be loaded first