summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-14 22:42:30 +0000
committerKarl Berry <karl@freefriends.org>2006-07-14 22:42:30 +0000
commit9050dab9c1fe96ee740f4b240c9f1cbdeb764d08 (patch)
tree7e0ecfb5592cc0cfc6b22a9492daa2a278b04502 /Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx
parent8e31fe3c99d1f1b6a0eda074f89b206fd70aa9e5 (diff)
powerdot update
git-svn-id: svn://tug.org/texlive/trunk@1842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx')
-rw-r--r--Master/texmf-dist/doc/latex/powerdot/powerdot-example.lyx175
1 files changed, 152 insertions, 23 deletions
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.