blob: 6d784381e253e551cf91c029d3bf14165e4c4a83 (
plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
% Copyright 2003--2007 by Till Tantau
% Copyright 2010 by Vedran Mileti\'c
% Copyright 2011,2012,2015 by Vedran Mileti\'c, Joseph Wright
% Copyright 2016 by Joseph Wright
% Copyright 2017,2018 by Louis Stuart, Joseph Wright
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
\newif\ifbeamer@articleutf
\beamer@articleutffalse
\newif\ifbeamer@articlehyperref
\beamer@articlehyperreffalse
\newif\ifbeamer@articlexcolor
\beamer@articlexcolortrue
\newif\ifbeamer@articleactive
\beamer@articleactivefalse
\newif\ifbeamer@amssymb
\beamer@amssymbtrue
\newif\ifbeamer@keywords
\beamer@keywordstrue
\DeclareOption{utf8}{\beamer@articleutftrue}
\DeclareOption{hyperref}{\beamer@articlehyperreftrue}
\DeclareOption{noxcolor}{\beamer@articlexcolorfalse}
\DeclareOption{nodefaultblocks}{\beamer@blocksfalse}% obsolete. use notheorems
\DeclareOption{notheorems}{\beamer@blocksfalse}
\DeclareOption{noamsthm}{\beamer@blocksfalse\beamer@amsfalse}
\DeclareOption{noamssymb}{\beamer@amssymbfalse}
\DeclareOption{nokeywords}{\beamer@keywordsfalse}
\DeclareOption{envcountsect}{\beamer@countsecttrue}
\DeclareOption{activeospeccharacters}{\beamer@articleactivetrue}
\ProcessOptions
\@ifclassloaded{llncs}
{%
\beamer@amsfalse
\beamer@amssymbfalse
\beamer@blocksfalse
\beamer@keywordsfalse
}
{}
% Option management
\RequirePackage{beamerbaseoptions}
\ifbeamer@articleutf
\RequirePackage[utf8]{inputenc}
\fi
\ifbeamer@articlehyperref
\RequirePackage[pdfborder={0 0 0},bookmarksnumbered]{hyperref}
\hypersetup{pdfcreator={LaTeX with Beamer class (article mode)}}
\ifbeamer@articleutf
\hypersetup{unicode=true}
\fi
\fi
\ifbeamer@articlexcolor
\RequirePackage{xcolor}
\colorlet{fg}{black}
\colorlet{bg}{white}
\fi
% Beamer packages required both by presentation and article modes
\RequirePackage{beamerbaserequires}
% Default article templates:
\defbeamertemplate<article>*{frame begin}{default}{}
\defbeamertemplate<article>*{frame end}{default}{}
\defbeamertemplate<article>*{frametitle}{default}{\paragraph*{\insertframetitle}\ \par\noindent\emph{\insertframesubtitle}\par}
\defbeamertemplate<article>*{alerted text begin}{default}{\ifmmode\else\begin{itshape}\fi}
\defbeamertemplate<article>*{alerted text end}{default}{\ifmmode\else\end{itshape}\fi}
\defbeamertemplate<article>*{structure begin}{default}{\ifmmode\else\begin{bfseries}\fi}
\defbeamertemplate<article>*{structure end}{default}{\ifmmode\else\end{bfseries}\fi}
\defbeamertemplate<article>*{block begin}{default}
{\par\vskip\medskipamount{\noindent\textbf{\insertblocktitle}}\par\noindent\ignorespaces}
\defbeamertemplate<article>*{block end}{default}{\vskip\medskipamount}
\defbeamertemplate<article>*{block alerted begin}{default}
{\par\vskip\medskipamount{\noindent\textbf{\emph{\insertblocktitle}}}\par\noindent\ignorespaces}
\defbeamertemplate<article>*{block alerted end}{default}{\vskip\medskipamount}
\defbeamertemplate<article>*{block example begin}{default}
{\par\vskip\medskipamount{\noindent\emph{\insertblocktitle}}\par\noindent\ignorespaces}
\defbeamertemplate<article>*{block example end}{default}{\vskip\medskipamount}
\mode
<all>
|