mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 14:58:36 +00:00
25b3a8c611
- remove dependencies of standard LaTeX-packages like article, fontenc, babel, etc. - The class need only be specified as optional argument if the name of the LaTeX class file and the name of the layout file are different or if there are no packages to load. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35139 a592a061-630c-0410-9148-cb99ea01b6c8
440 lines
7.7 KiB
Plaintext
440 lines
7.7 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[powerdot,enumitem.sty,hyperref.sty,pstricks.sty,verbatim.sty,xcolor.sty,xkeyval.sty]{presentation (powerdot)}
|
|
# PowerDot textclass definition file.
|
|
# Created: 29-Aug-05 by Mael Hilléreau
|
|
# Last modified: 20-May-06 by Uwe Stöhr
|
|
|
|
Format 27
|
|
|
|
Input stdcounters.inc
|
|
Input stdinsets.inc
|
|
|
|
###
|
|
# General textclass parameters
|
|
###
|
|
Columns 1
|
|
Sides 1
|
|
Provides url 1
|
|
Provides hyperref 1
|
|
Provides geometry 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
|
|
LabelType No_Label
|
|
|
|
Font
|
|
Series Bold
|
|
Size Largest
|
|
Color Blue
|
|
EndFont
|
|
HTMLTitle true
|
|
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
|
|
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
|
|
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
|
|
TocLevel 3
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName lyxend\lyxslide
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Center
|
|
LabelType Counter
|
|
LabelCounter subsection
|
|
LabelString " "
|
|
OptionalArgs 1
|
|
|
|
Font
|
|
Series Bold
|
|
Size Large
|
|
Color Magenta
|
|
EndFont
|
|
End
|
|
|
|
Style EndSlide
|
|
KeepEmpty 1
|
|
LatexType Command
|
|
LatexName lyxend
|
|
Margin Static
|
|
ParSkip 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 0
|
|
Align Center
|
|
AlignPossible Center
|
|
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
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName lyxend\lyxnote
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType Static
|
|
LabelString "Note:"
|
|
LeftMargin MMMMMMM
|
|
KeepEmpty 1
|
|
OptionalArgs 0
|
|
Font
|
|
Series Bold
|
|
Size Large
|
|
Color Red
|
|
EndFont
|
|
End
|
|
|
|
###
|
|
# Section style definition
|
|
###
|
|
Style Section
|
|
CopyStyle Slide
|
|
TocLevel 1
|
|
LatexName lyxend\section
|
|
LabelType Counter
|
|
LabelCounter section
|
|
LabelString "\arabic{section}"
|
|
|
|
Font
|
|
Size Larger
|
|
Color Blue
|
|
EndFont
|
|
LabelStringAppendix "\Alph{section}"
|
|
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 Itemize
|
|
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 Enumerate
|
|
RefPrefix enu
|
|
End
|
|
|
|
Style EnumerateType1
|
|
CopyStyle Enumerate
|
|
LatexParam [type=1]
|
|
End
|
|
|
|
###
|
|
# Bibliography style definition
|
|
###
|
|
Style Bibliography
|
|
Margin First_Dynamic
|
|
LatexType Bib_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
|
|
###
|
|
|
|
###
|
|
# Floats definitions
|
|
###
|
|
Float
|
|
Type table
|
|
GuiName Table
|
|
Extension lot
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Tables"
|
|
NeedsFloatPkg false
|
|
ListCommand listoftables
|
|
End
|
|
|
|
Float
|
|
Type figure
|
|
GuiName Figure
|
|
Extension lof
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Figures"
|
|
NeedsFloatPkg false
|
|
ListCommand listoffigures
|
|
End
|
|
|
|
Float
|
|
Type algorithm
|
|
GuiName Algorithm
|
|
Extension loa
|
|
NumberWithin none
|
|
Style ruled
|
|
ListName "List of Algorithms"
|
|
NeedsFloatPkg true
|
|
End
|
|
|
|
###
|
|
# Counters definitions
|
|
###
|
|
Counter enumi
|
|
End
|
|
|
|
Counter enumii
|
|
Within enumi
|
|
End
|
|
|
|
Counter enumiii
|
|
Within enumii
|
|
End
|
|
|
|
Counter enumiv
|
|
Within enumiii
|
|
End
|
|
|
|
Counter bibitem
|
|
End
|
|
|
|
Counter figure
|
|
End
|
|
|
|
Counter table
|
|
End
|
|
|
|
Counter algorithm
|
|
End
|