]> git.lyx.org Git - features.git/blob - lib/layouts/svmult.layout
port my latest template file updates to trunk
[features.git] / lib / layouts / svmult.layout
1 #% Do not delete the line below; configure depends on this
2 #       \DeclareLaTeXClass[svmult,footmisc.sty,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          First_Dynamic
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       command
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 End
213
214 Style Part*
215         Category        "For editors"
216 End
217
218 Style Chapter
219         Category        "For editors"
220   Align   Left
221 End
222
223 Style Chapter*
224         Category        "For editors"
225   Align   Left
226 End
227
228 InsetLayout "Flex:Inst"
229         Decoration      Classic
230         LabelString     "Institute #"
231         LatexType       Command
232         LatexName       inst
233         LyxType         custom
234         Font
235           Size          Small
236           Color         Green
237         EndFont
238 End