summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/powerdot/doc/lyx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/powerdot/doc/lyx
Initial commit
Diffstat (limited to 'macros/latex/contrib/powerdot/doc/lyx')
-rw-r--r--macros/latex/contrib/powerdot/doc/lyx/powerdot-example.lyx469
-rw-r--r--macros/latex/contrib/powerdot/doc/lyx/powerdot-example.tex159
-rw-r--r--macros/latex/contrib/powerdot/doc/lyx/powerdot.layout461
3 files changed, 1089 insertions, 0 deletions
diff --git a/macros/latex/contrib/powerdot/doc/lyx/powerdot-example.lyx b/macros/latex/contrib/powerdot/doc/lyx/powerdot-example.lyx
new file mode 100644
index 0000000000..c26f7ab378
--- /dev/null
+++ b/macros/latex/contrib/powerdot/doc/lyx/powerdot-example.lyx
@@ -0,0 +1,469 @@
+#LyX 1.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 221
+\textclass powerdot
+\begin_preamble
+\usepackage{listings}
+\pdsetup{%
+ lf=left footer,
+ rf=right footer
+}
+\end_preamble
+\options nopsheader,style=fyma,display=slidesnotes
+\language english
+\inputencoding auto
+\fontscheme default
+\graphics default
+\paperfontsize size=10
+\spacing single
+\papersize letterpaper
+\paperpackage a4
+\use_geometry 0
+\use_amsmath 0
+\use_natbib 0
+\use_numerical_citations 0
+\paperorientation landscape
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\defskip medskip
+\quotes_language french
+\quotes_times 2
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+
+\layout Title
+
+A LyX sample
+\layout Author
+
+Mael Hilléreau
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+and
+\end_inset
+
+ Hendri Adriaens
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+and
+\end_inset
+
+ Christopher Ellison
+\layout Date
+
+
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+today
+\end_inset
+
+
+\layout Slide
+
+My first slide
+\layout Standard
+
+We use a
+\family typewriter
+Slide
+\family default
+ style (magenta color, see above this text into LyX window) for the title
+ of each slide of a section or document.
+\layout WideSlide
+
+My wide slide
+\layout Standard
+
+
+\begin_inset LatexCommand \label{toc}
+
+\end_inset
+
+But we may also use wide slides (green color, see above this text into LyX
+ window).
+\layout Standard
+\added_space_bottom medskip
+Let's have a look at the TOC:
+\layout Standard
+
+
+\begin_inset LatexCommand \tableofcontents{}
+
+\end_inset
+
+
+\layout Section
+
+This is the first section
+\layout Slide
+
+
+\begin_inset OptArg
+collapsed true
+
+\layout Standard
+
+toc=This slide has...
+\end_inset
+
+This slide has a very very long title
+\layout Standard
+
+This slide's title is different in the TOC, see slide
+\begin_inset LatexCommand \pageref{toc}
+
+\end_inset
+
+ or at the left of all slides in this section.
+\layout Note
+
+Important note!
+\layout Standard
+
+Don't forget to use
+\family typewriter
+Insert
+\family default
+\SpecialChar \menuseparator
+
+\family typewriter
+Short title
+\family default
+ in order to specify slide options.
+\layout Slide
+
+Using
+\family typewriter
+
+\backslash
+pause
+\layout Standard
+
+Let's make a pause!
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout Standard
+
+\SpecialChar \ldots{}
+ and then continue.
+\layout Section
+
+Second section
+\layout Slide
+
+Using
+\family typewriter
+enumerate
+\layout Standard
+
+Let's enumerate things:
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout EnumerateType1
+
+The first thing;
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout EnumerateType1
+
+The second thing;
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout EnumerateType1
+
+The third thing;
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout EnumerateType1
+
+The final thing!
+\layout Slide
+
+Using
+\family typewriter
+itemize
+\layout Standard
+
+We may also make some items and nest them:
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout ItemizeType1
+
+<2> The first;
+\layout ItemizeType1
+
+<3> The second;
+\begin_deeper
+\layout ItemizeType1
+
+<4> One,
+\layout ItemizeType1
+
+<5> Two,
+\layout ItemizeType1
+
+<6> Three,
+\end_deeper
+\layout ItemizeType1
+
+<7> The last one.
+\layout EmptySlide
+
+
+\begin_inset OptArg
+collapsed true
+
+\layout Standard
+
+toc=,randomdots
+\end_inset
+
+The empty slide!
+\layout Standard
+\added_space_top bigskip \align center
+This slide is empty\SpecialChar \ldots{}
+
+\layout Standard
+
+
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+pause
+\end_inset
+
+
+\layout Standard
+\align center
+It uses
+\family typewriter
+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.
+\layout Standard
+
+Don't forget to put an
+\family typewriter
+EndSlide
+\family default
+ style at the end of the document (see the black symbol below into LyX window).
+\layout Standard
+
+Have fun!
+\layout EndSlide
+
+\the_end
diff --git a/macros/latex/contrib/powerdot/doc/lyx/powerdot-example.tex b/macros/latex/contrib/powerdot/doc/lyx/powerdot-example.tex
new file mode 100644
index 0000000000..3321cc0863
--- /dev/null
+++ b/macros/latex/contrib/powerdot/doc/lyx/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/macros/latex/contrib/powerdot/doc/lyx/powerdot.layout b/macros/latex/contrib/powerdot/doc/lyx/powerdot.layout
new file mode 100644
index 0000000000..da0163e99d
--- /dev/null
+++ b/macros/latex/contrib/powerdot/doc/lyx/powerdot.layout
@@ -0,0 +1,461 @@
+#% Do not delete the line below; configure depends on this
+# \DeclareLaTeXClass[powerdot]{powerdot presentation}
+# PowerDot textclass definition file.
+# 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.
+
+###
+# General textclass parameters
+###
+Columns 1
+Sides 1
+MaxCounter Counter_EnumI
+ProvidesUrl 1
+DefaultStyle Standard
+
+DefaultFont
+ Family Sans
+ Series Medium
+ Shape Up
+ Size Normal
+ Color None
+EndFont
+
+###
+# General textclass parameters
+###
+ClassOptions
+ FontSize size=8|size=9|size=10|size=11|size=12|size=14|size=17|size=20
+ PageStyle ""
+End
+
+###
+# Title style definition
+###
+Style Title
+ Margin Static
+ LatexType Command
+ InTitle 1
+ LatexName title
+ ParSkip 0.4
+ ItemSep 0
+ TopSep 0
+ BottomSep 1
+ ParSep 1
+ Align Center
+ AlignPossible Center
+ LabelType No_Label
+
+ Font
+ Series Bold
+ Size Largest
+ Color Blue
+ EndFont
+End
+
+###
+# Author style definition
+###
+Style Author
+ Margin Static
+ LatexType Command
+ InTitle 1
+ LatexName author
+ LabelSep xxx
+ ParSkip 0.4
+ TopSep 1.3
+ BottomSep 0.7
+ ParSep 0.7
+ Align Center
+ AlignPossible Center
+ LabelType No_Label
+
+ Font
+ Size Large
+ Color Blue
+ EndFont
+End
+
+###
+# Date style definition
+###
+Style Date
+ Margin Dynamic
+ LatexType Command
+ InTitle 1
+ LatexName date
+ LabelSep xxx
+ ParSkip 0.4
+ TopSep 0.9
+ BottomSep 0.5
+ ParSep 1
+ Align Center
+ AlignPossible Center
+ LabelType No_Label
+
+ Font
+ Size Large
+ Color Blue
+ EndFont
+End
+
+###
+# Standard style definition
+###
+Style Standard
+ Margin Static
+ LatexType Paragraph
+ LatexName dummy
+ ParSkip 0.4
+ Align Block
+ AlignPossible Block, Left, Right, Center
+ LabelType No_Label
+End
+
+###
+# Slide styles definition
+###
+Style Slide
+ Margin Static
+ LatexType Command
+ LatexName lyxend\lyxslide
+ LabelSep xxx
+ ParSkip 0.4
+ TopSep 1.3
+ BottomSep 0.7
+ ParSep 0.7
+ Align Center
+ AlignPossible Center
+ LabelType Counter_Subsection
+ LabelString " "
+ OptionalArgs 1
+
+ Font
+ Series Bold
+ Size Large
+ Color Magenta
+ EndFont
+End
+
+Style EndSlide
+ CopyStyle Slide
+ KeepEmpty 1
+ LatexName lyxend
+ Margin Static
+ ParSkip 0
+ TopSep 0
+ BottomSep 1
+ ParSep 0
+ LabelType Static
+ LabelBottomSep 0
+ LeftMargin MMMMMMM
+ LabelString "~=~"
+ OptionalArgs 0
+
+ Font
+ Color None
+ EndFont
+End
+
+
+
+###
+# Wideslide style definition
+###
+Style WideSlide
+ CopyStyle Slide
+ LatexName lyxend\lyxwideslide
+
+ Font
+ Color Green
+ EndFont
+End
+
+###
+# EmptySlide style definition
+###
+Style EmptySlide
+ CopyStyle Slide
+ LatexName lyxend\lyxemptyslide
+ LeftMargin MMMMMMMMMMMMMM
+ LabelString "Empty slide:"
+ LabelType Static
+ KeepEmpty 1
+
+ Font
+ Color Cyan
+ EndFont
+End
+
+###
+# Note style definition
+###
+Style Note
+ CopyStyle Slide
+ LatexName lyxend\lyxnote
+ LeftMargin MMMMMMM
+ LabelString "Note:"
+ LabelType Static
+ KeepEmpty 1
+ OptionalArgs 0
+
+ Font
+ Color Red
+ EndFont
+End
+
+###
+# Section style definition
+###
+Style Section
+ CopyStyle Slide
+ LatexName lyxend\section
+ LabelType Counter_Section
+ LabelString ""
+
+ Font
+ Size Larger
+ Color Blue
+ EndFont
+End
+
+###
+# Itemize styles definition
+###
+Style Itemize
+ Margin Static
+ LatexType Item_Environment
+ LatexName itemize
+ NextNoIndent 1
+ LeftMargin MMN
+ LabelSep xx
+ ItemSep 0.2
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.3
+ Align Block
+ AlignPossible Block, Left
+ LabelType Static
+ LabelString *
+End
+
+Style ItemizeType1
+ CopyStyle Itemize
+ LatexParam [type=1]
+End
+
+###
+# Enumerate styles definition
+###
+Style Enumerate
+ Margin Static
+ LatexType Item_Environment
+ LatexName enumerate
+ NextNoIndent 1
+ LeftMargin MMN
+ LabelSep xx
+ ParSkip 0.0
+ ItemSep 0.2
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.3
+ Align Block
+ AlignPossible Block, Left
+ LabelType Counter_EnumI
+End
+
+Style EnumerateType1
+ CopyStyle Enumerate
+ LatexParam [type=1]
+End
+
+###
+# Bibliography style definition
+###
+Style Bibliography
+ Margin First_Dynamic
+ LatexType Item_Environment
+ LatexName thebibliography
+ NextNoIndent 1
+ LeftMargin MM
+ ParSkip 0.4
+ ItemSep 0
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.5
+ Align Block
+ AlignPossible Block, Left
+ LabelType Bibliography
+ LabelString ""
+ LabelBottomSep 0
+End
+
+###
+# Quotation style definition
+###
+Style Quotation
+ Margin Static
+ LatexType Environment
+ LatexName quotation
+ NextNoIndent 1
+ LeftMargin MMM
+ RightMargin MMM
+ ParIndent MM
+ ParSkip 0
+ ItemSep 0
+ TopSep 0.5
+ BottomSep 0.5
+ ParSep 0
+ Align Block
+ AlignPossible Block, Left, Right, Center
+End
+
+###
+# Quote style definition
+###
+Style Quote
+ Margin Static
+ LatexType Environment
+ LatexName quote
+ NextNoIndent 1
+ LeftMargin MMM
+ RightMargin MMM
+ TopSep 0.5
+ ParSep 0.5
+ BottomSep 0.5
+ Align Block
+ AlignPossible Block, Left, Right, Center
+ LabelType No_Label
+End
+
+###
+# Verse style definition
+###
+Style Verse
+# LaTeX type is first dynamic because of LaTeX implementation.
+# In LyX this does not make sense.
+ LatexType Environment
+ LatexName verse
+ Margin First_Dynamic
+ NextNoIndent 1
+ LeftMargin MMMM
+ LabelIndent MMMM
+ ParSkip 0.4
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.5
+ Align Block
+ AlignPossible Block, Left
+ LabelType No_Label
+End
+
+###
+# Caption style definition
+###
+Style Caption
+ Margin First_Dynamic
+ LatexType Command
+ LatexName caption
+ NeedProtect 1
+ LabelSep xx
+ ParSkip 0.4
+ TopSep 0.5
+ Align Center
+ AlignPossible Center
+ LabelType Sensitive
+ LabelString Caption
+ OptionalArgs 1
+
+ LabelFont
+ Series Bold
+ EndFont
+End
+
+###
+# Floats definitions
+###
+Float
+ Type table
+ GuiName Table
+ Extension lot
+ NumberWithin none
+ Style plain
+ ListName "List of Tables"
+ LaTeXBuiltin true
+End
+
+Float
+ Type figure
+ GuiName Figure
+ Extension lof
+ NumberWithin none
+ Style plain
+ ListName "List of Figures"
+ LaTeXBuiltin true
+End
+
+Float
+ Type algorithm
+ GuiName Algorithm
+ Extension loa
+ NumberWithin none
+ Style ruled
+ ListName "List of Algorithms"
+ LaTeXBuiltin false
+End
+
+###
+# Counters definitions
+###
+Counter
+ Name enumi
+End
+
+Counter
+ Name enumii
+ Within enumi
+End
+
+Counter
+ Name enumiii
+ Within enumii
+End
+
+Counter
+ Name enumiv
+ Within enumiii
+End
+
+Counter
+ Name bibitem
+End
+
+Counter
+ Name figure
+End
+
+Counter
+ Name table
+End
+
+Counter
+ Name algorithm
+End