summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerfoils.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-19 00:09:01 +0000
committerKarl Berry <karl@freefriends.org>2017-12-19 00:09:01 +0000
commit5d4ee22f407e4c60e9f6ee586d4152a3d6d7287e (patch)
treee60908ef9f37f35a3e6ccdcc02d23c65f7a2ad02 /Master/texmf-dist/tex/latex/beamer/beamerfoils.sty
parentbf2407a74d6c70f8b53038edf84e01255513a57c (diff)
beamer (18dec17)
git-svn-id: svn://tug.org/texlive/trunk@46095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerfoils.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerfoils.sty59
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerfoils.sty b/Master/texmf-dist/tex/latex/beamer/beamerfoils.sty
new file mode 100644
index 00000000000..48776ac78ba
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamer/beamerfoils.sty
@@ -0,0 +1,59 @@
+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
+% Copyright 2015 by Vedran Mileti\'c, 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.
+
+\let\leftheader=\@gobble
+\let\rightheader=\@gobble
+\let\leftfooter=\@gobble
+\let\rightfooter=\@gobble
+\let\Restriction=\@gobble
+\let\marginpar=\@gobble
+
+\newcommand\LogoOff{\expandafter\global\logo{}}
+\newcommand\LogoOn{\expandafter\global\logo{\beamerfoils@logo}}
+\def\MyLogo#1{\gdef\beamerfoils@logo{#1}\LogoOn}
+\def\beamerfoils@logo{}
+
+\newtheorem*{Theorem*}{Theorem}
+\newtheorem*{Lemma*}{Lemma}
+\newtheorem*{Corollary*}{Corollary}
+\newtheorem*{Proposition*}{Proposition}
+\newtheorem*{Definition*}{Definition}
+
+\def\beamerfoils@closer{}%
+\newcommand\foilhead[2][]{%
+ \beamerfoils@closer%
+ \ifbeamer@inframe
+ \gdef\beamerfoils@closer{}%
+ \let\beamerfoils@next=\relax%
+ \else
+ \gdef\beamerfoils@closer{\egroup}%
+ \let\beamerfoils@next=\beamerfoils@openframe%
+ \fi
+ \beamerfoils@next%
+ \frametitle{#2}%
+ }
+\let\rotatefoilhead=\foilhead
+
+\def\beamerfoils@openframe{\beamerfoils@origframe[allowframebreaks]\bgroup}%
+
+\let\beamerfoils@origframe=\frame
+\def\frame{\endfoil\beamerfoils@origframe}
+
+\def\endfoil{\beamerfoils@closer\gdef\beamerfoils@closer{}}
+
+\beamertemplatecontinuationtext
+
+\newenvironment{boldequation}{\boldmath\begin{equation}}{\end{equation}}
+\newenvironment{boldequation*}{\boldmath\begin{equation*}}{\end{equation*}}
+
+\DeclareRobustCommand\FoilTeX{{\normalfont{\sffamily Foil}\kern-.03em{\rmfamily\TeX}}}
+\def\bm#1{\mathpalette\bmstyle{#1}}
+\def\bmstyle#1#2{\mbox{\boldmath$#1#2$}}