Source

beamer / emulation / beamerseminar.sty

\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\ifbeamerseminar@accumulated
\beamerseminar@accumulatedfalse

\DeclareOption{accumulated}{\beamerseminar@accumulatedtrue}
\ProcessOptions


\newcount\beamerseminar@overlay

\def\overlay#1{%
  \beamerseminar@overlay=#1\relax%
  \advance\beamerseminar@overlay by1\relax%
  \ifbeamerseminar@accumulated%
    \expandafter\onslide\expandafter<\the\beamerseminar@overlay->%
  \else%
    \expandafter\onslide\expandafter<\the\beamerseminar@overlay>%
  \fi%
  \aftergroup\beamerseminar@endoverlay\ignorespaces}
\def\beamerseminar@endoverlay{%
  \ifbeamerseminar@accumulated%
    \expandafter\onslide\expandafter<\the\beamerseminar@overlay->%
  \else%
    \expandafter\onslide\expandafter<\the\beamerseminar@overlay>%
  \fi}

\newif\ifbeamerseminar@starred
\newenvironment{slide}[1][]{%
  \beamerseminar@starredfalse
  \ifbeamer@inframe%
    \beamerseminar@overlay=1\bgroup\overlay{0}%
  \else%
    \frame[containsverbatim]\bgroup%
  \fi}
  {\egroup}
\newenvironment{slide*}[1][]{\begin{slide}\beamerseminar@starredtrue}{\end{slide}}

\newcommand{\newslide}{%
  \ifbeamerseminar@starred%
    \end{slide*}\begin{slide*}%
  \else%
    \end{slide}\begin{slide}%
  \fi}

\beamerseminar@overlay=1

\def\blue{\color{blue}}
\def\red{\color{red}}
\def\green{\color{green}}

\def\ptsize#1{}

\newif\ifarticle
\articlefalse
\newif\ifslidesonly
\slidesonlytrue
\newif\ifslide
\slidetrue
\newif\ifportrait
\portraitfalse
\newif\ifcenterslides
\centerslidestrue
\newdimen\semin
\newdimen\semcm

\semin=.5in
\semcm=.5cm

\mode<article>{\articletrue\slidefalse\slidesonlyfalse}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: ../test/testprosper.tex
%%% End: 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.