]> git.lyx.org Git - lyx.git/blob - lib/layouts/paper.layout
75c97c6bc422eaf32cb1ef8e960ab5ee2d251a07
[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 99
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         TocLevel 1
74 End
75
76
77 Style Subsection
78         Font
79           Family              Sans
80           Series              Bold
81           Size                Large
82         EndFont
83         TocLevel 2
84 End
85
86
87 Style Subsubsection
88         Font
89           Family              Sans
90           Series              Bold
91           Size                Normal
92         EndFont
93         TocLevel 3
94 End
95
96
97 Style Paragraph
98         Font
99           Family              Sans
100           Series              Bold
101           Size                Normal
102         EndFont
103         TocLevel 4
104 End
105
106
107 Style Subparagraph
108         Font
109           Family              Sans
110           Size                Normal
111         EndFont
112         TocLevel 5
113 End
114
115 Style Description
116         LabelFont
117           Family              Sans
118           Series              Medium
119         EndFont
120 End
121
122 Input stdstarsections.inc
123
124 # There are no chapters in a paper.
125 NoStyle                 Chapter
126 NoCounter               chapter
127 NoStyle                 Chapter*
128
129
130
131 ###### The \maketitle stuff is by default left justified.
132 Style Title
133         Align                 Left
134         Font
135           Family              Sans
136           Series              Bold
137           Size                Largest
138         EndFont
139         DocBookTag            title
140         DocBookTagType        paragraph
141         DocBookInInfo         maybe
142 End
143
144
145 Style Author
146         Align                 Left
147         Font
148           Size                Larger
149           Family              Sans
150           Shape               Italic
151         EndFont
152 End
153
154
155 Style Abstract
156         Font
157           Size                Small
158         EndFont
159         LabelType             Above
160         LabelFont
161           Series              Bold
162           Family              Sans
163           Size                Small
164         EndFont
165         LeftMargin            ""
166         RightMargin           ""
167         ParIndent             ""
168 End
169
170
171 ### A few new things defined only in the paper document class
172 Style SubTitle
173         CopyStyle             Title
174         LatexName             subtitle
175         Font
176           Family              Sans
177           Series              Medium
178           Size                Large
179         EndFont
180         HTMLTitle             false
181         DocBookTag            subtitle
182         DocBookInInfo         maybe
183 End
184
185
186 Style Institution
187         CopyStyle             Title
188         LatexName             institution
189         Font
190           Family              Sans
191           Series              Medium
192           Size                Normal
193         EndFont
194         HTMLTag               div
195         HTMLTitle             false
196 End
197
198
199 Style Keywords
200         CopyStyle             Abstract
201         LatexName             keywords
202         LabelString           "Keywords:"
203         DocBookTag         keyword
204         DocBookTagType     paragraph
205         DocBookWrapperTag  keywordset
206         DocBookInInfo      always
207 End