]> git.lyx.org Git - lyx.git/blob - lib/layouts/svcommon.inc
Support for beamer block arguments (#3280)
[lyx.git] / lib / layouts / svcommon.inc
1 # svcommon (article) textclass definition file for inclusion.
2 # for Springer Verlag publications
3 # based on sjour.inc:
4 #     --------
5 #     Taken from initial LyX source code
6 #     Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
7 #     Transposed by Pascal André <andre@via.ecp.fr>
8 #     Heavily modified and enhanced by serveral developers.
9 #     --------
10 #     ejour2 made originally by Martin Vermeer based on article.layout.
11 #     Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV.
12 #     Minor change for LyX 1.3.3 by Cengiz Gunay.
13 #
14 #     Adapted for new svjour LaTeX2e classes published by Springer in 1999;
15 #     work done by MV in 2000.
16 #
17 # Adapted for svmono, svmult, and svjour3 2011
18 # by Marcus Kriele (mkriele@mac.com) and Uwe Stöhr
19 # see http://www.springer.com/authors for class files and further instructions
20
21
22 Format 41
23 PageStyle               Plain
24
25
26 Style Standard
27         Margin          Static
28         LatexType       Paragraph
29         LatexName       dummy
30         ParIndent       MM
31         ParSkip         0.4
32         Align           Block
33         AlignPossible   Block, Left, Right, Center
34         LabelType       No_Label
35 End
36
37 Input stdcounters.inc
38 Input stdfloats.inc
39 Input stdlists.inc
40 Input stdinsets.inc
41 Input stdsections.inc
42 Input stdstarsections.inc
43 Input stdlayouts.inc
44 Input stdtitle.inc
45 Input numreport.inc
46
47 ProvidesModule theorems-std
48 Input theorems-without-preamble.inc
49 NoStyle Fact
50 NoStyle Prop
51
52 NoCounter subparagraph
53 NoStyle Subparagraph*
54
55
56 Style Title
57         Align           Left
58         AlignPossible   Block, Center, Left, Right
59         Font
60           Family        Sans
61           Series        Bold
62         EndFont
63 End
64
65
66
67 Style Front_Matter
68         Category        Structure
69         LatexType       Command
70         LatexName       frontmatter
71         KeepEmpty       1
72         ResetArgs       1
73         Margin          First_Dynamic
74         NextNoIndent    1
75         ParSkip         0
76         TopSep          2.5
77         BottomSep       0.5
78         ParSep          0
79         Align           Center
80         LabelType       Static
81         LabelBottomSep  0
82         LeftMargin      M
83         LabelString     "--- Front Matter ---"
84
85         Font
86           Family        Sans
87           Series        Bold
88           Size          Largest
89           Color         Blue
90         EndFont
91 End
92
93 Style Main_Matter
94         CopyStyle       Front_Matter
95         Category        Structure
96         LatexName       mainmatter
97         LabelString     "--- Main Matter ---"
98 End
99
100 Style Back_Matter
101         CopyStyle       Front_Matter
102         Category        Structure
103         LatexName       backmatter
104         LabelString     "--- Back Matter ---"
105 End
106
107 Style Part
108         Margin          Static
109         Align           Right
110 End
111
112 ## The following is a variant of style Part.  It allows to place some
113 ## text on the following page which would otherwise be blank.  
114
115 Style PartBacktext
116         Category        Section
117         Margin          First_Dynamic
118         LabelString     "Part \thepart"
119         LabelType       Counter
120         TocLevel        0
121         LabelCounter    part
122         Labelsep        xx
123         NeedProtect     1
124         ParIndent       MM
125         TopSep          4
126         BottomSep       4
127         LaTexType       Environment
128         LatexName       svmultpartbacktext
129         LabelFont
130           Series        Bold
131           Size          Huge
132         EndFont
133         TextFont
134           Series        Medium
135           Shape         Up
136           Size          normal
137         EndFont
138         Argument 1
139           Mandatory     1
140           LabelString   "Part Title"
141           Tooltip       "Title of this part"
142         EndArgument
143         Preamble
144           \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
145           \part{#1}}{\end{partbacktext}}
146         EndPreamble
147         HTMLTag         h1
148 End
149
150 Style Chapter
151         Align           Left
152 End
153
154 Style ChapSubtitle
155         LatexName       chapsubtitle
156         LatexType       Command
157         Category        Section
158         TopSep          0.7
159         Font
160           Series        Bold
161           Shape         Up
162           Size          large
163         EndFont
164
165 End
166
167 Style ChapAuthor
168         LatexName       chapauthor
169         LatexType       Command
170         Category        Section
171         TopSep          0.7
172         Font
173           Series        Bold
174           Shape         Up
175           Size          normal
176         EndFont
177 End
178
179 Style ChapMotto
180         LatexName       motto
181         LatexType       Command
182         Category        Section
183         TopSep          0.7
184         BottomSep       0.7
185         Align           Left
186         LeftMargin      MMMMMMMMMMMM
187         Font
188           Series        Medium
189           Shape         Italic
190           Size          normal
191         EndFont
192 End
193
194 Style Section
195         Font
196           Series        Bold
197           Shape         Up
198           Size          large
199         EndFont
200         TocLevel        1
201 End
202
203 Style Subsection
204         Font
205           Series        Bold
206           Shape         Italic
207           Size          large
208         EndFont
209         TocLevel        2
210 End
211
212 Style Subsubsection
213         Font
214           Series        Bold
215           Shape         Up
216           Size          Normal
217         EndFont
218         TocLevel        3
219 End
220
221 Style Paragraph
222         Font
223           Series        Medium
224           Shape         Up
225           Size          Normal
226         EndFont
227         TopSep          0.7
228         BottomSep       0.4
229         TocLevel        4
230 End
231
232 Style Subparagraph
233         LeftMargin      ""
234         Font
235           Series        Medium
236           Shape         Italic
237           Size          Normal
238         EndFont
239         TopSep          0.7
240         BottomSep       0.4
241         TocLevel        4
242 End
243
244 Style Part*
245       Margin            Static
246       Align             Right
247 End
248
249 Style Chapter*
250         Align           Left
251 End
252
253 Style Section*
254         Font
255           Series        Bold
256           Shape         Up
257           Size          large
258         EndFont
259 End
260
261 Style Subsection*
262         Font
263           Series        Bold
264           Shape         Italic
265           Size          large
266         EndFont
267 End
268
269 Style Subsubsection*
270         Font
271           Series        Bold
272           Shape         Up
273           Size          Normal
274         EndFont
275 End
276
277 Style Paragraph*
278         Font
279           Series        Medium
280           Shape         Up
281           Size          Normal
282         EndFont
283         TopSep          0.7
284         BottomSep       0.4
285 End
286
287 Style Run-in_headings
288         Category        Unnumbered
289         LabelType       No_Label
290         LabelSep        xx
291         TopSep          0.7
292         Font
293           Series        Bold
294           Shape         Up
295           Size          Normal
296         EndFont
297         Margin          Static
298         LatexType       Command
299         LatexName       runinhead
300 End
301
302 Style Sub-run-in_headings
303         CopyStyle       Run-in_headings
304         Font 
305           Series        Medium
306           Shape         Italic
307           Size          Normal
308         EndFont
309         LatexName       subruninhead
310 End
311
312 Style Extrachap
313         CopyStyle       Chapter*
314         LatexName       Extrachap
315 End
316
317 Style extrachap
318         CopyStyle       Chapter*
319         LatexName       extrachap
320 End
321
322 Style Title
323         Align           Left
324         AlignPossible   Block, Center, Left, Right, Center
325         Font
326           Family        Sans
327           Series        Bold
328         EndFont
329 End
330
331 Style Subtitle
332         CopyStyle       Title
333         LatexName       subtitle
334         NextNoIndent    1
335         BottomSep       0
336         ParSep          0
337         Font
338           Size          Large
339         EndFont
340 End
341
342 Style Author
343         NextNoIndent    1
344         Align           Left
345         Font
346           Series        Bold
347           Shape         Italic
348         EndFont
349 End
350
351 Style Institute
352         Category        FrontMatter
353         LatexType       Command
354         InTitle         1
355         LatexName       institute
356         Margin          First_Dynamic
357         LabelSep        x
358         LabelType       Static
359         LabelString     "Author data:"
360         LabelFont
361           Family        Typewriter
362           Color         Blue
363         EndFont
364         Requires        url
365         Align           Left
366 End
367
368 Style Date
369         Align           Left
370         Font
371           Size          Small
372         EndFont
373 End
374
375 Style TOC_Title
376         Category        FrontMatter
377         Margin          First_Dynamic
378         Align           Left
379         LatexType       Command
380         LatexName       toctitle
381         LeftMargin      xx
382         TopSep          0.4
383         BottomSep       0.4
384         LabelType       Static
385         LabelSep        x
386         LabelString     "TOC title:"
387         LabelFont
388           Family        Typewriter
389           Color         Blue
390         EndFont  
391 End
392
393 Style TOC_Author
394         CopyStyle       TOC_Title
395         LatexName       tocauthor
396         LabelString     "TOC author:"
397 End
398
399 Style Running_Title
400         CopyStyle       TOC_Title
401         LatexName       titlerunning
402         InTitle         1
403         LabelString     "Running title:"
404 End
405
406 Style Running_Author
407         CopyStyle       Running_Title
408         LatexName       authorrunning
409         LabelString     "Running author:"
410 End
411
412 Style Running_Chapter
413         CopyStyle       Running_Title
414         Category        Section
415         InTitle         0
416         LatexName       chaptermark
417         LabelString     "Running chapter:"
418 End
419
420 Style Running_Section
421         CopyStyle       Running_Chapter
422         LatexName       sectionmark
423         LabelString     "Running section:"
424 End
425
426 Style Abstract
427         Category        FrontMatter
428         Margin          First_Dynamic
429         LatexType       Environment
430         LatexName       abstract
431         LabelType       Static
432         LabelString     "Abstract"
433         LabelFont
434           Series        Bold
435         EndFont
436         NextNoIndent    0
437         ParIndent       MM
438         LabelSep        xx
439         ItemSep         0
440         TopSep          0.7
441         BottomSep       0.7
442         ParSep          0
443         Align           Block
444         AlignPossible   Block, Left
445 End
446
447 Style Abstract*
448         CopyStyle       Abstract
449         LatexType       Command
450         LatexName       abstract*
451         LabelString     "Abstract* (not printed)"
452         LabelFont
453           Color         Blue
454         EndFont
455         TextFont        
456           Color         Blue
457         EndFont
458 End
459
460 Style Keywords
461         Margin          First_Dynamic
462         LatexType       Command
463         LatexName       keywords
464         Category        FrontMatter
465         NextNoIndent    0
466         ParIndent       MM
467         LabelSep        xx
468         ItemSep         0
469         TopSep          0.7
470         BottomSep       0.7
471         ParSep          0
472         Align           Block
473         AlignPossible   Block, Left
474         LabelType       Static
475         LabelString     "Keywords"
476         LabelFont
477           Series        Bold
478         EndFont
479 End
480
481 Style Dedication
482         Category        FrontMatter
483         Margin          Static
484         LatexType       Environment
485         LatexName       dedication
486         LeftMargin      MMMMMMMMMMMM
487         TopSep          2
488         ParIndent       MM
489         Parsep          0
490         BottomSep       2
491         Align           Left
492         LabelType       Static
493         LabelString     ""
494         LabelIndent     ""
495         Font
496           Shape         Italic
497           Size          large
498         EndFont
499 End
500
501 Style Foreword
502         Margin          First_Dynamic
503         Category        FrontMatter
504         LabelType       Static
505         LabelString     "Foreword"
506         KeepEmpty       1
507         LatexName       foreword
508         TocLevel        0
509         LatexType       Command
510         NeedProtect     1
511         NextNoIndent    1
512         ParSkip         0.4
513         TopSep          4
514         BottomSep       0.8
515         ParSep          0.8
516         Align           Block
517         Argument 1
518           LabelString   "Alternative Name"
519           Tooltip       "Alternative name"
520         EndArgument
521         Font
522           Series        Bold
523           Size          Huge
524         EndFont
525         HTMLTag         h1
526 End
527
528 Style Preface
529         CopyStyle       Foreword
530         Category        FrontMatter
531         LatexName       preface
532         InTitle         0
533         Margin          First_Dynamic
534         TopSep          4
535         BottomSep       0.8
536         LabelType       Static
537         LabelString     "Preface"
538         LabelSep        xx
539         Align           Left
540 End
541
542 Style Acknowledgement
543         Category        BackMatter
544         Margin          First_Dynamic
545         LatexType       Environment
546         LatexName       acknowledgement
547         NextNoIndent    0
548         ParIndent       MM
549         LabelSep        xx
550         ItemSep         0
551         TopSep          0.7
552         BottomSep       0.7
553         ParSep          0
554         Align           Block
555         AlignPossible   Block, Left
556         LabelType       Static
557         LabelString     "Acknowledgements"
558         Font
559           Size          Small
560         EndFont
561         LabelFont
562           Series        Bold
563           Shape         Up
564           Size          Small
565         EndFont
566 End
567
568 Style Acknowledgements
569         CopyStyle       Acknowledgement
570         LatexName       acknowledgements
571 End
572
573 Style Bibliography
574         Margin          First_Dynamic
575         LatexType       Bib_Environment
576         LatexName       thebibliography
577         Category        BackMatter
578         NextNoIndent    1
579         LeftMargin      MM
580         ParSkip         0.4
581         ItemSep         0
582         TopSep          0.7
583         BottomSep       0.7
584         ParSep          0.5
585         Align           Block
586         AlignPossible   Block, Left
587         LabelType       Bibliography
588         LabelString     "References"
589         LabelBottomSep  0.7
590         LabelFont
591           Series        Bold
592         EndFont
593 End
594
595 Style Description
596         Argument 1
597           LabelString   "Longest Description Label"
598           Tooltip       "Longest description label"
599         EndArgument
600         LabelFont
601           Series        Medium
602         EndFont
603 End
604
605 Style Petit
606         CopyStyle       Standard
607         Category        MainText
608         LatexType       Environment
609         LatexName       petit
610         TopSep          0.7
611         BottomSep       0.7
612         Font
613           Size          Small
614         EndFont
615 End
616
617 Style Svgraybox
618         Category        MainText
619         Margin          Static
620         LatexType       Environment
621         LatexName       svgraybox
622         RightMargin     MMM
623         TopSep          0.5
624         ParIndent       MM
625         Parsep          0
626         BottomSep       0.5
627         Align           Block
628         AlignPossible   Block, Left, Right, Center
629         LabelType       No_Label
630         Font
631           Family        Sans
632         EndFont
633 End
634
635 Style Proof
636         Category        Theorem
637         LatexType       Environment
638         LatexName       proof
639         Margin          First_Dynamic
640         LeftMargin      xxx
641         TopSep          0.4
642         BottomSep       0.4
643         LabelType       Static
644         LabelSep        xx
645         LabelString     "Proof."
646         LabelFont
647           Shape         Italic
648         EndFont
649         LangPreamble
650           \providecommand{\proofname}{_(Proof)}
651         EndLangPreamble
652         BabelPreamble
653           \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
654         EndBabelPreamble
655 End
656
657 Style Proof(QED)
658         CopyStyle       Proof
659         LatexName       svmultproof
660         EndLabelType    Box
661         Preamble
662           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
663         EndPreamble
664 End
665
666 Style Proof(smartQED)
667         CopyStyle       Proof
668         LatexName       svmultproof2
669         EndLabelType    Box
670         Preamble
671           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
672         EndPreamble
673 End
674
675 InsetLayout Flex:Email
676         Decoration      Conglomerate
677         LyxType         custom
678         LatexType       command
679         LatexName       email
680         LabelString     "Email"
681         Font
682           Color         foreground
683           Size          Small
684           Family        Roman
685           Shape         Up
686           Series        Medium
687           Misc          No_Emph
688           Misc          No_Noun
689           Misc          No_Bar
690         EndFont
691         LabelFont
692           Color         urltext
693           Size          Small
694         EndFont
695 End
696