diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:52:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:52:02 +0000 |
commit | b1daf7130666bef14cdb98d88b3c107da38becec (patch) | |
tree | 08f591f90145354f39d714eadee16c99557b7109 /Master/texmf-dist/tex/latex/beamer/emulation | |
parent | 47773c8fa98e5885b1d789b205b39fb924707e6e (diff) |
beamer
git-svn-id: svn://tug.org/texlive/trunk@699 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/emulation')
8 files changed, 1083 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/beamerfoils.sty b/Master/texmf-dist/tex/latex/beamer/emulation/beamerfoils.sty new file mode 100644 index 00000000000..59c64595c81 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/beamerfoils.sty @@ -0,0 +1,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: diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/beamerprosper.sty b/Master/texmf-dist/tex/latex/beamer/emulation/beamerprosper.sty new file mode 100644 index 00000000000..4eac19858c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/beamerprosper.sty @@ -0,0 +1,174 @@ +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/emulation/beamerprosper.sty,v 1.4 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\beamerprosper@entry=\@gobble + +\DeclareOption{framesassubsections}{\mode<presentation> + {\def\beamerprosper@entry#1{\beamer@ifempty{#1}{}{\subsection{#1}}}}} + +\ProcessOptions + +% Redefine \institution inside \author +\mode<presentation> +{ +\def\author{\@dblarg\beamer@author} +\def\beamer@author[#1]#2{% + \def\insertauthor{\def\inst{\beamer@insttitle}\def\and{\beamer@andtitle}% + \let\institution=\beamer@institution#2}% + \def\beamer@shortauthor{\let\institution=\beamer@shortinstitution#1}% +} +\def\beamer@institution#1{\footnotesize #1} +\def\beamer@shortinstitution#1{\ } + +\def\institution{\institute} +} + +\mode<article> +{ + \def\institution#1{#1} +} + + +\newcommand\email[1]{\texttt{#1}} + +\define@key{beamerprosper}{toc}{\def\beamerprosper@toc{#1}} +\define@key{beamerprosper}{template}{} +\define@key{beamerprosper}{trans}{\def\beamerprosper@trans{#1}} +\define@key{beamerprosper}{Glitter}[true]{\def\beamerprosper@trans{Glitter}} +\define@key{beamerprosper}{R}[true]{\def\beamerprosper@trans{R}} +\define@key{beamerprosper}{Replace}[true]{\def\beamerprosper@trans{Replace}} +\define@key{beamerprosper}{Split}[true]{\def\beamerprosper@trans{Split}} +\define@key{beamerprosper}{Blinds}[true]{\def\beamerprosper@trans{Blinds}} +\define@key{beamerprosper}{Box}[true]{\def\beamerprosper@trans{Box}} +\define@key{beamerprosper}{Wipe}[true]{\def\beamerprosper@trans{Wipe}} +\define@key{beamerprosper}{Dissolve}[true]{\def\beamerprosper@trans{Dissolve}} +\define@key{beamerprosper}{Glitter}[true]{\def\beamerprosper@trans{Glitter}} + + +\newcommand{\PDForPS}[2]{\ifx\pdfoutput\@undefined#2\else#1\fi} +\newcommand{\onlyInPDF}[1]{\ifx\pdfoutput\@undefined\else#1\fi} +\newcommand{\onlyInPS}[1]{\ifx\pdfoutput#1\@undefined\fi} + +\newenvironment{slide}[2][]{% + \def\beamerprosper@toc{#2} + \def\beamerprosper@trans{}% + \setkeys{beamerprosper}{#1}% + \expandafter\beamerprosper@entry\expandafter{\beamerprosper@toc}% + \edef\@temp{\noexpand\begin{frame}\beamerprosper@options}% + \@temp\PDFtransition{\beamerprosper@trans}\frametitle{#2}}{\end{frame}} + +\def\beamerprosper@options{[containsverbatim]} +\long\def\overlays#1#2{{\def\beamerprosper@options{}#2}} + +\def\fromSlide{\@ifstar{\beamer@sfromSlide}{\beamer@fromSlide}} +\newcommand{\beamer@fromSlide}[2]{\uncover<#1->{#2}} +\newcommand{\beamer@sfromSlide}[2]{\only<#1->{#2}} + +\def\onlySlide{\@ifstar{\beamer@sonlySlide}{\beamer@onlySlide}} +\newcommand{\beamer@onlySlide}[2]{\uncover<#1>{#2}} +\newcommand{\beamer@sonlySlide}[2]{\only<#1>{#2}} + +\def\untilSlide{\@ifstar{\beamer@suntilSlide}{\beamer@untilSlide}} +\newcommand{\beamer@untilSlide}[2]{\uncover<-#1>{#2}} +\newcommand{\beamer@suntilSlide}[2]{\only<-#1>{#2}} + +\newcommand\FromSlide[1]{\onslide<#1->} +\newcommand\OnlySlide[1]{\onslide<#1>} +\newcommand\UntilSlide[1]{\onslide<-#1>} + +\newcommand\slideCaption[1]{\date{#1}} +\def\Logo{\@ifnextchar(\beamer@Logo\logo} +\def\beamer@Logo(#1,#2){\logo} + +\let\DefaultTransition=\@gobble +\let\NoFrenchBabelItemize=\relax +\let\TitleSlideNav=\@gobble +\let\NormalSlideNav=\@gobble +\let\LeftFoot=\@gobble +\let\RightFoot=\@gobble + +\AtBeginDocument{\let\beamer@steporigitem=\item} + +\newenvironment{Itemize}{\begin{itemize}}{\end{itemize}} +\newenvironment{itemstep}[1][]{\begin{itemize}[<+->]}{\end{itemize}} +\newenvironment{enumstep}[1][]{\begin{enumerate}[<+->]}{\end{enumerate}} +\newcommand\prosperpart[2][]{\begin{slide}[#1]{}\begin{centering}\Large\structure{#2}\par\end{centering}\end{slide}} +\newcommand{\hiddenitem}{\addtocounter{beamerpauses}{1}} + + +\newcommand{\FontTitle}[2]{} +\newcommand{\FontText}[2]{} +\newcommand{\fontTitle}[1]{#1} +\newcommand{\fontText}[1]{#1} +\newcommand{\ColorFoot}[1]{} +\newcommand{\PDFtransition}[1]{\csname beamer@trans#1\endcsname} +\def\beamer@trans{} +\def\beamer@transR{} +\def\beamer@transReplace{} +\def\beamer@transSplit{\transsplithorizontalout} +\def\beamer@transBlinds{\transblindshorizontal} +\def\beamer@transBox{\transboxout} +\def\beamer@transWipe{\transwipe} +\def\beamer@transDissolve{\transdissolve} +\def\beamer@transGlitter{\transglitter} + +\newcommand{\myitem}[2]{} + +\def\tsection{\@ifstar\section\section} + +\def\tsectionandpart{\@ifstar\beamerprosper@tsp\beamerprosper@tsp} + +\newcommand\beamerprosper@tsp[2][]{% + \def\beamerprosper@toc{#2}% + \def\beamerprosper@trans{}% + \setkeys{beamerprosper}{#1}% + \expandafter\section\expandafter{\beamerprosper@toc} + \mode<presentation>{\expandafter\prosperpart\expandafter[\beamerprosper@trans]{#2}}} + +\newbox\beamerprosper@notebox + +\newenvironment{notes}[1]{% + \begingroup% + \textwidth=10.8cm\hsize=\textwidth\setbox\beamerprosper@notebox=\vbox\bgroup + \begin{small}\textbf{#1}\par\medskip} +{\par\end{small}\egroup\note{\box\beamerprosper@notebox} + \endgroup} + +\let\wideslide=\slide +\let\endwideslide=\endslide +\let\HAPsetup=\@gobble + +\newdimen\beamerprosper@leftwidth +\newdimen\beamerprosper@rightwidth + +\define@key{beamerprosper}{lcolwidth}{\beamerprosper@leftwidth=#1\relax} +\define@key{beamerprosper}{rcolwidth}{\beamerprosper@rightwidth=#1\relax} +\define@key{beamerprosper}{lfrheight}{} +\define@key{beamerprosper}{rfrheight}{} +\define@key{beamerprosper}{frsep}{} +\define@key{beamerprosper}{colsep}{} +\define@key{beamerprosper}{topsep}{} +\define@key{beamerprosper}{bottomsep}{} +\define@key{beamerprosper}{indent}{} + +\def\dualslide{\@ifnextchar[{\beamerprosper@gobble}{\beamerprosper@dual}} +\long\def\beamerprosper@gobble[#1]{\dualslide} +\long\def\beamerprosper@dual#1#2#3{% + \beamerprosper@leftwidth=0.47\linewidth% + \beamerprosper@rightwidth=0.47\linewidth% + \setkeys{beamerprosper}{#1}% + \begin{columns}[t,onlytextwidth]% + \column{\beamerprosper@leftwidth}% + #2% + \column{\beamerprosper@rightwidth}% + #3% + \end{columns}\bigskip} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: ../test/testprosper.tex +%%% End: diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/beamerseminar.sty b/Master/texmf-dist/tex/latex/beamer/emulation/beamerseminar.sty new file mode 100644 index 00000000000..96de895ce56 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/beamerseminar.sty @@ -0,0 +1,80 @@ +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/emulation/beamerseminar.sty,v 1.3 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. + +\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: diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty b/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty new file mode 100644 index 00000000000..5dfd6015c4d --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty @@ -0,0 +1,34 @@ +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/emulation/beamertexpower.sty,v 1.2 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. + +\long\def\stepwise#1{{\nonboxedsteps#1}} +\long\def\parstepwise#1{{\boxedsteps#1}} +\long\def\liststepwise{\vspace*{\parskip}\hrule \@height\z@\stepwise} +\long\def\step#1{\beamerpower@action<+(1)->{#1}} +\long\def\steponce#1{\beamerpower@action<+(1)>{#1}} +\long\def\switch#1#2{\alt<+(1)->{#2}{#1}} +\long\def\bstep#1{{\boxedsteps\step{#1}}} +\long\def\dstep{\addtocounter{beamerpauses}{1}} +\long\def\vstep{\addtocounter{beamerpauses}{1}} + +\def\restep{\addtocounter{beamerpauses}{-1}\step} +\def\reswitch{\addtocounter{beamerpauses}{-1}\switch} +\def\rebstep{\addtocounter{beamerpauses}{-1}\bstep} +\def\redstep{\addtocounter{beamerpauses}{-1}\dstep} +\def\revstep{\addtocounter{beamerpauses}{-1}\vstep} + +\def\boxedsteps{\let\beamerpower@action=\uncover} +\def\nonboxedsteps{\let\beamerpower@action=\only} +\boxedsteps + +\DeclareRobustCommand{\code}[1]{\textbf{\texttt{#1}}}% +\DeclareRobustCommand{\codeswitch}{\bfseries\ttfamily}% + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: ../test/testprosper.tex +%%% End: diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-foils.tex b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-foils.tex new file mode 100644 index 00000000000..3adb521f58a --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-foils.tex @@ -0,0 +1,50 @@ +% $Header: /cvsroot/latex-beamer/latex-beamer/emulation/examples/beamerexample-foils.tex,v 1.5 2004/10/07 20:53:07 tantau Exp $ + +% This file is a demonstration on how a foils file should be +% changed to make it work with beamer. + +% Copyright 2003, 2004 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. + + +% Copyright notice: + +% Since foiltex has a restricted license, I'm not able to include an +% original example from foiltex. Instead, I'm providing a simple +% example that shows the basic usage. + + +\documentclass{beamer} +\usepackage{beamerfoils} +\beamertemplatetheoremsnumbered + +\title{A Foils-To-Beamer Example} + +\author{Till Tantau} + +\MyLogo{\tiny-- Typeset by beamer emulation of \FoilTeX\ --} + +\leftheader{Till Tantau} + +\begin{document} + +\frame{ +\maketitle +} + +\foilhead{A first frame} + +Some text. + +\pagebreak + +More text on next slide. + +\foilhead{A third frame} + +Some text. + +\endfoil +\end{document} diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-prosper.tex b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-prosper.tex new file mode 100644 index 00000000000..aa4651824a9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-prosper.tex @@ -0,0 +1,76 @@ +% $Header: /cvsroot/latex-beamer/latex-beamer/emulation/examples/beamerexample-prosper.tex,v 1.3 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. + +\documentclass[notes]{beamer} + +% You might wish to try this instead of the above line: +%\documentclass[class=article]{beamer} +%\usepackage{beamerbasearticle} +%\usepackage{hyperref} + +\usepackage[framesassubsections]{beamerprosper} + +\mode<presentation> +{ + \definecolor{beamerstructure}{RGB}{43,79,112} + \definecolor{sidebackground}{RGB}{230,242,250} + \color{beamerstructure} + \usetheme{Goettingen} + \usepackage{times} + \userightsidebarcolortemplate{\color{sidebackground}} + \beamertemplateballitem +} + + +\title{A Beamer Presentation Using (HA-)Prosper Commands} +\subtitle{Subtitles Are Also Supported} +\author{Till Tantau} +\institution{The Institution is Mapped To Institute} + +\begin{document} + +\maketitle + +\tsectionandpart{Introduction} + +\overlays{2}{ +\begin{slide}[trans=Glitter]{About this file} + \begin{itemstep} + \item + This is a beamer presentation. + \item + You can use the prosper and the HA-prosper syntax. + \item + This is done by mapping prosper and HA-prosper commands to beamer + commands. + \item + The emulation is by no means perfect. + \end{itemstep} +\end{slide} +} + + +\section{Second Section} + +\subsection{A subsection} + +\frame +{ + \frametitle{A frame created using the \texttt{frame} command.} + + \begin{itemize}[<+->] + \item You can still use the original beamer syntax. + \item The emulation is intended only to make recycling slides + easier, not to install a whole new syntax for beamer. + \end{itemize} +} + +\begin{notes}{Notes for these slides} +My notes for these slides. +\end{notes} + +\end{document} diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-seminar.tex b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-seminar.tex new file mode 100644 index 00000000000..6464e23137d --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-seminar.tex @@ -0,0 +1,331 @@ +% $Header: /cvsroot/latex-beamer/latex-beamer/emulation/examples/beamerexample-seminar.tex,v 1.2 2004/10/07 20:53:07 tantau Exp $ + +% This file is a demonstration on how a seminar file should be +% changed to make it work with beamer. + + +% Copyright notice: + +% Except for the changes indicated by CHANGED, this file is the original +% file semsamp2.tex, which is part of the examples of the seminar +% package. + + +%% BEGIN semsamp2.tex +% This is a sample document for seminar.sty, v0.93 (and maybe later). +% +% This file contains both landscape and portrait mode slides. +% Choose one of the following to print them out: +% - If using PSTricks, try the semcolor style option. +% - If using Rokicki's dvips, try the semrot style option. +% - To print the landscape slides, put \landscapeonly in the preamble. +% To print the portrait slides, include the portrait style option and +% put \portraitonly in the preamble. +% +% + +% CHANGED: commented the following: +%\documentstyle[% +% slidesonly,% Try notes or notesonly instead. +% %notes,% Use instead of slidesonly to typeset the notes. +% %notesonly,% Use instead of slidesonly to typeset notes and slides. +% %semcolor,% Try me if using PSTricks. +% %semrot,% Try me if using Rokicki's dvips. +% %semhelv,% Try me if using a PostScript printer. +% %article,% Try me. +% %portrait,% Try me. +% %sem-a4,% Try me if using A4 paper. +% semlayer% This must be included, but you need the semcolor option to +% ]{seminar} % actually see the overlays. +% +%\slidesmag{5} +%\articlemag{1} +% +%%\twoup % Try me for twoup printing. +% +%%\portraitonly % To print only portrait slides +%%\landscapeonly % To print only landscape slides +% +%%\notslides{\ref{questions}-7,1} %Try me: The slides are omitted. +%%\onlyslides{\ref{questions}-7,1} %Try me: Only these slides are included. +%%\onlynotestoo %Try me: For selecting notes as well. +% +%\colorlayers{red,blue} % Try deleting this if using the semcolor option, +% % to get \blue and \red to use PostScript color. +% +%%\overlaysfalse % Suppress overlays with semcolor option. +%%\layersfalse % Suppress color layers with semcolor option. +% +%\rotateheaderstrue % Try this out if using rotation macros. + +% CHANGED: Added following three lines: +\documentclass[ignorenonframetext]{beamer} +\usepackage[accumulated]{beamerseminar} + % remove ``accumulated'' option + % for original behaviour +\usepackage{beamerthemeclassic} + +\title{Example for seminar.sty} +\author{Policarpa Salabarrieta} +\date{July 21, 1991} + +\newcommand{\sref}[1]{SLIDE \ref{#1}} + +% CHANGED: different definition of \heading +%\newcommand{\heading}[1]{\begin{center}\large\bf #1\end{center}} +\let\heading=\frametitle + +% CHANGED: Commented: +%\newpagestyle{MH}% +% {University of Guaduas, March 13, 1998\hfil\thepage}{} +%\pagestyle{MH} + +\begin{document} + +% CHANGED: Added \frame +\frame{ +\maketitle % This won't show up when \onlynotestoo is in effect. +} + +% CHANGED: Commented +%\begin{slide} +% \ifslidesonly % Title slide only for slidesonly selection. +% \maketitle +% \addtocounter{slide}{-1} +% \slidepagestyle{empty} +% \fi +%\end{slide} + + +This is a lot of gobbledy-gook intended only to illustrate some of the +features of seminar.sty. + + The phrase information overload rings a bell with just about anyone. +Certainly you all receive more working papers or more applications for +graduate school than you can readily read. Nevertheless, the term information +overload is ill-defined. (\sref{too_much}, top) + + A message like this when you check your email conjures up the notion of +information overload. More generally, information overload always means too +much information, in some sense or another. But what does ``too much'' mean? +(\sref{too_much}, bottom) It might just mean that people cannot process all +the information they receive. That is certainly true for everyone. A claim +that is much stronger, and that is implicit when people complain about +informaton overload, is that people {\em should} receive less information, by +some criterion. + +% CHANGED: Added \frame +\frame{ +\begin{slide}\label{too_much}% +\begin{center} + \large\bf + Information overload = ``Too much'' information +\end{center} +\smallskip + +\begin{verse} \bf\tt + You have 134 unread messages:\\ + Do you want to read them now? +\end{verse} + +\begin{enumerate} + {\overlay2 + \item People {\overlay1 cannot process all} the information they receive.} + \item People {\em should} receive less information. + \end{enumerate} +\end{slide} +} + + In this paper, I use the term ``information overload'' in both senses. +(\sref{overload}, bottom). Specifically, I say that an {\em individual} is +overloaded with information if she receives more information than she can +process. But I say that there is information overload in a {\em network} if +there is some mechanism that makes the senders and/or receivers better off by +restricting the flow of information. This latter notion of information +overload is an equilibrium property, and it depends on what we mean by +``better off.'' + +% CHANGED: Added \frame +\frame{ +\begin{slide*}\label{overload} +\ptsize{12} + +\begin{itemize}{\overlay1 + \item There is information {\overlay0 overload in a network if} there is +some mechanism that, compared to the {\em status quo}, makes the senders +and/or receivers better off by restricting the flow} of information.' + + \item There is information overload in a network if there is some mechanism +that, compared to the {\em status quo}, makes the senders and/or receivers +better off by restricting the flow of information. +\end{itemize} + +\end{slide*} +} + +(\sref{questions}) + The purpose of my paper is to show why there can be information overload in +a network and what kind of mechanisms can make the receivers and/or senders +better off. Since the cost of communication is one factor that restricts +communication, I am thus also going to look at how the welfare of the senders +and receivers depends on the cost of communication. + + Most messages don't become jumbled and we can choose which ones to process. +But some of us may have a bias towards choosing to process more information +than we should, like the graduate student who feels compelled to read every +article on the usual lengthy reading list, and just ends up getting confused +and ruffling through the papers. + +% CHANGED: Added \frame +\frame{ +\begin{slide}[7.3in,5.5in] \label{questions} +\heading{Questions} + +\begin{itemize} + {\overlay1\item When could {\blue there be overload} in networks?} + \item What mechanims make the receivers and senders better off? + \item How does the welfare {\red of the senders} and receivers depend on the +cost of communication? +\end{itemize} +\end{slide} +} + +However, experiments in consumer research and psychology have failed to find +that such a bias is prevalent. This is in spite of the fact that it is common +for stress and cognitive strain to increase with information load. We may +incur such stress and strain because the information we choose to process is +valuable to us. + +More commonly, then, we can and do choose to process roughly as much +information as we can handle efficiently. This is called screening. But when +we choose which messages to begin to process, we're ignorant of their +contents, since otherwise there would be no reason to process them in the +first place. Therefore, if we receive more junk mail, then some of the +important mail gets crowded out, and we are effectively less informed. + + +% CHANGED: Added \frame +\frame{ +\begin{slide} \label{informed} +\begin{center} + {\bf Being more informed} \par + \smallskip + is always better,\par + \medskip + \overlay1{but it's not the same as \par + \smallskip + {\bf receiving more information}} +\end{center} +\end{slide} +} + + Why would the senders communicate too many messages in the first place? If I +present too much material in this seminar, you have to choose which parts to +ignore and I would rather make that decision myself, since I know what I most +want to get across. Thus, it is in my interest not to overload you with +information. Generally, whenever there is a single sender of messages, that +sender will prefer to screen rather than have the receiver screen, because the +sender has an interest in which messages the receiver processes. +But when there are more senders, one sender's messages tend to crowd out the +messages of the other senders, as in this example here. If the senders don't +take this external cost into account when sending messages, they may +collectively overload the receiver. (\sref{akbar}) + +There are several reasons that our scarcity of attention, that is, our limited +capacity to process information, can mean that we become less informed when we +receive more information. I have a cartoon here to illustrate these reasons. +(\sref{akbar}) + +% CHANGED: Added \frame +\frame{ +\begin{slide}\label{akbar}\def\slidefuzz{15pt} + {\large A tax $\tau$ on communication is said to support +$\tilde{\cal{X}}(c)$ if $\tilde{\cal{X}}(c)$ is an equilibrium for +$\Gamma(c+\tau)$.} +\medskip + + {\bf Proposition 6.} {\em Assume $\tilde{\cal{X}}(c)$ is not an equilibrium +for $\Gamma(c)$.\vspace{-3pt} +\begin{enumerate} + \item If $\mbox{supp}(\gamma)=[0,1]^n$, there is no tax that supports +$\tilde{\cal{X}}(c)$. + \item If $\mbox{supp}(\gamma)=S^{n-1}$, there is a tax that supports +$\tilde{\cal{X}}(c)$ if and only if $m=1$, $p_j>c\, \forall j$, and + \begin{enumerate} + \item $n=2$; or + \item $n=3$ and $p_i^{-1}+p_j^{-1}\geq p_k^{-1}$ for all distinct +$i,j,k$; or + \item $n=4$ and $p_1=p_2=p_3=p_4$. +\end{enumerate} +\end{enumerate}} +\end{slide} +} + If, by restricting communication, we eliminate the less relevant messages, +then we can become more informed. But how can we achieve this? Restricting the +flow of information shifts the task of screening messages from the receivers +to the senders. Unlike the receivers, the senders do know the contents of the +messages they originate. If the senders' interests coincide with those of the +receiver and if the senders have sufficient knowledge about the receivers, +then the senders will choose the messages which are most relevant to the +receivers. This may make the receivers, and even the senders, better off. + + The network in Slide \ref{architectures} attains the minimal delay $c(8,24) += 6$ using 8 processors. It is an example of the efficient one-shot networks +described by Foo. We will focus on a class of networks that are similar to the +Foo networks but that may differ slightly. For $q$, $c$ and $n$ such that $1 +\leq q \leq \lfloor n/2 \rfloor$ and $c(q,n) \leq c \leq n$, let $R_{nqc}$ be +the class of essential networks for adding $n$ items using $q$ processors in +$c$ cycles that have the following properties: + +% CHANGED: Added \frame +\frame{ +\begin{slide*}\label{architectures} +\heading{Architecture} + +\begin{center} +\setlength{\unitlength}{1.65in} +\begin{picture}(1.1,1.6)(3.5,5.0) +\put(4.0,6.5){\circle*{.04}} +\put(4.1,6.5){1} +\put(4.0,6.0){\circle*{.04}} +\put(4.1,6.0){2} +\put(4.0,6.1){\vector(0,1){.3}} +\put(3.5,6.0){\circle*{.04}} +\put(3.6,6.0){3} +\put(3.6,6.1){\vector(1,1){.3}} +\put(4.0,5.5){\circle*{.04}} +\put(4.1,5.5){4} +\put(4.0,5.6){\vector(0,1){.3}} +\put(4.5,6.0){\circle*{.04}} +\put(4.6,6.0){5} +\put(4.4,6.1){\vector(-1,1){.3}} +\put(4.5,5.5){\circle*{.04}} +\put(4.6,5.5){6} +\put(4.4,5.6){\vector(-1,1){.3}} +\put(3.5,5.5){\circle*{.04}} +\put(3.6,5.5){7} +\put(3.5,5.6){\vector(0,1){.3}} +\put(4.0,5.0){\circle*{.04}} +\put(4.1,5.0){8} +\put(4.0,5.1){\vector(0,1){.3}} +\end{picture} +\end{center} +\end{slide*} +} + +Why would the senders communicate too many messages in the first place? If I +present too much material in this seminar, you have to choose which parts to +ignore and I would rather make that decision myself, since I know what I most +want to get across. Thus, it is in my interest not to overload you with +information. + +Generally, whenever there is a single sender of messages, that sender will +prefer to screen rather than have the receiver screen, because the sender has +an interest in which messages the receiver processes. But when there are more +senders, one sender's messages tend to crowd out the messages of the other +senders, as in this example here. If the senders don't take this external cost +into account when sending messages, they may collectively overload the +receiver. (\sref{architectures}) + +\end{document} +%% END semsamp2.tex diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-texpower.tex b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-texpower.tex new file mode 100644 index 00000000000..f3419b27e5f --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/emulation/examples/beamerexample-texpower.tex @@ -0,0 +1,278 @@ +% $Header: /cvsroot/latex-beamer/latex-beamer/emulation/examples/beamerexample-texpower.tex,v 1.3 2004/10/07 20:53:07 tantau Exp $ + +% This file is a demonstration on how a seminar file should be +% changed to make it work with beamer. + + +% Copyright notice: + +% Except for the changes indicated by CHANGED, this file is the original +% file texpower-0.0.9d/doc/seminardemo.tex, which is part of the +% examples of the texpower package. + + + +% seminardemo.tex,v 1.2 2002/11/14 20:46:00 hansfn Exp +% +% TeXPower bundle - dynamic online presentations with LaTeX +% Copyright (C) 1999-2002 Stephan Lehmke +% +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +%----------------------------------------------------------------------------------------------------------------- +% File: seminardemo.tex +% +% Simple examples the for combining the seminar class with the dynamic features provided by the package texpower.sty. +% +%----------------------------------------------------------------------------------------------------------------- +% Autor: Stephan Lehmke <Stephan.Lehmke@cs.uni-dortmund.de> +% +% v0.0.1 Jun 02, 2000: First version for the pre-alpha release of TeXPower. +% + + +% CHANGED: commented +%\documentclass{seminar} +% +%% We need fixseminar for setting the page size correctly. +% +%\usepackage{fixseminar} +% +% +%%----------------------------------------------------------------------------------------------------------------- +%% The texpower package is loaded. +%% We give the display option so dynamic features are enabled. +%% +%\usepackage[display]{texpower} + +% CHANGED: Added +\documentclass[slidestop,usepdftitle=false]{beamer} +\usepackage[accumulated]{beamerseminar} +\usepackage{beamertexpower} +\usepackage{beamerthemeshadow} + + +% CHANGED: Moved \title and \author outside of slide +\title{The \code{texpower} Package\\ {\normalfont \texttt{seminar} Demo}} +\author[Stephan Lehmke]{Stephan Lehmke\\\code{mailto:Stephan.Lehmke@cs.uni-dortmund.de}} + +\begin{document} +\begin{slide} + +\maketitle + +\newslide + +\tableofcontents +\end{slide} + +% CHANGED: Added \frame, moved \section out, added \frametitle +\section{A list environment} +\frame{ +\begin{slide} +\centerslidesfalse +\frametitle{A list environment} + +% The \pause command `splits' the current page at the place it appears, producing two pages, one with everything which +% came before the \pause command, one containing this and additionally the stuff coming after \pause. When these pages +% are presented with acrobar reader in full screen mode (or any other viewer with this capability), the presentation +% will appear to `stop' at the point the \pause command was issued and `resume' in the moment the presenter switches to +% the next page. + +\pause + +% As \pause forces a paragraph break, it can not be used to separate a description label from the associated text. For +% this, we use the (very flexible) \stepwise command. Inside the argument of \stepwise, an arbitrary number of \step +% commands may occur. \stepwise will produce as many pages as there are \step commands, making the arguments of the +% \step commands appear ``one by one''. + +\stepwise +{% + \begin{description} + \item[foo.] \step{bar.} + \step{\item[baz.]} \step{qux.} + \end{description} + } + + + +\end{slide} +} + +% CHANGED: Added \frame, moved \section out +\section{An aligned equation} +\frame{ +\begin{slide} +\centerslidesfalse +\frametitle{An aligned equation} + +\pause + +% Normally for \stepwise, if a \step is not yet active, its argument is ignored completely. This would disturb +% alignments, because the width changes with every new activated \step. +% \parstepwise is a variant of \stepwise where the argument of an inactive \step is put into a \phantom, leaving the +% proper amount of white space. + +\parstepwise +{% + % Using eqnarray with equation numbers here means all equation numbers will be visible from the outset, because only + % the contents of the lines are `filled in'. See the full demo for an example of aligned equations where equation + % numbers `appear'. + \begin{eqnarray} + % + % When the argument of \step is put into a box (as it happens with \parstepwise), tabulators can not go in there. As + % we want the equals sign to appear at the same time as the right side of the equation, we use \restep for the + % latter. \restep is like \step, but it appears at the same time as the previous \step command. + % + \sum_{i=1}^{n} i & \step{=} & \restep{1 + 2 + \cdots + (n-1) + n}\\ + % + & \step{=} & \restep{1 + n + 2 + (n-1) + \cdots}\\ + % + & \step{=} & \restep + {% We can nest \step commands inside each other. The order of execution is just the + % order of appearance, independent of nesting. + % \switch is a variant of \step which takes two arguments and toggles between them on + % activation. This way, we can make the \underbrace `appear'. + % We insert a \vphantom in the first argument so that the equation numbers will be + % placed correctly whether or not the underbrace is didplayed. + \switch + {% + \vphantom{\underbrace{(1 + n) + \cdots + (1 + n)}_{\times\frac{n}{2}}}% + (1 + n) + \cdots + (1 + n)% + } + {\underbrace{(1 + n) + \cdots + (1 + n)}_{\times\frac{n}{2}}}% + } + \\ + % + % This is another nested application of \step. Note that the spacing of \cdot has to be corrected manually by + % inserting {} left of it, because otherwise it would behave like a prefix operator. + % + & \step{=} & \restep{\frac{(1 + n)\step{{}\cdot n}}{\restep{2}}} + \end{eqnarray} +} + + + + +\end{slide} +} + +% CHANGED: Added \frame, moved \section out +\section{An array} +\frame{ +\begin{slide} + \centerslidesfalse + \frametitle{An array} + +\stepwise +{% With arrays, beware of problems with automatic calculation of cell widths. + % + % If you want all widths to be calculated automatically, you need to use \parstepwise, with the consequence that + % a) tabulators or newlines can not go into the argument of \step, + % b) the array `structure' (rules) will be completely visible right from the beginning. + % + % If you want to use \stepwise for being able to build the `structure' (like \hilne's) dynamically (as done in the + % following), you have to make sure that the cell widths are correct from the very first line, because otherwise the + % array will expand horizontally, destroying the dynamic effect. This can be assured by + % a) using only p cells, + % b) making sure all the cells in the first line are at least as wide as the widest cell which will appear later. If + % you are using the calc package, this is easiest by putting \makebox[\widthof{widest entry}]{first entry} into + % the first cell. Otherwise, you can use \settowidth. + % + \begin{displaymath} + \begin{array}{rrrrr} + \step + {% + n & \log n & n\log n & \lefteqn{n^2}\phantom{25} & \lefteqn{2^n}\phantom{32} \\ + \hline% + }% + \step{0 &} \step{\textrm{---} &} \step{\textrm{---} &} \step{0 &} \step{1 \\}% + \step{1 &} \step{0\phantom{.6} &} \step{0\phantom{.8} &} \step{1 &} \step{2 \\}% + \step{2 &} \step{1\phantom{.6} &} \step{2\phantom{.8} &} \step{4 &} \step{4 \\}% + \step{3 &} \step{1.6 &} \step{4.8 &} \step{9 &} \step{8 \\}% + \step{4 &} \step{2\phantom{.6} &} \step{8\phantom{.8} &} \step{16 &} \step{16 \\}% + \step{5 &} \step{2.3 &} \step{11.6 &} \step{25 &} \step{32 }% + \end{array} + \end{displaymath} +} + + + + +\end{slide} +} + +% CHANGED: Added \frame, moved \section out +\section{A picture} +\frame{ +\begin{slide} +\centerslidesfalse +\frametitle{A picture} + +\pause + +\begin{center}% + \stepwise + {% + \setlength{\unitlength}{1.5\semcm}% + \delimitershortfall-1sp% Just for the nested braces + \begin{picture}(14,2) + \put(0,1){\vector(1,0){1}} + \put(0.5,0.5){\makebox(0,0){\small $x(t)$}} + \put(13,1){\vector(1,0){1}} + \put(13.5,0.5){\makebox(0,0){\small $y(t)$}} + \step + { + \put(1,1){\line(3,2){1.5}} + \put(1,1){\line(3,-2){1.5}} + \put(2.5,0){\line(0,1){2}} + \put(2,1){\makebox(0,0){\large $\varphi$}} + } + \step + { + \put(2.5,1){\vector(1,0){3.5}} + \put(4.25,0.5){\makebox(0,0){\small $F_t = \varphi\left(x(t)\right)$}} + } + \step + { + \put(6,0){\framebox(2,2){\large $\Phi$}} + } + \step + { + \put(8,1){\vector(1,0){3.5}} + % + % Here, we find another nested use of \step inside \step. + % \bstep is a variant of \step which _always_ puts its argument into a box for leaving the correct amount of + % white space. We cannot use \parstepwise here because \put can't go into a box. Hence, just using \step for + % building the nested formula on the next line would give the wrong size for the nested braces. + % + \put(9.75,0.5){\makebox(0,0){\footnotesize $G_t = \Phi\left(\bstep{\varphi\left(\bstep{x(t)}\right)}\right)$}} + } + \step + { + \put(13,1){\line(-3,2){1.5}} + \put(13,1){\line(-3,-2){1.5}} + \put(11.5,0){\line(0,1){2}} + \put(12,1){\makebox(0,0){\large $\delta$}} + } + \end{picture}% + }% +\end{center}% +\end{slide} +} +\end{document} + + + +% Local Variables: +% fill-column: 120 +% TeX-master: t +% End: |