Some initial layout categories. More later, if this all works out.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23502 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-03-06 05:02:23 +00:00
parent a307f3b9ae
commit d2e5ef3d65
16 changed files with 69 additions and 31 deletions

View File

@ -21,6 +21,7 @@ End
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
@ -56,7 +57,7 @@ NoStyle Chapter*
#NoStyle Subparagraph*
NoStyle Verse # Although mathematicians tend to be poets at times,
# we don't need this.
# we don't need this.
Style Section

View File

@ -22,6 +22,7 @@ End
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy

View File

@ -28,6 +28,7 @@ Provides makeidx 1
### Now the title stuff. We copy do not use stdstruct.inc to keep
### things in the right order
Style Title
Category FrontMatter
Margin Static
LatexType Command
InTitle 1
@ -49,6 +50,7 @@ End
Style Author
Category FrontMatter
Margin Static
LatexType Command
InTitle 1
@ -68,6 +70,7 @@ End
Style Date
Category FrontMatter
Margin Dynamic
LatexType Command
InTitle 1
@ -91,6 +94,7 @@ End
Style Abstract
Category FrontMatter
Margin First_Dynamic
LatexType Environment
InTitle 1
@ -117,6 +121,7 @@ End
NoStyle Address
Style Address
Category FrontMatter
Margin Dynamic
LatexType Command
InTitle 1

View File

@ -10,6 +10,7 @@
Format 6
Style LyX-Code
Category MainText
Margin Static
LatexType Environment
LatexName lyxcode

View File

@ -26,6 +26,7 @@ EndFont
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy

View File

@ -9,6 +9,7 @@
Format 6
Style Quotation
Category MainText
Margin Static
LatexType Environment
LatexName quotation
@ -27,6 +28,7 @@ End
Style Quote
Category MainText
Margin Static
LatexType Environment
LatexName quote
@ -45,6 +47,7 @@ End
Style Verse
# LaTeX type is first dynamic because of LaTeX implementation.
# In LyX this does not make sense.
Category MainText
LatexType Environment
LatexName verse
Margin First_Dynamic
@ -62,6 +65,7 @@ End
Style --Separator--
Category MainText
KeepEmpty 1
Margin Dynamic
LatexType Paragraph

View File

@ -9,6 +9,7 @@
Format 6
Style Itemize
Category List
Margin Static
LatexType Item_Environment
LatexName itemize
@ -27,6 +28,7 @@ End
Style Enumerate
Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
@ -45,6 +47,7 @@ End
Style Description
Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
@ -67,6 +70,7 @@ End
Style List
Category List
Margin Manual
LatexType List_Environment
LatexName lyxlist

View File

@ -9,11 +9,12 @@
Format 6
Style Part
Category Section
Margin Dynamic
LabelString "Part \thepart"
LabelType Counter
LabelString "Part \thepart"
LabelType Counter
TocLevel 0
LabelCounter part
LabelCounter part
LatexType Command
LatexName part
NeedProtect 1
@ -34,10 +35,11 @@ End
Style Chapter
Margin Static
LabelString "Chapter \thechapter"
Category Section
LabelString "Chapter \thechapter"
LabelStringAppendix "Appendix \thechapter"
LabelType Counter
LabelCounter chapter
LabelType Counter
LabelCounter chapter
TocLevel 0
LatexType Command
LatexName chapter
@ -57,9 +59,10 @@ End
Style Section
Category Section
Margin Dynamic
LabelType Counter
LabelCounter section
LabelType Counter
LabelCounter section
TocLevel 1
LatexType Command
LatexName section
@ -81,7 +84,7 @@ End
Style Subsection
CopyStyle Section
LabelCounter subsection
LabelCounter subsection
TocLevel 2
LatexName subsection
TopSep 0.9
@ -96,7 +99,7 @@ End
Style Subsubsection
CopyStyle Subsection
LabelCounter subsubsection
LabelCounter subsubsection
TocLevel 3
LatexName subsubsection
TopSep 0.7
@ -110,7 +113,7 @@ End
Style Paragraph
CopyStyle Subsubsection
LabelCounter paragraph
LabelCounter paragraph
TocLevel 4
LatexName paragraph
TopSep 0.4
@ -120,7 +123,7 @@ End
Style Subparagraph
CopyStyle Paragraph
LabelCounter subparagraph
LabelCounter subparagraph
TocLevel 5
LatexName subparagraph
NextNoIndent 0

View File

