1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[prosper]{slides (prosper by Weiss)}
3 # Slides textclass definition file (originally slides.layout).
4 # By: John Weiss <jpweiss@frontiernet.net>
5 # Modified by: Christian Ridderström <christian.ridderstrom@home.se>
6 # jw: Based on the Article textclass "article.layout"
7 # Chr: Added paragraph style 'institution'
8 # Chr: Added paragrpah style 'email'
9 # Chr: Formatted to facilitate side-by-side comparison with prosper-by-Dekel.layout
12 # Structure, use the command:
13 # grep '\(^Style\)\|\(^Input\)\|\(^NoStyle\)' prosper-by-Weiss.layout | sed " s/^/# /"
14 # Paragraph styles, no-styles and input-statements:
17 # Input embedMovies.inc
21 # Input stdcounters.inc
22 # Input stdlayouts.inc
31 # NoStyle Right_Address
33 # Style End_All_Slides
37 # General textclass parameters
41 Pagestyle plain|headings|empty
48 MaxCounter Counter_EnumI
59 #####################################
61 # Layout-specific preamble
63 #####################################
67 \newtheorem{theorem}{Theorem}% Hack, define theorem, needed by theorem.inc
68 \newtheorem{proof}{Proof}% Hack, define proof, needed by theorem.inc
70 \newcounter{slidetype}
71 \setcounter{slidetype}{0}
72 \newcommand{\lyxendslide}[1]{
73 \ifcase \value{slidetype}%
79 \setcounter{slidetype}{0}
81 \AtEndDocument{\lyxendslide{.}}
83 \newcommand{\ov}[2]{\lyxendslide{.}\overlays{#1}{#2\lyxendslide{.}}}
85 % Dekel uses package amsthm
86 % and does some additional stuff related to that
97 ############################
99 # Standard style definition
100 # Always comes first.
102 ############################
111 AlignPossible Block, Left, Right, Center
115 ##############################
117 # New Definitions for Slides
119 ##############################
123 LatexName lyxnewslide
137 LabelString "Slide: "
152 \newcommand{\lyxnewslide}[1]{
154 \setcounter{slidetype}{1}
160 Input embedMovies.inc
165 Input stdcounters.inc
171 LatexName lyxnewoverlay
183 LeftMargin MMMMxNewOverlay
184 LabelString "- - - - - - - - - - NewOverlay: "
202 \newcommand{\lyxnewoverlay}[1]{
204 \setcounter{slidetype}{2}
225 LeftMargin MMMMxMMxxNote
226 LabelString "........................Note: "
244 \newcommand{\lyxnewnote}[1]{
246 \setcounter{slidetype}{3}
255 LatexName lyxinvisible
261 LabelString "<Invisible Text Follows>"
275 \newcommand{\lyxinvisible}[1]{
290 LabelString "<Visible Text Follows>"
304 \newcommand{\lyxvisible}[1]{
313 LatexName institution
329 NoStyle Right_Address
346 # standard font definition