]> git.lyx.org Git - lyx.git/blob - lib/layouts/svmult.layout
Update all layouts to format 35.
[lyx.git] / lib / layouts / svmult.layout
1 #% Do not delete the line below; configure depends on this
2 #       \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)}
3 # Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
4 #
5 #  Class and style files and templates are found at:
6 #       ftp://ftp.springer.de/pub/tex/latex/svmultgl/
7 #
8
9 Format 35
10 Input svjour.inc
11
12 ClassOptions
13         FontSize         10
14 End
15
16 NoStyle Acknowledgements
17 NoStyle Date
18 NoStyle Dedication
19 NoStyle Headnote
20 NoStyle Mail
21 NoStyle Offprints
22
23 Counter svmultlsti
24         LabelString     "Contributor \Roman{svmultlsti}:"
25 End
26
27 # Additional headings
28 Style Title*
29         CopyStyle       Title
30         LatexName       title*
31         HTMLTitle             true
32 End
33
34 Style TOC_Title
35         CopyStyle       Running_LaTeX_Title
36         LatexName       toctitle
37         LeftMargin      "TOC title:xxx"
38         LabelString     "TOC title:"
39 End
40
41 Style TOC_Author
42         CopyStyle       Running_LaTeX_Title
43         LatexName       tocauthor
44         LeftMargin      "TOC Author:xxx"
45         LabelString     "TOC Author:"
46 End
47
48 Style Institute
49         LatexType       Command
50         InTitle         1
51         LatexName       institute
52         Margin          Static
53         LeftMargin      "Institute and e-mail:xxx"
54         LabelSep        xxx
55         LabelType       Static
56         LabelString     "Institute and e-mail: "
57         LabelFont
58           Shape         Italic
59         EndFont
60         Requires        url
61 End
62
63 Style MiniTOC
64         CopyStyle       Running_LaTeX_Title
65         LatexType       Command
66         LatexName       svmulttoc
67         LeftMargin      "TOC depth (provide a number):xxx"
68         LabelString     "TOC depth (provide a number):"
69         Preamble
70             \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
71         EndPreamble
72 End
73
74 Style List_of_Abbreviations_&_Symbols
75         InTitle         1
76         CopyStyle       Description
77         LatexName       abbrsymblist
78 End
79
80 # Additional paragraphs
81 Style Petit
82         CopyStyle       Standard
83         Category        MainText
84         LatexType       Environment
85         LatexName       petit
86         LeftMargin      MMM
87         RightMargin     MMM
88         Font
89           Size          Small
90         EndFont
91 End
92
93 # Additional math environments
94 Style Case
95         CopyStyle       Claim
96         LatexName       case
97         LabelString     "Case #."
98 End
99
100 Style Proof(QED)
101         CopyStyle       Proof
102         LatexName       svmultproof
103         EndLabelType    Box
104         Preamble
105           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
106         EndPreamble
107 End
108
109 Style Proof(smartQED)
110         CopyStyle       Proof
111         LatexName       svmultproof2
112         EndLabelType    Filled_Box
113         Preamble
114           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
115         EndPreamble
116 End
117
118 # Styles for editors
119 Style Preface
120         CopyStyle       Title
121         Category        "For editors"
122         LatexName       svmultpreface
123         KeepEmpty       1
124         OptionalArgs    1
125         InTitle         0
126         Margin          Static
127         LeftMargin      "PPrreeffaaccee:xxx"
128         LabelType       Static
129         LabelString     "Preface:"
130         LabelSep        xxx
131         Align           Left
132         Preamble
133           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
134         EndPreamble
135         Requires        ifthen
136 End
137
138 Style List_of_Contributors
139         Category        "For editors"
140         Margin          First_Dynamic
141         LatexType       Item_Environment
142         LatexName       svmultlstcnt
143         NextNoIndent    1
144         InTitle         0
145         LabelType       Counter
146         LabelCounter    svmultlsti
147         LabelSep        xxx
148         LabelFont
149           Series        Bold
150           Shape         Italic
151           Color         Blue
152         EndFont
153         ParSkip         0.0
154         ItemSep         0.2
155         TopSep          0.7
156         BottomSep       0.7
157         ParSep          0.3
158         Align           Block
159         AlignPossible   Block, Left
160         Preamble
161           \newenvironment{svmultlstcnt}{%
162             \let\svmultitem\item%
163             \renewcommand{\item}{%
164               \ifthenelse{\value{svmultlsti} = 0}{}{\and}%
165               \stepcounter{svmultlsti}}%
166             \newcounter{svmultlsti}\begin{thecontriblist}}{%
167           \end{thecontriblist}\let\item\svmultitem}
168         EndPreamble
169         Requires        ifthen
170 End
171
172 Style Front_Matter
173         Category        "For editors"
174         LatexType       command
175         LatexName       frontmatter
176         KeepEmpty       1
177         OptionalArgs    0
178         Margin          First_Dynamic
179         NextNoIndent    1
180         ParSkip         0
181         TopSep          2.5
182         BottomSep       0.5
183         ParSep          0
184         Align           Center
185         LabelType       Static
186         LabelBottomSep  0
187         LeftMargin      M
188         LabelString     "--- Front Matter ---"
189         Font
190           Family        Sans
191           Series        Bold
192           Size          Largest
193           Color         Blue
194         EndFont
195 End
196
197 Style Main_Matter
198         CopyStyle       Front_Matter
199         Category        "For editors"
200         LatexName       mainmatter
201         LabelString     "--- Main Matter ---"
202 End
203
204 Style Back_Matter
205         CopyStyle       Front_Matter
206         Category        "For editors"
207         LatexName       backmatter
208         LabelString     "--- Back Matter ---"
209 End
210
211 Style Part
212         Category        "For editors"
213 End
214
215 Style Part*
216         Category        "For editors"
217 End
218
219 Style Chapter
220         Category        "For editors"
221   Align   Left
222 End
223
224 Style Chapter*
225         Category        "For editors"
226   Align   Left
227 End
228
229 InsetLayout "Flex:Inst"
230         Decoration      Classic
231         LabelString     "Institute #"
232         LatexType       Command
233         LatexName       inst
234         LyxType         custom
235         Font
236           Size          Small
237           Color         Green
238         EndFont
239 End