]> git.lyx.org Git - lyx.git/blob - lib/layouts/paper.layout
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[lyx.git] / lib / layouts / paper.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{Paper (Standard Class)}
3 #  \DeclareCategory{Articles}
4 # Paper textclass definition file.
5 # Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
6
7
8 Format 98
9 Columns                 1
10 Sides                   1
11 SecNumDepth             3
12 TocDepth                3
13
14 AddToPreamble
15   % Save and disable \example as this might
16   % clash with theorems
17   \let\paperclassexample\example
18   \let\endpaperclassexample\endexample
19   \let\example\relax
20   % If theorems hasn't been loaded, restore example
21   \AtBeginDocument{%
22     \@ifundefined{example}{\let\example\paperclassexample}{}
23   }
24 EndPreamble
25
26 Style Standard
27         Category              MainText
28         Margin                Static
29         LatexType             Paragraph
30         LatexName             dummy
31         ParIndent             MM
32         ParSkip               0.4
33         Align                 Block
34         AlignPossible         Block, Left, Right, Center
35         LabelType             No_Label
36         HTMLStyle
37                 div.standard {
38                         margin-bottom: 2ex;
39                 }
40         EndHTMLStyle
41         DocBookTag            para
42 End
43
44 Input stdtitle.inc
45 Input stdstruct.inc
46 Input lyxmacros.inc
47 Input stdlayouts.inc
48 Input stdfloats.inc
49 Input stdlists.inc
50 Input stdcounters.inc
51
52 ###### All the section headings now use sans serif
53 Input stdsections.inc
54
55 Style Part
56         Align                 Left
57         TopSep                2
58         BottomSep             1.5
59         Font
60           Family              Sans
61           Series              Bold
62           Size                Largest
63         EndFont
64 End
65
66
67 Style Section
68         Font
69           Family              Sans
70           Series              Bold
71           Size                Large
72         EndFont
73 End
74
75
76 Style Subsection
77         Font
78           Family              Sans
79           Series              Bold
80           Size                Large
81         EndFont
82 End
83
84
85 Style Subsubsection
86         Font
87           Family              Sans
88           Series              Bold
89           Size                Normal
90         EndFont
91 End
92
93
94 Style Paragraph
95         Font
96           Family              Sans
97           Series              Bold
98           Size                Normal
99         EndFont
100 End
101
102
103 Style Subparagraph
104         Font
105           Family              Sans
106           Size                Normal
107         EndFont
108 End
109
110 Style Description
111         LabelFont
112           Family              Sans
113           Series              Medium
114         EndFont
115 End
116
117 Input stdstarsections.inc
118
119 # There are no chapters in a paper.
120 NoStyle                 Chapter
121 NoCounter               chapter
122 NoStyle                 Chapter*
123
124
125
126 ###### The \maketitle stuff is by default left justified.
127 Style Title
128         Align                 Left
129         Font
130           Family              Sans
131           Series              Bold
132           Size                Largest
133         EndFont
134         DocBookTag            title
135         DocBookTagType        paragraph
136         DocBookInInfo         maybe
137 End
138
139
140 Style Author
141         Align                 Left
142         Font
143           Size                Larger
144           Family              Sans
145           Shape               Italic
146         EndFont
147 End
148
149
150 Style Abstract
151         Font
152           Size                Small
153         EndFont
154         LabelType             Above
155         LabelFont
156           Series              Bold
157           Family              Sans
158           Size                Small
159         EndFont
160         LeftMargin            ""
161         RightMargin           ""
162         ParIndent             ""
163 End
164
165
166 ### A few new things defined only in the paper document class
167 Style SubTitle
168         CopyStyle             Title
169         LatexName             subtitle
170         Font
171           Family              Sans
172           Series              Medium
173           Size                Large
174         EndFont
175         HTMLTitle             false
176         DocBookTag            subtitle
177         DocBookInInfo         maybe
178 End
179
180
181 Style Institution
182         CopyStyle             Title
183         LatexName             institution
184         Font
185           Family              Sans
186           Series              Medium
187           Size                Normal
188         EndFont
189         HTMLTag               div
190         HTMLTitle             false
191 End
192
193
194 Style Keywords
195         CopyStyle             Abstract
196         LatexName             keywords
197         LabelString           "Keywords:"
198         DocBookTag         keyword
199         DocBookTagType     paragraph
200         DocBookWrapperTag  keywordset
201         DocBookInInfo      always
202 End