-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.sty
66 lines (62 loc) · 1.85 KB
/
pages.sty
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% \titlepage, \partpage, \sectionpage, and \subsectionpage are defined in beamerinnertheme.sty
%%%%%%%%%%%% SPECIAL SECTIONS %%%%%%%%%%%%
\NewDocumentCommand{\extraslides}{+m}%
{%
\iflatexpresents@handout%
\else%
% Insert the closing page, if requested
\iflatexpresents@closingpage%
% Set the boolean to false so that the closing page isn't added again by \end{document}
\setboolean{latexpresents@closingpage}{false}
% Insert the closing page
\begin{frame}
\closingpage{}
\end{frame}
\fi
\appendix
\part{Extra Slides}
\begin{frame}
\partpage{}
\end{frame}
#1
\fi%
}%
%%%%%%%%%%%% END SPECIAL SECTIONS %%%%%%%%%%%%
%%%%%%%%%%%% SPECIAL PAGES %%%%%%%%%%%%
\newlength{\latexpresents@closing@origlogowidth}
\NewDocumentCommand{\closingpage}{}%
{%
\settowidth{\latexpresents@closing@origlogowidth}{\latexpresents@titlelogos}%
\multirowlayout[nodecorations, gutter=0pt]%
{0.5}%
{%
\usebeamerfont{thanks}%
\usebeamercolor{thanks}%
\centering%
\vfill%
\strut\latexpresents@closing%
}%
[0.5]%
[%
\centering%
\ifx\latexpresents@footlogos\@empty%
\else%
\vfill%
\ifdim\latexpresents@closing@origlogowidth>0.5\elementwidth%
\resizebox{0.5\elementwidth}{!}%
{%
\usebeamercolor*{logo}%
\usebeamerfont*{logo}%
\latexpresents@footlogos{}%
}%
\else%
\usebeamercolor*{logo}%
\usebeamerfont*{logo}%
\latexpresents@footlogos{}%
\fi%
\fi%
\vfill%
\strut\latexpresents@contact
]%
}%
%%%%%%%%%%%% END SPECIAL PAGES %%%%%%%%%%%%