@ -12,6 +12,7 @@
Format 6
Style Part*
CopyStyle Part
Category Starred
Margin Static
LatexName part*
LabelType No_Label
@ -21,6 +22,7 @@ End
Style Chapter*
CopyStyle Chapter
Category Starred
Margin Static
LatexName chapter*
LabelType No_Label
@ -31,6 +33,7 @@ End
Style Section*
CopyStyle Section
Category Starred
Margin Static
LatexName section*
LabelType No_Label
@ -41,6 +44,7 @@ End
Style Subsection*
CopyStyle Subsection
Category Starred
Margin Static
LatexName subsection*
LabelType No_Label
@ -51,6 +55,7 @@ End
Style Subsubsection*
CopyStyle Subsubsection
Category Starred
Margin Static
LatexName subsubsection*
LabelType No_Label
@ -61,6 +66,7 @@ End
Style Paragraph*
CopyStyle Paragraph
Category Starred
Margin Static
LatexName paragraph*
LabelType No_Label
@ -71,6 +77,7 @@ End
Style Subparagraph*
CopyStyle Subparagraph
Category Starred
Margin Static
LatexName subparagraph*
LabelType No_Label

View File

@ -13,6 +13,7 @@ Style Abstract
Margin Static
LatexType Environment
LatexName abstract
Category FrontMatter
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
@ -39,6 +40,7 @@ Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
Category BackMatter
NextNoIndent 1
LeftMargin MM
ParSkip 0.4

View File

@ -12,6 +12,7 @@ Format 6
Style Title
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName title
ParSkip 0.4
@ -30,6 +31,7 @@ End
Style Author
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName author
LabelSep xxx
@ -48,6 +50,7 @@ End
Style Date
Margin Dynamic
LatexType Command
Category FrontMatter
InTitle 1
LatexName date
LabelSep xxx

View File

@ -32,7 +32,7 @@ Requires amsmath
Style Criterion
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName criterion
LabelString "Criterion \thetheorem."
Preamble
@ -54,7 +54,7 @@ End
Style Algorithm
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName algorithm
LabelString "Algorithm \thetheorem."
Preamble
@ -77,7 +77,7 @@ End
Style Axiom
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName ax
LabelString "Axiom \thetheorem."
Preamble
@ -232,7 +232,7 @@ End
Style Assumption
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName assumption
LabelString "Assumption \thetheorem."
Preamble

View File

@ -22,6 +22,7 @@
Format 6
Style Theorem
Category Theorem
Margin First_Dynamic
LatexType Environment
LatexName thm
@ -56,7 +57,7 @@ End
Style Corollary
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName cor
LabelString "Corollary \thetheorem."
Preamble
@ -68,7 +69,7 @@ End
Style Lemma
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName lem
LabelString "Lemma \thetheorem."
Preamble
@ -80,7 +81,7 @@ End
Style Proposition
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName prop
LabelString "Proposition \thetheorem."
Preamble
@ -92,7 +93,7 @@ End
Style Conjecture
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName conjecture
LabelString "Conjecture \thetheorem."
Preamble
@ -104,7 +105,7 @@ End
Style Fact
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName fact
LabelString "Fact \thetheorem."
Preamble
@ -116,7 +117,7 @@ End
Style Definition
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName defn
LabelString "Definition \thetheorem."
Font
@ -168,7 +169,7 @@ End
Style Remark
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName rem
LabelString "Remark \thetheorem."
Font
@ -199,6 +200,7 @@ End
# Define Case as an enumeration environment
Style Case
Category Theorem
CopyStyle Enumerate
LatexName caseenv
LabelType Static

View File

@ -11,6 +11,7 @@
Format 6
Style Proof
Category Theorem
Margin First_Dynamic
LatexType Environment
LatexName proof

View File

@ -21,6 +21,7 @@
Format 6
Style Theorem*
Category Theorem
LatexType Environment
Margin First_Dynamic
LatexName thm*

View File

@ -22,6 +22,7 @@
Format 6
Style Theorem
Category Theorem
Margin First_Dynamic
LatexType Environment
LatexName thm
@ -55,7 +56,7 @@ End
Style Corollary
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName cor
LabelString "Corollary \thetheorem."
Preamble
@ -66,7 +67,7 @@ End
Style Lemma
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName lem
LabelString "Lemma \thetheorem."
Preamble
@ -77,7 +78,7 @@ End
Style Proposition
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName prop
LabelString "Proposition \thetheorem."
Preamble
@ -88,7 +89,7 @@ End
Style Conjecture
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName conjecture
LabelString "Conjecture \thetheorem."
Preamble
@ -99,7 +100,7 @@ End
Style Fact
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName fact
LabelString "Fact \thetheorem."
Preamble
@ -110,7 +111,7 @@ End
Style Definition
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName defn
LabelString "Definition \thetheorem."
Font
@ -162,7 +163,7 @@ End
Style Remark
CopyStyle Theorem
DependsOn Theorem
DependsOn Theorem
LatexName rem
LabelString "Remark \thetheorem."
Font
@ -193,6 +194,7 @@ End
# Define Case as an enumeration environment
Style Case
Category Theorem
CopyStyle Enumerate
LatexName caseenv
LabelType Static