mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
27de1486ca
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
305 lines
6.0 KiB
Plaintext
305 lines
6.0 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{slides (default)}
|
|
# Slides textclass definition file.
|
|
# Author : John Weiss <jpweiss@idsi.net>
|
|
#
|
|
# Based on the Article textclass "article.layout"
|
|
#
|
|
|
|
# General textclass parameters
|
|
Columns 1
|
|
Sides 1
|
|
PageStyle Plain
|
|
MaxCounter Counter_EnumI
|
|
|
|
DefaultFont
|
|
Family Sans
|
|
Series Medium
|
|
Shape Up
|
|
Size Largest
|
|
Color None
|
|
EndFont
|
|
|
|
ClassOptions
|
|
FontSize |
|
|
Pagestyle plain|headings|empty
|
|
Other "dvips"
|
|
End
|
|
|
|
|
|
#####################################
|
|
#
|
|
# Layout-specific preamble
|
|
#
|
|
#####################################
|
|
|
|
|
|
Preamble
|
|
\newcounter{slidetype}
|
|
\setcounter{slidetype}{0}
|
|
\newif\ifLyXsNoCenter
|
|
\LyXsNoCenterfalse
|
|
\newcommand{\noslidecentering}{
|
|
\LyXsNoCentertrue%
|
|
}
|
|
\newcommand{\slidecentering}{
|
|
\LyXsNoCenterfalse%
|
|
}
|
|
\newcommand{\lyxendslide}[1]{
|
|
\ifLyXsNoCenter%
|
|
\vfill%
|
|
\fi%
|
|
\ifcase \value{slidetype}%
|
|
\or % no action for 0
|
|
\end{slide} \or%
|
|
\end{overlay} \or%
|
|
\end{note}%
|
|
\fi%
|
|
\setcounter{slidetype}{0}
|
|
\visible
|
|
}
|
|
\AtEndDocument{\lyxendslide{.}}
|
|
EndPreamble
|
|
|
|
|
|
############################
|
|
#
|
|
# Standard style definition
|
|
# Always comes first.
|
|
#
|
|
############################
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent M
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
|
|
##############################
|
|
#
|
|
# New Definitions for Slides
|
|
#
|
|
##############################
|
|
|
|
# Slide style definition
|
|
Style Slide
|
|
LatexType Command
|
|
LatexName lyxnewslide
|
|
KeepEmpty 1
|
|
Margin Static
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
TopSep 1.0
|
|
BottomSep 1.0
|
|
ParSep 0.5
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelBottomSep 0.5
|
|
LeftMargin MMMMxMMMMxxxNewSlide
|
|
LabelString "_____________________________NewSlide: "
|
|
|
|
Font
|
|
Family Typewriter
|
|
Series Bold
|
|
Size Large
|
|
Color Blue
|
|
EndFont
|
|
LabelFont
|
|
Family Typewriter
|
|
Size Large
|
|
Color Blue
|
|
EndFont
|
|
|
|
Preamble
|
|
\newcommand{\lyxnewslide}[1]{
|
|
\lyxendslide{.}
|
|
\setcounter{slidetype}{1}
|
|
\begin{slide}
|
|
}
|
|
EndPreamble
|
|
End
|
|
|
|
# Overlay style definition
|
|
Style Overlay
|
|
LatexType Command
|
|
LatexName lyxnewoverlay
|
|
KeepEmpty 1
|
|
Margin Static
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
TopSep 1.0
|
|
BottomSep 1.0
|
|
ParSep 0.5
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelBottomSep 0.5
|
|
LeftMargin MMMMxNewOverlay
|
|
LabelString "- - - - - - - - - - NewOverlay: "
|
|
|
|
Font
|
|
Family Typewriter
|
|
Series Bold
|
|
Size Large
|
|
Shape SmallCaps
|
|
Color Magenta
|
|
EndFont
|
|
LabelFont
|
|
Family Typewriter
|
|
Series Bold
|
|
Size Large
|
|
Shape SmallCaps
|
|
Color Magenta
|
|
EndFont
|
|
|
|
Preamble
|
|
\newcommand{\lyxnewoverlay}[1]{
|
|
\lyxendslide{.}
|
|
\setcounter{slidetype}{2}
|
|
\begin{overlay}
|
|
}
|
|
EndPreamble
|
|
End
|
|
|
|
## Note style definition
|
|
Style Note
|
|
LatexType Command
|
|
LatexName lyxnewnote
|
|
KeepEmpty 1
|
|
Margin Static
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
TopSep 1.0
|
|
BottomSep 1.0
|
|
ParSep 0.5
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelBottomSep 0.5
|
|
LeftMargin MMMMxMMxxNewNote
|
|
LabelString "........................NewNote: "
|
|
|
|
Font
|
|
Family Typewriter
|
|
Series Bold
|
|
Size Large
|
|
Shape Italic
|
|
Color Magenta
|
|
EndFont
|
|
LabelFont
|
|
Family Typewriter
|
|
Series Bold
|
|
Size Large
|
|
Shape Italic
|
|
Color Magenta
|
|
EndFont
|
|
|
|
Preamble
|
|
\newcommand{\lyxnewnote}[1]{
|
|
\lyxendslide{.}
|
|
\setcounter{slidetype}{3}
|
|
\begin{note}
|
|
}
|
|
EndPreamble
|
|
End
|
|
|
|
## Invisible environment
|
|
Style InvisibleText
|
|
LatexType Command
|
|
LatexName lyxinvisible
|
|
KeepEmpty 1
|
|
Margin Static
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType Static
|
|
LabelString "<Invisible Text Follows>"
|
|
|
|
Font
|
|
Family Roman
|
|
Size Normal
|
|
Color Cyan
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Size Normal
|
|
Color Cyan
|
|
EndFont
|
|
|
|
Preamble
|
|
\newcommand{\lyxinvisible}[1]{
|
|
\invisible
|
|
}
|
|
EndPreamble
|
|
End
|
|
|
|
## Visible environment
|
|
Style VisibleText
|
|
LatexType Command
|
|
LatexName lyxvisible
|
|
KeepEmpty 1
|
|
Margin Static
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType Static
|
|
LabelString "<Visible Text Follows>"
|
|
|
|
Font
|
|
Family Roman
|
|
Size Normal
|
|
Color Green
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Size Normal
|
|
Color Green
|
|
EndFont
|
|
|
|
Preamble
|
|
\newcommand{\lyxvisible}[1]{
|
|
\visible
|
|
}
|
|
EndPreamble
|
|
End
|
|
|
|
########################################################################
|
|
#
|
|
# Definitions taken from article.layout.
|
|
#
|
|
# Note that the "Section" family of environments is missing, as is
|
|
# "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date".
|
|
#
|
|
# I may choose to reintroduce these and/or remove others at a later
|
|
# date.
|
|
#
|
|
# -jw 10/2/96
|
|
#
|
|
########################################################################
|
|
|
|
Input stdlists.inc
|
|
Input stdlayouts.inc
|
|
Input lyxmacros.inc
|
|
#Input obsolete.inc
|
|
|
|
# Style definition for end of a slide
|
|
Style End_All_Slides
|
|
ObsoletedBy Comment
|
|
End
|
|
|
|
NoStyle Address
|
|
NoStyle Right_Address
|
|
|
|
|
|
|
|
|
|
#############
|
|
#
|
|
# End File
|