From 9050dab9c1fe96ee740f4b240c9f1cbdeb764d08 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 14 Jul 2006 22:42:30 +0000 Subject: powerdot update git-svn-id: svn://tug.org/texlive/trunk@1842 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/powerdot/README | 6 +- Master/texmf-dist/doc/latex/powerdot/manifest.txt | 63 ++++--- .../doc/latex/powerdot/powerdot-example.lyx | 175 +++++++++++++++++--- .../doc/latex/powerdot/powerdot-example.tex | 159 ++++++++++++++++++ .../doc/latex/powerdot/powerdot-example1.tex | 8 +- .../doc/latex/powerdot/powerdot-example2.tex | 8 +- .../doc/latex/powerdot/powerdot-example3.tex | 184 +++++++++++++++++++++ Master/texmf-dist/doc/latex/powerdot/powerdot.pdf | Bin 408737 -> 465539 bytes 8 files changed, 546 insertions(+), 57 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/powerdot/powerdot-example.tex create mode 100644 Master/texmf-dist/doc/latex/powerdot/powerdot-example3.tex (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/powerdot/README b/Master/texmf-dist/doc/latex/powerdot/README index f50ef27ec57..ce2beaee47e 100644 --- a/Master/texmf-dist/doc/latex/powerdot/README +++ b/Master/texmf-dist/doc/latex/powerdot/README @@ -1,4 +1,4 @@ -powerdot v1.2 +powerdot v1.3 ------------- powerdot is a presentation class for LaTeX that allows for the quick @@ -33,7 +33,7 @@ powerdot into your LaTeX distribution License ------- -Copyright (C) 2005 Hendri Adriaens and Christopher Ellison +Copyright (C) 2005-2006 Hendri Adriaens and Christopher Ellison This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -45,6 +45,6 @@ version 2003/12/01 or later. This work has the LPPL maintenance status "maintained". -This Current Maintainer of this work is Christopher Ellison. +This Current Maintainer of this work is Hendri Adriaens. This work consists of all files listed in manifest.txt. diff --git a/Master/texmf-dist/doc/latex/powerdot/manifest.txt b/Master/texmf-dist/doc/latex/powerdot/manifest.txt index bbd0f05514e..5ba91c828b1 100644 --- a/Master/texmf-dist/doc/latex/powerdot/manifest.txt +++ b/Master/texmf-dist/doc/latex/powerdot/manifest.txt @@ -13,6 +13,7 @@ and derived files: powerdot-styleexample.tex powerdot-example1.tex powerdot-example2.tex + powerdot-example3.tex powerdot-default.sty powerdot-tycja.sty powerdot-ikeda.sty @@ -25,6 +26,11 @@ and derived files: powerdot-sailor.sty powerdot-upen.sty powerdot-bframe.sty + powerdot-horatio.sty + powerdot-paintings.sty + powerdot-klope.sty + powerdot-jefka.sty + powerdot-pazik.sty @@ -33,30 +39,41 @@ powerdot bundle and must be distributed as a whole. It also shows the supposed location of these files in a TDS-compliant TeX-tree: -CTAN:/macros/latex/contrib/powerdot: official location +CTAN:/macros/latex/contrib/powerdot/distrib: official location | - |- readme : should not be installed + |- readme : should not be installed |- doc - | |- manifest.txt : /doc/latex/powerdot - | |- powerdot.pdf : /doc/latex/powerdot - | |- powerdot-example1.tex : /doc/latex/powerdot - | |- powerdot-example2.tex : /doc/latex/powerdot - | |- powerdot.layout : /doc/latex/powerdot - | `- powerdot-example.lyx : /doc/latex/powerdot + | |- lyx : /doc/latex/powerdot + | | |- powerdot.layout : /doc/latex/powerdot/lyx + | | |- powerdot-example.lyx : /doc/latex/powerdot/lyx + | | `- powerdot-example.tex : /doc/latex/powerdot/lyx + | | + | |- manifest.txt : /doc/latex/powerdot + | |- powerdot.pdf : /doc/latex/powerdot + | |- powerdot-example1.tex : /doc/latex/powerdot + | |- powerdot-example2.tex : /doc/latex/powerdot + | `- powerdot-example3.tex : /doc/latex/powerdot + | |- run - | |- powerdot.cls : /tex/latex/powerdot - | |- powerdot-default.ps : /tex/latex/powerdot - | |- powerdot-default.sty : /tex/latex/powerdot - | |- powerdot-ikeda.sty : /tex/latex/powerdot - | |- powerdot-tycja.sty : /tex/latex/powerdot - | |- powerdot-fyma.sty : /tex/latex/powerdot - | |- powerdot-simple.sty : /tex/latex/powerdot - | |- powerdot-ciment.sty : /tex/latex/powerdot - | |- powerdot-elcolors.sty : /tex/latex/powerdot - | |- powerdot-aggie.sty : /tex/latex/powerdot - | |- powerdot-husky.sty : /tex/latex/powerdot - | |- powerdot-sailor.sty : /tex/latex/powerdot - | |- powerdot-upen.sty : /tex/latex/powerdot - | `- powerdot-bframe.sty : /tex/latex/powerdot + | |- powerdot.cls : /tex/latex/powerdot + | |- powerdot-default.ps : /tex/latex/powerdot + | |- powerdot-default.sty : /tex/latex/powerdot + | |- powerdot-ikeda.sty : /tex/latex/powerdot + | |- powerdot-tycja.sty : /tex/latex/powerdot + | |- powerdot-fyma.sty : /tex/latex/powerdot + | |- powerdot-simple.sty : /tex/latex/powerdot + | |- powerdot-ciment.sty : /tex/latex/powerdot + | |- powerdot-elcolors.sty : /tex/latex/powerdot + | |- powerdot-aggie.sty : /tex/latex/powerdot + | |- powerdot-husky.sty : /tex/latex/powerdot + | |- powerdot-sailor.sty : /tex/latex/powerdot + | |- powerdot-upen.sty : /tex/latex/powerdot + | |- powerdot-bframe.sty : /tex/latex/powerdot + | |- powerdot-horatio.sty : /tex/latex/powerdot + | |- powerdot-paintings.sty : /tex/latex/powerdot + | |- powerdot-klope.sty : /tex/latex/powerdot + | |- powerdot-jefka.sty : /tex/latex/powerdot + | `- powerdot-pazik.sty : /tex/latex/powerdot + | `- source - `- powerdot.dtx : /source/latex/powerdot + `- powerdot.dtx : /source/latex/powerdot diff --git a/Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx b/Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx index caee982401b..c26f7ab3785 100644 --- a/Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx +++ b/Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx @@ -1,29 +1,8 @@ #LyX 1.3 created this file. For more info see http://www.lyx.org/ -# -# Created (29.Aug.05): Mael Hilléreau -# Last modified: 17.Sep.05 -# -# ---------------------------------------------------------- -# Copyright (C) 2005 Hendri Adriaens and Christopher Ellison -# ---------------------------------------------------------- -# -# This work may be distributed and/or modified under the -# conditions of the LaTeX Project Public License, either version 1.3 -# of this license or (at your option) any later version. -# The latest version of this license is in -# http://www.latex-project.org/lppl.txt -# and version 1.3 or later is part of all distributions of LaTeX -# version 2003/12/01 or later. -# -# This work has the LPPL maintenance status "maintained". -# -# This Current Maintainer of this work is Christopher Ellison. -# -# This work consists of all files listed in manifest.txt. - \lyxformat 221 \textclass powerdot \begin_preamble +\usepackage{listings} \pdsetup{% lf=left footer, rf=right footer @@ -297,7 +276,7 @@ collapsed true \layout Standard -toc= +toc=,randomdots \end_inset The empty slide! @@ -305,6 +284,9 @@ The empty slide! \added_space_top bigskip \align center This slide is empty\SpecialChar \ldots{} +\layout Standard + + \begin_inset ERT status Collapsed @@ -322,6 +304,153 @@ It uses EmptySlide \family default style for its title (see cyan color into LyX window). +\layout Standard + + +\begin_inset ERT +status Collapsed + +\layout Standard + +\backslash +pause +\end_inset + + +\layout Standard +\align center +You may also have noticed the use of +\family typewriter +randomdots +\family default + slide option which +\newline +allows displaying those multicolor dots into the slide background. +\layout Slide + + +\begin_inset OptArg +collapsed true + +\layout Standard + +method=direct +\end_inset + +Example of LaTeX source code +\layout Standard + +Let's now use the +\family typewriter +listings +\family default + package in order to typeset some source code. + Here's the +\family typewriter + +\backslash +HelloWorld +\family default + LaTeX command: +\layout Standard + + +\begin_inset ERT +status Open + +\layout Standard + +\backslash +lstset{language=[LaTeX]TeX} +\newline + +\backslash +begin{lstlisting} +\newline + +\backslash +newcommand{ +\backslash +HelloWorld}{Hello World!} +\newline + +\backslash +end{lstlisting} +\end_inset + + +\layout Standard + +Note that this slide uses the +\family typewriter +method=direct +\family default + option (see its short title options box above into LyX window). +\layout Slide + + +\begin_inset OptArg +collapsed true + +\layout Standard + +method=file +\end_inset + +Verbatim material with overlays +\layout Standard + +Here's +\family typewriter +HelloWorld() +\family default + C function: +\layout Standard + + +\begin_inset ERT +status Open + +\layout Standard + +\backslash +lstset{language=C} +\newline + +\backslash +begin{lstlisting} +\newline +void HelloWorld() { +\newline + printf("Hello World! +\backslash +n"); +\newline +} +\newline + +\backslash +end{lstlisting} +\end_inset + + +\layout Standard + + +\begin_inset ERT +status Collapsed + +\layout Standard + +\backslash +pause +\end_inset + + Unlike the previous one, this slide must use +\family typewriter +method=file +\family default + as it employs two overlays. \layout Slide The end. diff --git a/Master/texmf-dist/doc/latex/powerdot/powerdot-example.tex b/Master/texmf-dist/doc/latex/powerdot/powerdot-example.tex new file mode 100644 index 00000000000..3321cc0863c --- /dev/null +++ b/Master/texmf-dist/doc/latex/powerdot/powerdot-example.tex @@ -0,0 +1,159 @@ +%% LyX 1.3 created this file. For more info, see http://www.lyx.org/. +%% Do not edit unless you really know what you are doing. +\documentclass[size=10pt,letterpaper,landscape,english,nopsheader,style=fyma,display=slidesnotes]{powerdot} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} + +\makeatletter + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. +\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} +\newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. +\usepackage{listings} +\pdsetup{% + lf=left footer, + rf=right footer +} + +\usepackage{babel} +\makeatother +\begin{document} + +\title{A \LyX{} sample} + + +\author{Mael Hilléreau \and Hendri Adriaens \and Christopher Ellison} + + +\date{\today} + +\maketitle + +\lyxend\lyxslide{My first slide} + +We use a \texttt{Slide} style (magenta color, see above this text +into \LyX{} window) for the title of each slide of a section or document. + + +\lyxend\lyxwideslide{My wide slide} + +\label{toc}But we may also use wide slides (green color, see above +this text into \LyX{} window). + +Let's have a look at the TOC: +\medskip{} + +\tableofcontents{} + + +\lyxend\section{This is the first section} + + +\lyxend\lyxslide[toc=This slide has...]{This slide has a very very long title} + +This slide's title is different in the TOC, see slide \pageref{toc} +or at the left of all slides in this section. + + +\lyxend\lyxnote{Important note!} + +Don't forget to use \texttt{Insert}\lyxarrow{}\texttt{Short title} +in order to specify slide options. + + +\lyxend\lyxslide{Using \texttt{\textbackslash{}pause}} + +Let's make a pause! \pause + +\ldots{} and then continue. + + +\lyxend\section{Second section} + + +\lyxend\lyxslide{Using \texttt{enumerate}} + +Let's enumerate things:\pause + +\begin{enumerate}[type=1] +\item The first thing;\pause +\item The second thing;\pause +\item The third thing;\pause +\item The final thing! +\end{enumerate} + +\lyxend\lyxslide{Using \texttt{itemize}} + +We may also make some items and nest them:\pause + +\begin{itemize}[type=1] +\item <2> The first; +\item <3> The second; + +\begin{itemize}[type=1] +\item <4> One, +\item <5> Two, +\item <6> Three, +\end{itemize} +\item <7> The last one. +\end{itemize} + +\lyxend\lyxemptyslide[toc=,randomdots]{The empty slide!} + +\bigskip{} +\begin{center}This slide is empty\ldots{} \end{center} + +\pause + +\begin{center}It uses \texttt{EmptySlide} style for its title (see +cyan color into \LyX{} window).\end{center} + +\pause + +\begin{center}You may also have noticed the use of \texttt{randomdots} +slide option which\\ +allows displaying those multicolor dots into the slide background.\end{center} + + +\lyxend\lyxslide[method=direct]{Example of \LaTeX{} source code} + +Let's now use the \texttt{listings} package in order to typeset some +source code. Here's the \texttt{\textbackslash{}HelloWorld} \LaTeX{} +command: + +\lstset{language=[LaTeX]TeX} +\begin{lstlisting} +\newcommand{\HelloWorld}{Hello World!} +\end{lstlisting} + +Note that this slide uses the \texttt{method=direct} option (see its +short title options box above into \LyX{} window). + + +\lyxend\lyxslide[method=file]{Verbatim material with overlays} + +Here's \texttt{HelloWorld()} C function: + +\lstset{language=C} +\begin{lstlisting} +void HelloWorld() { + printf("Hello World!\n"); +} +\end{lstlisting} + +\pause Unlike the previous one, this slide must use \texttt{method=file} +as it employs two overlays. + + +\lyxend\lyxslide{The end.} + +Don't forget to put an \texttt{EndSlide} style at the end of the document +(see the black symbol below into \LyX{} window). + +Have fun! + + +\lyxend{} +\end{document} diff --git a/Master/texmf-dist/doc/latex/powerdot/powerdot-example1.tex b/Master/texmf-dist/doc/latex/powerdot/powerdot-example1.tex index 5193fee1999..82d344b4eda 100644 --- a/Master/texmf-dist/doc/latex/powerdot/powerdot-example1.tex +++ b/Master/texmf-dist/doc/latex/powerdot/powerdot-example1.tex @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdexample1') %% -%% ---------------------------------------------------------- -%% Copyright (C) 2005 Hendri Adriaens and Christopher Ellison -%% ---------------------------------------------------------- +%% --------------------------------------------------------------- +%% Copyright (C) 2005-2006 Hendri Adriaens and Christopher Ellison +%% --------------------------------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -20,7 +20,7 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% This Current Maintainer of this work is Christopher Ellison. +%% This Current Maintainer of this work is Hendri Adriaens. %% %% This work consists of all files listed in manifest.txt. %% diff --git a/Master/texmf-dist/doc/latex/powerdot/powerdot-example2.tex b/Master/texmf-dist/doc/latex/powerdot/powerdot-example2.tex index 21e287b8328..2e4fb58ac08 100644 --- a/Master/texmf-dist/doc/latex/powerdot/powerdot-example2.tex +++ b/Master/texmf-dist/doc/latex/powerdot/powerdot-example2.tex @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdexample2') %% -%% ---------------------------------------------------------- -%% Copyright (C) 2005 Hendri Adriaens and Christopher Ellison -%% ---------------------------------------------------------- +%% --------------------------------------------------------------- +%% Copyright (C) 2005-2006 Hendri Adriaens and Christopher Ellison +%% --------------------------------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -20,7 +20,7 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% This Current Maintainer of this work is Christopher Ellison. +%% This Current Maintainer of this work is Hendri Adriaens. %% %% This work consists of all files listed in manifest.txt. %% diff --git a/Master/texmf-dist/doc/latex/powerdot/powerdot-example3.tex b/Master/texmf-dist/doc/latex/powerdot/powerdot-example3.tex new file mode 100644 index 00000000000..286a1fb7ce4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/powerdot/powerdot-example3.tex @@ -0,0 +1,184 @@ +%% +%% This is file `powerdot-example3.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdexample3') +%% +%% --------------------------------------------------------------- +%% Copyright (C) 2005-2006 Hendri Adriaens and Christopher Ellison +%% --------------------------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of all files listed in manifest.txt. +%% +\documentclass[style=klope,clock,hlsections]{powerdot} + +\usepackage{amsmath} +\usepackage{pst-node} +\usepackage{listings} + +\lstnewenvironment{example}[1][]{% + \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,% + frame=single,backgroundcolor=\color{yellow!20},% + xleftmargin=\fboxsep,xrightmargin=\fboxsep,gobble=1% + }\lstset{#1}}{} +\lstnewenvironment{examplesmall}[1][]{% + \lstset{basicstyle=\tiny\ttfamily,columns=flexible,% + frame=single,backgroundcolor=\color{yellow!20},% + xleftmargin=\fboxsep,xrightmargin=\fboxsep,gobble=2% + }\lstset{#1}}{} + +\title{powerdot example 3 --- verbatim and random dots} +\author{Hendri Adriaens\and Christopher Ellison} + +\pdsetup{ + lf=Example 3, + rf=for powerdot, + palette=Spring, + randomdots, + dprop={dotstyle=ocircle,linewidth=.25pt}, + dmindots=5,dmaxdots=5, + dminsize=600pt,dmaxsize=700pt, + dbright=50, + logohook=c, + logopos={.505\slidewidth,.08\slideheight}, + logocmd={\includegraphics[scale=.05]{powerdot-default.ps}} +} + +\begin{document} + +\maketitle + +\begin{slide}{Overview} + \begin{enumerate}[type=1] + \item This file demonstrates \pause + \begin{itemize} + \item some uses of \texttt{verbatim} \pause + \end{itemize} + \item and \pause + \begin{itemize} + \item some uses of randomdots + \end{itemize} + \end{enumerate} +\end{slide} + +\section{section} + +\begin{slide}[palette=PastelFlower,method=direct, + dprop={dotstyle=*}, + dminsize=5pt,dmaxsize=10pt, + dmindots=5,dmaxdots=10]{Name that quote} + G\"odel, Escher, Bach: an Eternal Golden Braid \pause + + \verb|G\"odel, Escher, Bach: an Eternal Golden Braid| \pause + + \begin{quote} + The two of you may find it amusing to listen + to such totally meaningless cacophony, but I assure you it is not at + all pleasant for a sensitive composer to be subjected to such + excruciating, empty dissonances and meaningless rhythms. Achilles, + I thought you had a good feeling for music. Could it be that your + previous pieces had merit merely by coincidence? + \end{quote} +\end{slide} + +\begin{slide}[palette=BlueWater, + dprop={dotstyle=osquare,linewidth=.2pt}, + dminsize=4pt,dmaxsize=10pt, + dmindots=5,dmaxdots=10]{Itemize} + \begin{itemize} + \item<1> here + \item<2> we + \item<3> go + \end{itemize} +\end{slide} + +\begin{slide}[toc=What day is it?,bm=What day is it?,method=direct, + dprop={dotstyle=*},dminsize=4pt,dmaxsize=20pt, + dmindots=30,dmaxdots=30]{What day is it?\hfill A test} +\begin{example} + +\end{example} +\end{slide} + +\section[slide=false]{The \texttt{direct} and \texttt{file} methods} + +\begin{slide}[method=direct,randomdots=false]{Quadratic} + With \verb|method=direct|, there are no overlays.\pause + + But you can still use display verbatim text. + + \[ + x \pause = \pause \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \pause + \] + + Attempting \pause a \pause pause\ldots\pause + + \verb|Plot[3x,{x,0,10}]| +\end{slide} + +\begin{slide}[method=file,randomdots=false]{Quadratic} + With \verb|method=file|, \pause you can display verbatim text and have overlays.\pause + + \[ + x \pause = \pause \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \pause + \] + + Attempting \pause a \pause pause\ldots\pause + + \verb|Plot[3x,{x,0,10}]| +\end{slide} + +\section[slide=false]{Nodes} + +\begin{slide}[method=file,randomdots=false]{Taylor} +\begin{lstlisting}[escapechar=|,mathescape] + e^x |\pause| = 1 + |\pause|x + |\pause|x^2/2! + |\color{red}{\ldots}| |\pause| + e^x |\pause| = 1 + |\pause|x + |\pause|$\rnode{A}{\frac{x^2}{2!}}$ + |\color{red}{\ldots}| +\end{lstlisting} +\pause\vspace{.1in} +Notice, \rnode{B}{this} fraction is in \verb|mathmode|. +\onslide*{11-}{\ncarc[linecolor=blue,arcangle=-5]{->}{B}{A}}\pause \vspace{.1in} + +The above (as its own slide) was coded as follows: +\begin{examplesmall}[escapechar=@] + \begin{slide}[method=file]{Taylor} + \begin{lstlisting}[escapechar=|,mathescape] + e^x |\pause| = 1 + |\pause|x + |\pause|x^2/2! + |\color{red}{\ldots}| |\pause| + e^x |\pause| = 1 + |\pause|x + |\pause|$\rnode{A}{\frac{x^2}{2!}}$ + |\color{red}{\ldots}| + \end{lstlisting} + + \pause\vspace{.1in} + + Notice, \rnode{B}{this} fraction is in \verb|mathmode|. + \onslide*{11-}{\ncarc[linecolor=blue,arcangle=-5]{->}{B}{A}}\pause \vspace{.1in} + @\char`\\@end{slide} +\end{examplesmall} +\end{slide} + +\end{document} +\endinput +%% +%% End of file `powerdot-example3.tex'. diff --git a/Master/texmf-dist/doc/latex/powerdot/powerdot.pdf b/Master/texmf-dist/doc/latex/powerdot/powerdot.pdf index e341e718d0d..d51b328b597 100644 Binary files a/Master/texmf-dist/doc/latex/powerdot/powerdot.pdf and b/Master/texmf-dist/doc/latex/powerdot/powerdot.pdf differ -- cgit v1.2.3