lyx_mirror/lib/layouts/stdsections.inc
André Pönitz 28f4beaefa cleanup stuff separated by Lars from the counter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7754 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 14:29:22 +00:00

131 lines
3.2 KiB
PHP

# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains all numbered sectionning-related
# commands that are useful for article-like document classes, but not
# for letters.
Style Part
Margin Dynamic
LatexType Command
LatexName part
NeedProtect 1
NextNoIndent 1
Labelsep xxx
ParSkip 0.4
TopSep 4
BottomSep 4
ParSep 0.8
Align Center
Alignpossible Center
LabelType Counter
LabelCounter part
LabelString "Part \arabic{part}"
Font
Series Bold
Size Huge
EndFont
End
Style Chapter
Margin Static
LatexType Command
LatexName chapter
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 4
BottomSep 0.8
ParSep 0.8
Align Block
AlignPossible Block, Left
LabelType Counter
LabelCounter chapter
LabelString "\arabic{chapter}"
LabelStringAppendix "Appendix \Alph{chapter}"
OptionalArgs 1
Font
Series Bold
Size Huge
EndFont
End
Style Section
Margin Dynamic
LatexType Command
LatexName section
NeedProtect 1
NextNoIndent 1
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Block
AlignPossible Block, Left
LabelType Counter
LabelCounter section
LabelString "\arabic{chapter}.\arabic{section}"
LabelStringAppendix "\Alph{chapter}.\arabic{section}"
OptionalArgs 1
Font
Series Bold
Size Larger
EndFont
End
Style Subsection
CopyStyle Section
LatexName subsection
TopSep 0.9
BottomSep 0.5
ParSep 0.5
LabelCounter subsection
LabelString "@Section@.\arabic{subsection}
Font
Series Bold
Size Large
EndFont
End
Style Subsubsection
CopyStyle Subsection
LatexName subsubsection
TopSep 0.7
BottomSep 0.4
LabelCounter subsubsection
LabelString "@Subsection@.\arabic{subsubsection}
Font
Series Bold
Size Normal
EndFont
End
Style Paragraph
CopyStyle Subsubsection
LatexName paragraph
TopSep 0.4
BottomSep 0
LabelCounter paragraph
LabelString "@Subsubsection@.\arabic{paragraph}
End
Style Subparagraph
CopyStyle Paragraph
LatexName subparagraph
NextNoIndent 0
LeftMargin MM
LabelSep xxx
LabelCounter subparagraph
LabelString "@Paragraph@.\arabic{subparagraph}
End