blob: 59c64595c819104801599e87b591461203f6479f (
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
|
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/emulation/beamerfoils.sty,v 1.6 2004/10/07 20:53:07 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.
\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$}}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: examples/beamerexamples-foils.tex
%%% End:
|