| 1 |
% Copyright 2007 by Till Tantau |
| 2 |
% Copyright 2021-2026 by Joseph Wright, samcarter |
| 3 |
% |
| 4 |
% This file may be distributed and/or modified |
| 5 |
% |
| 6 |
% 1. under the LaTeX Project Public License and/or |
| 7 |
% 2. under the GNU Public License. |
| 8 |
% |
| 9 |
% See the file LICENSE.md for more details. |
| 10 |
|
| 11 |
% $Header$ |
| 12 |
|
| 13 |
% This file is a demonstration on how a foils file should be |
| 14 |
% changed to make it work with beamer. |
| 15 |
|
| 16 |
% Copyright notice: |
| 17 |
|
| 18 |
% Since foiltex has a restricted license, I'm not able to include an |
| 19 |
% original example from foiltex. Instead, I'm providing a simple |
| 20 |
% example that shows the basic usage. |
| 21 |
|
| 22 |
|
| 23 |
\documentclass{beamer} |
| 24 |
\usepackage{beamerfoils} |
| 25 |
\beamertemplatetheoremsnumbered |
| 26 |
|
| 27 |
\title{A Foils-To-Beamer Example} |
| 28 |
|
| 29 |
\author{Till Tantau} |
| 30 |
|
| 31 |
\MyLogo{\tiny-- Typeset by beamer emulation of \FoilTeX\ --} |
| 32 |
|
| 33 |
\leftheader{Till Tantau} |
| 34 |
|
| 35 |
\begin{document} |
| 36 |
|
| 37 |
\begin{frame} |
| 38 |
\maketitle |
| 39 |
\end{frame} |
| 40 |
|
| 41 |
\foilhead{A first frame} |
| 42 |
|
| 43 |
Some text. |
| 44 |
|
| 45 |
\pagebreak |
| 46 |
|
| 47 |
More text on next slide. |
| 48 |
|
| 49 |
\foilhead{A third frame} |
| 50 |
|
| 51 |
Some text. |
| 52 |
|
| 53 |
\endfoil |
| 54 |
\end{document} |