]> git.lyx.org Git - lyx.git/blob - lib/layouts/llncs.layout
8a551ffa87b6ab4362b4b3fa5cfd8b826691dc05
[lyx.git] / lib / layouts / llncs.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{Springer - Lecture Notes in Comp. Sci.}
3 # llncs (article) textclass definition file. 
4 # --------
5 #
6 # Taken from initial LyX source code
7 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
8 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
9 # Heavily modified and enhanced by serveral developers.
10 #
11 # --------
12 # Based on ejour2.layout.
13 # ejour2 made originally by Martin Vermeer based on article.layout.
14 # Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
15 #
16 # General textclass parameters
17 Columns                 1
18 Sides                   1
19 PageStyle               Plain
20 MaxCounter              Counter_Section
21
22 # Standard style definition
23 Style Standard
24   Margin                Static
25   LatexType             Paragraph
26   LatexName             dummy
27   ParIndent             MM
28   ParSkip               0.4
29   Align                 Block
30   AlignPossible         Block, Left, Right, Center
31   LabelType             No_Label
32 End
33
34 # The standard sections
35 Input stdsections.inc
36
37 # Chapter style definition
38 Style Chapter
39   Align         Center
40   AlignPossible Block,Left,Center
41 End
42
43 # Section style definition
44 Style Section
45   # standard font definition
46   LabelFont
47     Series              Bold
48     Size                Large
49   EndFont
50   Font
51     Series              Bold
52     Size                Large
53   EndFont
54 End
55
56 # Subsection style definition
57 Style Subsection
58   LabelType             Counter_Subsection
59   LabelFont
60     Series              Bold
61     Size                Normal
62   EndFont
63 End
64
65 # Subsubsection style definition
66 Style Subsubsection
67   # standard font definition
68   LabelFont 
69     Series              Bold
70     Size                Normal
71   EndFont
72 End
73
74 # Paragraph style definition
75 Style Paragraph
76 # standard font definition
77   Font 
78     Series              Medium
79     Shape               Italic
80     Size                Normal
81   EndFont
82 End
83
84 # Subparagraph style definition
85 Style Subparagraph
86   # standard font definition
87   Font
88     Series              Medium
89     Shape               Up
90     Size                Normal
91   EndFont
92 End
93
94 # Now define the starred versions from the normal ones.
95 Input stdstarsections.inc
96
97 # Remove the ones that we do not want
98 NoStyle         Part
99 NoStyle         Part*
100
101 # Some standard things
102 Input stdlayouts.inc
103 Input stdlists.inc
104
105 # Standard style definition
106 Style Petit
107   Margin                Static
108   LatexType             Environment
109   LatexName             petit
110   ParIndent             MM
111   ParSkip               0.4
112   Align                 Block
113   AlignPossible         Block, Left, Right, Center
114   LabelType             No_Label
115
116   # Font definition
117   Font 
118     Size                Small
119   EndFont
120 End
121
122 # Journal name style definition (not needed if JG option given)
123 Style Journal
124   Margin                Static
125   LatexType             Command
126   InTitle               1
127   LatexName             journalname
128   NextNoIndent          1
129   LeftMargin            Journal:xxx
130   LabelSep              xxx
131   ParSkip               0.4
132   TopSep                1.3
133   BottomSep             0.7
134   ParSep                0.7
135   Align                 Left
136   AlignPossible         Left
137   LabelType             Static
138   LabelString           Journal:
139
140   # standard font definition
141   LabelFont 
142     Series              Bold
143     Shape               Italic
144     Color               Red
145   EndFont
146
147 End
148
149 # Headnote style definition
150 Style Headnote
151   CopyStyle             Journal
152   LatexName             dedication
153   LeftMargin            "HeadNote (optional):xxx"
154   LabelString           "Headnote (optional): "
155 End
156
157 # Title style definition
158 Style Title
159   Margin                Static
160   LatexType             Command
161   InTitle               1
162   LatexName             title
163   NextNoIndent          1
164   ParSkip               0.4
165   TopSep                1.3
166   BottomSep             0.7
167   ParSep                0.7
168   Align                 Center          
169   AlignPossible         Block, Center, Left, Right
170   LabelType             No_Label
171   Fill_Top              1
172   Fill_Bottom           1
173
174   # standard font definition
175   Font 
176     Family              Sans
177     Series              Bold
178     Size                Largest
179   EndFont
180
181 End
182
183 # Title style definition
184 Style Subtitle
185   Margin                Static
186   LatexType             Command
187   InTitle               1
188   LatexName             subtitle
189   NextNoIndent          1
190   ParSkip               0.4
191   ItemSep               0
192   TopSep                0
193   BottomSep             0
194   ParSep                0
195   Align                 Left
196   AlignPossible         Left
197   LabelType             No_Label
198
199   # standard font definition
200   Font 
201     Family              Sans
202     Series              Bold
203     Size                Large
204   EndFont
205
206 End
207
208 # Translated Title style definition
209 Style Translated_Title
210   Margin                Static
211   LatexType             Command
212   InTitle               1
213   LatexName             transtitle
214   NextNoIndent          1
215   LeftMargin            "English title:xxx"
216   LabelSep              xxx
217   ParSkip               0.4
218   TopSep                1.3
219   BottomSep             0.7
220   ParSep                0.7     
221   Align                 Left
222   AlignPossible         Left
223   LabelType             Static
224   LabelString           "English title: "
225
226   # Standard font definition
227   Font 
228     Series              Bold
229   EndFont
230
231   # Label font definition
232   LabelFont 
233     Series              Bold
234     Shape               Italic
235     Color               Red
236   EndFont
237
238 End
239
240 # Title_Running style definition
241 Style Running_LaTeX_Title
242   CopyStyle             Journal
243   LatexName             titlerunning
244   LeftMargin            "Running title:xxx"
245   LabelString           "Running title: "
246 End
247
248 # TOC_Title style definition
249 Style TOC_Title
250   CopyStyle             Journal
251   LatexName             toctitle
252   LeftMargin            "TOC title:xxx"
253   LabelString           "TOC title: "
254 End
255
256 # Author style definition
257 Style Author
258   Margin                Static
259   LatexType             Command
260   InTitle               1
261   LatexName             author
262   NextNoIndent          1
263   ParSkip               0.4
264   TopSep                0.7
265   BottomSep             0.7
266   ItemSep               0
267   ParSep                0
268   Align                 Left
269   AlignPossible         Left
270   LabelType             No_Label
271
272   # standard font definition
273   Font 
274     Series              Bold
275     Shape               Italic
276   EndFont
277
278 End
279
280 # AuthorRunning style definition
281 Style Author_Running
282   CopyStyle             Journal
283   LatexName             authorrunning
284   LeftMargin            "Author Running:xxx"
285   LabelString           "Author Running: "
286 End
287
288 # TOC_Author style definition
289 Style TOC_Author
290   CopyStyle             Journal
291   LatexName             tocauthor
292   LeftMargin            "TOC Author :xxx"
293   LabelString           "TOC Author: "
294 End
295
296 # Institute style definition
297 Style Institute
298   Margin                Static
299   LatexType             Command
300   InTitle               1
301   LatexName             institute
302   NextNoIndent          1
303   ParSkip               0.4
304   TopSep                1.3
305   BottomSep             0.7
306   ParSep                0.7
307   Align                 Left
308   AlignPossible         Left
309   LabelType             No_Label
310
311   # Std. font definition
312   Font 
313     Size                Small
314   EndFont
315
316 End
317
318 # Dedication style definition (optional) 
319 Style Dedication
320   CopyStyle             Journal
321   LatexName             headnote
322   LeftMargin            Dedication:xxx
323   LabelString           Dedication:
324 End
325
326 # Recieved/Accepted style definition
327 Style Date
328   CopyStyle             Journal
329   LatexName             date
330   LeftMargin            Received/Accepted:xx
331   LabelString           Received/Accepted:
332 End
333
334 #
335 #
336 # Correspondence address style definition
337 Style Mail
338   CopyStyle             Journal
339   LatexName             mail    
340   LeftMargin            "Corr Author:xx."
341   LabelString           "Corr Author: "
342 End
343
344 # Abstract style definition
345 Style Abstract 
346   Margin                First_Dynamic
347   LatexType             Environment
348   LatexName             abstract
349   NextNoIndent          0
350   ParIndent             MM
351   LabelSep              xx
352   ItemSep               0
353   TopSep                0.7
354   BottomSep             0.7
355   ParSep                0
356   Align                 Block
357   AlignPossible         Block, Left
358   LabelType             Top_Environment
359   LabelString           Abstract. 
360
361   # label font definition
362   LabelFont 
363     Series              Bold
364   EndFont
365 End 
366
367 # Keywords style definition
368 Style  Keywords
369   Margin                First_Dynamic
370   LatexType             Command
371   LatexName             keywords
372   NextNoIndent          0
373   ParIndent             MM
374   LabelSep              xx
375   ItemSep               0
376   TopSep                0.7
377   BottomSep             0.7
378   ParSep                0
379   Align                 Block
380   AlignPossible         Block, Left
381   LabelType             Static
382   LabelString           "Key Words: " 
383
384   # label font definition
385   LabelFont 
386     Series              Bold
387   EndFont
388 End 
389
390 # Translated abstract style definition
391 Style TranslatedAbstract
392   CopyStyle             Abstract
393   LatexName             transsummary
394   LabelString           "Eng. Abstract. " 
395 End 
396
397 # Trans_Keywords style definition
398 Style  Trans_Keywords
399   CopyStyle             Keywords
400   LatexName             trankey
401   LabelString           "Eng Key Words: " 
402 End 
403
404 # Acknowledgement(s) style definitions
405 Style Acknowledgements
406   Margin                First_Dynamic
407   LatexType             Environment
408   LatexName             acknowledgements
409   NextNoIndent          0
410   ParIndent             MM
411   LabelSep              xx
412   ItemSep               0
413   TopSep                0.7
414   BottomSep             0.7
415   ParSep                0
416   Align                 Block
417   AlignPossible         Block, Left
418   LabelType             Static
419   LabelString           Acknowledgements. 
420
421   # font & label font definition
422   Font 
423     Size                Small
424   EndFont
425
426   LabelFont 
427     Shape               Italic
428     Size                Small
429   EndFont
430 End 
431
432 Style Acknowledgement
433   CopyStyle             Acknowledgements
434   LatexName             acknowledgement
435   LabelString           Acknowledgement. 
436 End 
437
438 #
439 # Bibliography style definition
440 Style Bibliography
441   Margin                First_Dynamic
442   LatexType             Item_Environment
443   LatexName             lyxbibliography
444   NextNoIndent          1
445   LeftMargin            MM
446   ParSkip               0.4
447   ItemSep               0
448   TopSep                0.7
449   BottomSep             0.7
450   ParSep                0.5
451   Align                 Block
452   AlignPossible         Block, Left
453   LabelType             Bibliography
454   LabelString           References 
455   LabelBottomSep    0.7
456
457   # label font definition
458   LabelFont 
459     Series              Bold
460   EndFont
461
462   Preamble
463     \newcommand{\lyxbibliography}{\thebibliography{References}%
464       \renewcommand{\bibitem}[3][!]{\@bibitem{##1}{##2}{##3}}}
465   EndPreamble
466
467 End
468
469 # Mathematics-like definitions:
470
471 Style Case
472   Margin                First_Dynamic
473   LatexType             Environment
474   LatexName             case
475   NextNoIndent          0
476   ParIndent             MM
477   LabelSep              xx
478   ItemSep               0
479   TopSep                0.5
480   BottomSep             0.5
481   ParSep                0
482   Align                 Block
483   AlignPossible         Block, Left
484   LabelType             Static
485   LabelString           Case #. 
486
487   # font & label font definition
488
489   LabelFont 
490     Shape               Italic
491   EndFont
492
493 End
494
495 Style Claim
496   CopyStyle             Case
497   LatexName             claim
498   LabelString           "Claim. " 
499 End
500
501 Style Conjecture
502   CopyStyle             Case
503   LatexName             conjecture
504   LabelString           "Conjecture #. " 
505 End
506
507 Style Corollary
508   CopyStyle             Case
509   LatexName             corollary
510   LabelString           "Corollary #. " 
511
512   # font & label font definition
513   Font 
514     Shape               Italic
515   EndFont
516
517   LabelFont 
518     Shape               Up
519     Series              Bold
520   EndFont
521
522 End
523
524 Style Definition
525   CopyStyle             Corollary
526   LatexName             definition
527   LabelString           "Definition #. "
528 End
529
530 Style Example
531   CopyStyle             Case
532   LatexName             example
533   LabelString           "Example #. "
534 End
535
536 Style Exercise
537   CopyStyle             Case
538   LatexName             exercise
539   LabelString           "Exercise #. "
540 End
541
542 Style Lemma
543   CopyStyle             Corollary
544   LatexName             lemma
545   LabelString           "Lemma #. "
546 End
547
548 Style Note
549   CopyStyle             Case
550   LatexName             note
551   LabelString           "Note #. "
552 End
553
554 Style Problem
555   CopyStyle             Exercise
556   LatexName             problem
557   LabelString           "Problem #. "
558 End
559
560 Style Proof
561   CopyStyle             Claim
562   LatexName             proof
563   LabelString           "Proof. "
564 End
565
566 Style Property
567   CopyStyle             Case
568   LatexName             property
569   LabelString           "Property #. "
570 End
571
572 Style Proposition
573   CopyStyle             Corollary
574   LatexName             proposition
575   LabelString           "Proposition #. "
576 End
577
578 Style Question
579   CopyStyle             Case
580   LatexName             question        
581   LabelString           "Question #. "
582 End
583
584 Style Remark
585   CopyStyle             Case
586   LatexName             remark
587   LabelString           "Remark #. "
588 End
589
590 Style Solution
591   CopyStyle             Case
592   LatexName             solution
593   LabelString           "Solution #. "
594 End
595
596 Style Theorem
597   CopyStyle             Corollary
598   LatexName             theorem
599   LabelString           "Theorem #. "
600 End
601
602 #Finally a few older definitions for compatibility
603 Input obsolete.inc