]> git.lyx.org Git - lyx.git/blob - lib/layouts/svmult.layout
fix typos.
[lyx.git] / lib / layouts / svmult.layout
1 #% Do not delete the line below; configure depends on this
2 #       \DeclareLaTeXClass[svmult]{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 11
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 End
32
33 Style TOC_Title
34         CopyStyle       Running_LaTeX_Title
35         LatexName       toctitle
36         LeftMargin      "TOC title:xxx"
37         LabelString     "TOC title:"
38 End
39
40 Style TOC_Author
41         CopyStyle       Running_LaTeX_Title
42         LatexName       tocauthor
43         LeftMargin      "TOC Author:xxx"
44         LabelString     "TOC Author:"
45 End
46
47 Style Institute
48         LatexType       Command
49         InTitle         1
50         LatexName       institute
51         Margin          Static
52         LeftMargin      "Institute and e-mail:xxx"
53         LabelSep        xxx
54         LabelType       Static
55         LabelString     "Institute and e-mail: "
56         LabelFont
57           Shape         Italic
58         EndFont
59         Requires        url
60 End
61
62 Style MiniTOC
63         CopyStyle       Running_LaTeX_Title
64         LatexType       Command
65         LatexName       svmulttoc
66         LeftMargin      "TOC depth (provide a number):xxx"
67         LabelString     "TOC depth (provide a number):"
68         Preamble
69             \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
70         EndPreamble
71 End
72
73 Style List_of_Abbreviations_&_Symbols
74         InTitle         1
75         CopyStyle       Description
76         LatexName       abbrsymblist
77 End
78
79 # Additional paragraphs
80 Style Petit
81         CopyStyle       Standard
82         Category        MainText
83         LatexType       Environment
84         LatexName       petit
85         LeftMargin      MMM
86         RightMargin     MMM
87         Font
88           Size          Small
89         FontEnd
90 End
91
92 # Additional math environments
93 Style Case
94         CopyStyle       Claim
95         LatexName       case
96         LabelString     "Case #."
97 End
98
99 Style Proof(QED)
100         CopyStyle       Proof
101         LatexName       svmultproof
102         EndLabelType    Box
103         Preamble
104           \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
105         EndPreamble
106 End
107
108 Style Proof(smartQED)
109         CopyStyle       Proof
110         LatexName       svmultproof2
111         EndLabelType    Filled_Box
112         Preamble
113           \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
114         EndPreamble
115 End
116
117 # Styles for editors
118 Style Preface
119         CopyStyle       Title
120         Category        "For editors"
121         LatexName       svmultpreface
122         KeepEmpty       1
123         OptionalArgs    1
124         InTitle         0
125         Margin          Static
126         LeftMargin      "PPrreeffaaccee:xxx"
127         LabelType       Static
128         LabelString     "Preface:"
129         LabelSep        xxx
130         Align           Left
131         Preamble
132           \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
133         EndPreamble
134         Requires        ifthen
135 End
136
137 Style List_of_Contributors
138         Category        "For editors"
139         Margin          First_Dynamic
140         LatexType       Item_Environment
141         LatexName       svmultlstcnt
142         NextNoIndent    1
143         InTitle         0
144         LabelType       Counter
145         LabelCounter    svmultlsti
146         LabelSep        xxx
147         LabelFont
148           Series        Bold
149           Shape         Italic
150           Color         Blue
151         EndFont
152         ParSkip         0.0
153         ItemSep         0.2
154         TopSep          0.7
155         BottomSep       0.7
156         ParSep          0.3
157         Align           Block
158         AlignPossible   Block, Left
159         Preamble
160           \newenvironment{svmultlstcnt}{%
161             \let\svmultitem\item%
162             \renewcommand{\item}{%
163               \ifthenelse{\value{svmultlsti} = 0}{}{\and}%
164               \stepcounter{svmultlsti}}%
165             \newcounter{svmultlsti}\begin{thecontriblist}}{%
166           \end{thecontriblist}\let\item\svmultitem}
167         EndPreamble
168         Requires        ifthen
169 End
170
171 Style Front_Matter
172         Category        "For editors"
173         LatexType       Environment
174         LatexName       frontmatter
175         KeepEmpty       1
176         OptionalArgs    0
177         Margin          First_Dynamic
178         NextNoIndent    1
179         ParSkip         0
180         TopSep          2.5
181         BottomSep       0.5
182         ParSep          0
183         Align           Center
184         LabelType       Static
185         LabelBottomSep  0
186         LeftMargin      M
187         LabelString     "--- Front Matter ---"
188         Font
189           Family        Sans
190           Series        Bold
191           Size          Largest
192           Color         Blue
193         EndFont
194 End
195
196 Style Main_Matter
197         CopyStyle       Front_Matter
198         Category        "For editors"
199         LatexName       mainmatter
200         LabelString     "--- Main Matter ---"
201 End
202
203 Style Back_Matter
204         CopyStyle       Front_Matter
205         Category        "For editors"
206         LatexName       backmatter
207         LabelString     "--- Back Matter ---"
208 End
209
210 Style Part
211         Category        "For editors"
212         Margin          Dynamic
213         LabelString     "Part \thepart"
214         LabelType       Counter
215         TocLevel        0
216         LabelCounter    part
217         LatexType       Command
218         LatexName       part
219         NeedProtect     1
220         NextNoIndent    1
221         Labelsep        xxx
222         ParSkip         0.4
223         TopSep          4
224         BottomSep       4
225         ParSep          0.8
226         Align           Center
227         Alignpossible   Center
228         Font
229           Series        Bold
230           Size          Huge
231         EndFont
232 End
233
234 Style Part*
235         CopyStyle       Part
236         Category        "For editors"
237         Margin          Static
238         LatexName       part*
239         LabelType       No_Label
240         LabelCounter    ""
241 End
242
243 Style Chapter
244         Margin          Static
245         Category        "For editors"
246         LabelString     "Chapter \thechapter"
247         LabelStringAppendix  "Appendix \thechapter"
248         LabelType       Counter
249         LabelCounter    chapter
250         TocLevel        0
251         LatexType       Command
252         LatexName       chapter
253         NeedProtect     1
254         NextNoIndent    1
255         ParSkip         0.4
256         TopSep          4
257         BottomSep       0.8
258         ParSep          0.8
259         Align           Left
260         OptionalArgs    1
261         Font
262           Series        Bold
263           Size          Huge
264         EndFont
265 End
266
267 Style Chapter*
268         CopyStyle       Chapter
269         Category        "For editors"
270         Margin          Static
271         LatexName       chapter*
272         LabelType       No_Label
273         LabelCounter    ""
274         OptionalArgs    0
275 End
276
277 InsetLayout Inst
278         Decoration      Classic
279         LabelString     "Institute #"
280         LatexType       Command
281         LatexName       inst
282         LyxType         custom
283         Font
284           Size          Small
285           Color         Green
286         EndFont
287 End