]> git.lyx.org Git - lyx.git/blob - lib/layouts/foils.layout
updates to foils from Martin
[lyx.git] / lib / layouts / foils.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{slides (FoilTeX)}
3 # Foils textclass definition file. 
4 # Created (1.Oct.96):   Alejandro Aguilar Sierra
5 # Enhanced (fonts & centering):  Jean-Marc Lasgouttes
6 # To do: Define class specific options.
7
8 # General textclass parameters
9 Columns                 1
10 Sides                   1
11 MaxCounter              Counter_Section
12
13 DefaultFont
14   Family                Sans
15   Series                Medium
16   Shape                 Up
17   Size                  Normal
18   Color                 None
19 EndFont
20
21 ClassOptions
22   FontSize   17|20|25|30
23   PageStyle  "empty|plain|foilheadings|fancy"
24   Other      "dvips"
25 End
26
27 # Standard style definition
28 Style Standard
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 End
38
39 # foilhead style definition
40 Style Foilhead
41   Margin                Static
42   LatexType             Command
43   LatexName             foilhead
44   LabelSep              xxx
45   ParSkip               0.4
46   TopSep                1.3
47   BottomSep             0.7
48   ParSep                0.7
49   Align                 Center
50   AlignPossible         Center
51   LabelType             No_Label
52
53   # standard font definition
54   Font 
55     Series              Bold
56     Size                Large
57   EndFont
58
59 End
60
61
62 # Shortfoilhead style definition
63 Style ShortFoilhead
64   CopyStyle             Foilhead
65   LatexParam            "[-0.5in]"
66 End
67
68
69 # landscape foilhead style definition
70 Style Rotatefoilhead
71   CopyStyle             Foilhead
72   LatexName             rotatefoilhead
73 End
74
75
76 # ShortRotatefoilhead style definition
77 Style ShortRotatefoilhead
78   CopyStyle             Rotatefoilhead
79   LatexParam            "[-0.5in]"
80 End
81
82 # then a few lists
83 Input stdlists.inc
84
85 # We add there a few additional lists that look good in foils.
86
87 # TickList style definition
88 Style TickList
89   Margin                Static
90   LatexType             Item_Environment
91   LatexName             dinglist
92   LatexParam            "{52}"
93   NextNoIndent          1
94   LeftMargin            MMN
95   LabelSep              xx
96   ItemSep               0.2
97   TopSep                0.7
98   BottomSep             0.7
99   ParSep                0.3
100   Align                 Block
101   AlignPossible         Block, Left
102   LabelType             Static
103   LabelString           _/
104   
105   Preamble
106      \usepackage{pifont}
107   EndPreamble
108 End
109
110 # CrossList style definition
111 Style CrossList
112   Margin                Static
113   LatexType             Item_Environment
114   LatexName             dinglist
115   LatexParam            "{56}"
116   NextNoIndent          1
117   LeftMargin            MMN
118   LabelSep              xx
119   ItemSep               0.2
120   TopSep                0.7
121   BottomSep             0.7
122   ParSep                0.3
123   Align                 Block
124   AlignPossible         Block, Left
125   LabelType             Static
126   LabelString           ><
127   
128   Preamble
129     \usepackage{pifont}
130   EndPreamble
131 End
132
133 # Then the Titles stuff.
134 Input stdtitle.inc
135 Input stdstruct.inc
136
137 # Title style definition. 
138 Style Title
139   Font 
140     Series              Bold
141     Size                Largest
142   EndFont
143 End
144
145 # Author style definition
146 Style Author
147   Font 
148     Size                Large
149   EndFont
150 End
151
152 # Date style definition
153 Style Date
154   Font 
155     Size                Large
156   EndFont
157 End
158
159 # Abstract style definition
160 Style Abstract
161   Font 
162     Size                Normal
163     Series              Medium
164   EndFont
165   
166   LabelFont 
167     Size                Large
168     Series              Bold
169   EndFont
170 End
171
172 # Header definitions:
173 Style My_Logo
174   Margin        Static
175   LatexType     Command
176   LatexName     MyLogo
177   LeftMargin        My_Logo:xx
178   LabelSep      xxx
179   Align         Left
180   AlignPossible     Left
181   LabelType     Static
182   LabelString       "My Logo:"
183
184   # standard font definition
185   LabelFont
186     Series      Bold
187     Shape       Italic
188     Color       red
189   EndFont
190
191 End
192
193 Style Restriction
194  CopyStyle              "My Logo"
195   LatexName     Restriction
196   LeftMargin        Restriction:xx
197   LabelString       "Restriction:"
198 End
199
200 Style Left_Header
201  CopyStyle              "My Logo"
202   LatexName     leftheader
203   LeftMargin        Left_Header:xx
204   LabelString       "Left Header:"
205 End
206
207
208 Style Right_Header
209  CopyStyle              "My Logo"
210   LatexName     rightheader
211   LeftMargin        Right_Header:xx
212   LabelString       "Right Header:"
213 End
214
215 Style Right_Footer
216  CopyStyle              "My Logo"
217   LatexName     rightfooter
218   LeftMargin        Right_Footer:xx
219   LabelString       "Right Footer:"
220 End
221
222
223 # Bibliography style definition
224 Style Bibliography
225   LabelFont 
226     Size                Larger
227     Series              Bold    
228   EndFont
229 End
230
231 # Theorem-numbered style declaration
232 Style Theorem
233   Margin                First_Dynamic
234   LatexType             Environment
235   LatexName             Theorem
236   NextNoIndent          1
237   LabelSep              xx
238   ParSkip               0.4
239   ItemSep               0.2
240   TopSep                0.7
241   BottomSep             0.7
242   ParSep                0.3
243   Align                 Block
244   AlignPossible         Block, Left
245   LabelType             Static
246   LabelString           "Theorem #."
247
248   
249   # standard font definition
250   TextFont
251     Shape               Slanted
252     Size                Normal
253   EndFont
254
255   # label font definition
256   LabelFont
257     Series              Bold
258   EndFont
259 End
260
261 # Lemma-numbered style declaration
262 Style Lemma
263   CopyStyle             Theorem
264   LatexName             Lemma
265   LabelString           "Lemma #."
266 End  
267
268 # Corollary-numbered style declaration
269 Style Corollary
270   CopyStyle             Theorem
271   LatexName             Corollary
272   LabelString           "Corollary #."
273 End  
274
275 # Proposition-numbered style declaration
276 Style Proposition
277   CopyStyle             Theorem
278   LatexName             Proposition
279   LabelString           "Proposition #."
280 End  
281
282 # Definition-numbered style declaration
283 Style Definition
284   CopyStyle             Theorem
285   LatexName             Definition
286   LabelString           "Definition #."
287
288   # standard font definition
289   Font
290     Shape               Up
291   EndFont
292
293   # label font definition
294   LabelFont
295     Shape               Up
296     Series              Bold
297   EndFont
298 End
299
300 # Proof style declaration
301 Style Proof
302   CopyStyle             Theorem
303   LatexName             Proof
304   LabelString           "Proof."
305   
306   # standard font definition
307   Font
308     Shape               Up
309   EndFont
310
311   # label font definition
312   LabelFont
313     Shape               Up
314     Series              Bold
315   EndFont
316 End  
317
318
319 # Theorem-numbered style declaration
320 Style Theorem*
321   CopyStyle             Theorem
322   LatexName             Theorem*
323   LabelString           "Theorem."
324  End
325
326 # Lemma-numbered style declaration
327 Style Lemma*
328   CopyStyle             Lemma
329   LatexName             Lemma*
330   LabelString           "Lemma."
331 End  
332
333 # Corollary-numbered style declaration
334 Style Corollary*
335   CopyStyle             Corollary
336   LatexName             Corollary*
337   LabelString           "Corollary."
338 End  
339
340 # Proposition-numbered style declaration
341 Style Proposition*
342   CopyStyle             Proposition
343   LatexName             Proposition*
344   LabelString           "Proposition."
345 End  
346
347 # Definition-numbered style declaration
348 Style Definition*
349   CopyStyle             Definition
350   LatexName             Definition*
351   LabelString           "Definition."
352 End
353
354 # all the standard LaTeX environments
355 Input stdlayouts.inc
356
357 # Finally add a few weird LyX environments.
358 Input lyxmacros.inc