]> git.lyx.org Git - lyx.git/blob - lib/layouts/svmult.layout
Updates to the sv* series of layouts form Marcus Kriele.
[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 #          adapted: Marcus Kriele <mkriele@mac.com> (April 2011)
5 #
6 #  Supports: SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07)
7 #  Class and style files and templates are found at:
8 #       http://www.springer.com/authors
9 #
10 Format 34
11
12
13 Input svcommon.inc
14
15 ClassOptions
16         FontSize         10
17 End
18
19 NoStyle Acknowledgements
20 #NoStyle Acknowledgement
21
22 Counter svmultlsti
23         LabelString     "Contributor \Roman{svmultlsti}:"
24 End
25
26 # Additional headings
27
28 Style MiniTOC
29         CopyStyle       Running_Title
30         LatexType       Command
31         LatexName       svmulttoc
32         LeftMargin      "TOC depth (provide a number):xxx"
33         LabelString     "TOC depth (provide a number):"
34         Preamble
35             \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
36         EndPreamble
37 End
38
39
40 Style Title*
41         CopyStyle       Title
42         LatexName       title*
43         LabelString     "Title*: "
44         LabelSep                "xxx"
45         LabelType       Static
46         Margin          First_Dynamic
47         HTMLTitle             true
48         LabelFont
49         Color   Blue
50         EndFont
51 End
52
53
54 Style Title
55       TopSep            2
56         LabelString           "Chapter \thechapter"
57         LabelType             Counter
58         LabelCounter          chapter
59       TocLevel  1
60       InTitle 0
61 End
62
63
64 Style Contributors
65       CopyStyle         Foreword
66       LabelString       "List of Contributors"
67       LatexName         contributors
68 End
69
70 Style List_of_Abbreviations_&_Symbols_[Deprecated]
71         InTitle         1
72         CopyStyle       Description
73         LatexName       abbrsymblist
74 End
75
76 Style List_of_Abbreviations_&_Symbols
77         InTitle         1
78         CopyStyle       Description
79         LatexName       abbrsymblist
80         ObsoletedBy      List_of_Abbreviations_&_Symbols_[Deprecated]
81 End
82
83 Style Author
84         Font
85           Series        Bold
86           Family        Sans
87           Size          Normal
88           Shape         Up
89         EndFont
90 End
91
92
93 Counter  svmultlsti
94         LabelString              "Contributor \Roman{svmultlsti}"
95         Within                   chapter
96 End
97
98
99 Style List_of_Contributors
100         Category        "For editors"
101         Margin          First_Dynamic
102         LatexType       Item_Environment
103         LatexName       svmultlstcnt
104         NextNoIndent    1
105         InTitle         0
106         LabelType       Counter
107         LabelCounter    svmultlsti
108         LabelSep        xxx
109         LabelFont
110           Series        Bold
111           Shape         Italic
112           Color         Blue
113         EndFont
114         ParSkip         0.0
115         ItemSep         0.2
116         TopSep          0.7
117         BottomSep       0.7
118         ParSep          0.3
119         Align           Block
120         AlignPossible   Block, Left
121         Preamble
122           \newcounter{svmultlsti}%
123           \newenvironment{svmultlstcnt}{%
124             \setcounter{svmultlsti}{0}\let\svmultitem\item%
125             \renewcommand{\item}{%
126               \ifthenelse{\value{svmultlsti} = 0}{}{\and}%
127               \stepcounter{svmultlsti}}%
128             \setcounter{svmultlsti}{0}\begin{thecontriblist}}{%
129           \end{thecontriblist}\let\item\svmultitem%
130           \setcounter{svmultlsti}{0}}
131         EndPreamble
132         Requires        ifthen
133 End
134
135 Style Problem
136       ObsoletedBy       Problem_(theorem-like)
137 End
138
139 Style Solution
140       ObsoletedBy       Solution_(theorem-like)
141 End
142
143 InsetLayout Flex:Inst
144         Decoration      Classic
145         LabelString     "Institute # [deprecated]"
146         LatexType       Command
147         LatexName       inst
148         LyxType         custom
149         Font
150           Size          Small
151           Color         Red
152         EndFont
153 End
154
155 InsetLayout             Flex:at_Address
156        CopyStyle        Flex:and
157        LatexName        at
158        LabelString      "at address"
159 End
160
161
162 Style Part
163       Category          "For editors"
164 End
165
166 Style PartBacktext
167       Category          "For editors"
168 End
169
170 Style Chapter
171       Category          "For editors"
172 End
173
174 Style ChapAuthor
175       Category          "For editors"
176 End
177
178 Style ChapSubtitle
179       Category          "For editors"
180 End
181
182 Style extrachap
183       Category          "For editors"
184 End
185
186 Style Extrachap
187       Category          "For editors"
188 End
189
190 Style Dedication
191       Category          "For editors"
192 End
193
194 Style Foreword
195       Category          "For editors"
196 End
197
198 Style Preface
199       Category          "For editors"
200 End
201
202 Style Acknowledgement
203       Category          "For editors"
204 End
205
206 Style Contributors
207       Category          "For editors"
208 End
209
210 Style Motto
211       CopyStyle         ChapMotto
212       Category          "FrontMatter"
213 End
214
215 NoStyle ChapMotto
216
217 Style Abstract
218       Category          "FrontMatter"
219 End
220 Style Abstract*
221       Category          "FrontMatter"
222 End
223 Style Keywords
224       Category          "FrontMatter"
225 End
226