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