summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasearticle.sty
blob: fdcf7d4d7e9f99e415a3bfd536f0173a156f8fd0 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasearticle.sty,v 1.25 2004/11/15 23:14:13 tantau Exp $

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>.
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.


\newif\ifbeamer@articlexcolor
\beamer@articlexcolortrue

\newif\ifbeamer@articleactive
\beamer@articleactivefalse

\DeclareOption{noxcolor}{\beamer@articlexcolorfalse}
\DeclareOption{nodefaultblocks}{\beamer@blocksfalse}% obsolete. use notheorems
\DeclareOption{notheorems}{\beamer@blocksfalse}
\DeclareOption{noamsthm}{\beamer@blocksfalse\beamer@amsfalse}
\DeclareOption{envcountsect}{\beamer@countsecttrue}
\DeclareOption{activeospeccharacters}{\beamer@articleactivetrue}

\ProcessOptions

\mode<article>
  
\RequirePackage{keyval}

\RequirePackage{beamerbaseoptions}
% For option management

\ifbeamer@articlexcolor
  \RequirePackage[override]{xcolor}
  % For color support
\fi

\RequirePackage{beamerbasecompatibility}
% Fixes other packages
  
\RequirePackage{beamerbasefont}
% Font stuff
  
\RequirePackage{beamerbasemisc}
% Miscellaneous commands

\RequirePackage{beamerbasetwoscreens}
% Stuff for two screens

\RequirePackage{beamerbaseoverlay}
% Overlay stuff

\RequirePackage{beamerbasetitle}
% Commands for constructing the title page

\RequirePackage{beamerbasesection}
% Parts, sections, subsections, appendix

\RequirePackage{beamerbaseframe}
% Commands for constructing frames

\RequirePackage{beamerbaseverbatim}
% Commands for constructing frames

\RequirePackage{beamerbaseframesize}
% Commands for changing the size of frames

\RequirePackage{beamerbaseframecomponents}
% Headlines, sidebars, columns

\RequirePackage{beamerbasecolor}
% Headlines, sidebars, columns

\RequirePackage{beamerbasenotes}
% Commands for constructing frames

\RequirePackage{beamerbasetoc}
% Table of Contents Format

\RequirePackage{beamerbasetemplates}
% For default templates

\RequirePackage{beamerbaselocalstructure}
% Commands for local structure like alert, itemize, etc.

\RequirePackage{beamerbasenavigation}
% Navigation buttons

\RequirePackage{beamerbasetheorems}
% Theorems

\RequirePackage{beamerbasethemes}
% Commands for including and building themes


% Default article templates:
\defbeamertemplate<article>*{frame begin}{default}{}
\defbeamertemplate<article>*{frame end}{default}{}
\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>

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: ../examples/beamerexample1.tex
%%% End: