Source

beamer / base / beamerbasearticle.sty

Full commit
\ProvidesPackageRCS $Header$

% 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: