summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer/base/beamerarticle.sty
blob: 195e49a0e3d80f9f25fd2ceefde6468f12e4cd1a (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
% Copyright 2003--2007 by Till Tantau
% Copyright 2010 by Vedran Mileti\'c
% Copyright 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.

\ProvidesPackage{beamerarticle}
  [2021/05/26 v3.63 beamer input in article mode]

% Setup modes and check for article option
% Also loads packages required by both beamer and beamerarticle
\RequirePackage{beamerbasemodes}

\DeclareOption{utf8}{\PassOptionsToPackage{utf8}{beamerbasearticle}}
\DeclareOption{hyperref}{\PassOptionsToPackage{hyperref}{beamerbasearticle}}
\DeclareOption{noxcolor}{\PassOptionsToPackage{noxcolor}{beamerbasearticle}}
\DeclareOption{notheorems}{\PassOptionsToPackage{notheorems}{beamerbasearticle}}
\DeclareOption{noamsthm}{\PassOptionsToPackage{noamsthm}{beamerbasearticle}}
\DeclareOption{noamssymb}{\PassOptionsToPackage{noamssymb}{beamerbasearticle}}
\DeclareOption{envcountsect}{\PassOptionsToPackage{envcountsect}{beamerbasearticle}}
\DeclareOption{activeospeccharacters}{\PassOptionsToPackage{activeospeccharacters}{beamerbasearticle}}
\DeclareOption{nokeywords}{\PassOptionsToPackage{nokeywords}{beamerbasearticle}}

\ProcessOptions\relax

\def\beamer@slide#1#2{\expandafter\gdef\csname beamer@slide#1\endcsname{#2}}
\beamer@inpresentationfalse

\ifx\beamer@currentmode\@undefined
  \def\beamer@currentmode{article}
\fi

\mode
<all>

\RequirePackage{beamerbasearticle}