]> git.lyx.org Git - features.git/blob - lib/layouts/iucr.layout
Update layouts
[features.git] / lib / layouts / iucr.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[iucr,float.sty,harvard.sty,html.sty,multicol.sty,tabularx.sty]{International Union of Crystallography (IUCr)}
3 #  \DeclareCategory{Articles}
4 # IUCr article textclass definition file.
5 # Author: Uwe Stöhr (uwestoehr@web.de)
6 # IUCr LaTeX files can be downloaded from ftp://ftp.iucr.org/templates/latex/
7
8 Format 84
9
10 Columns                         1
11 Sides                           1
12 SecNumDepth                     3
13 TocDepth                        3
14 DefaultStyle                    Standard
15
16 ClassOptions
17         FontSize                10
18 end
19
20 Style Standard
21         Category                MainText
22         Margin                  Static
23         LatexType               Paragraph
24         LatexName               dummy
25         ParIndent               MM
26         ParSkip                 0.4
27         Align                   Block
28         AlignPossible           Block, Left, Right, Center
29         LabelType               No_Label
30 End
31
32 Input stdtitle.inc
33 Input stdcounters.inc
34 Input stdfloats.inc
35 Input stdlists.inc
36 Input stdsections.inc
37 Input stdstarsections.inc
38 Input stdstruct.inc
39
40 NoStyle Chapter
41 NoCounter chapter
42 NoStyle Chapter*
43 NoStyle Author
44 NoStyle Bibliography
45
46 Style Section
47         LabelString             \thesection.
48         LabelStringAppendix     \thesection
49         Align                   Center
50         TocLevel 1
51 End
52
53 Style Subsection
54         LabelString             \thesubsection.
55         Font
56           Shape                 Italic
57           Size                  Normal
58         EndFont
59         TocLevel 2
60 End
61
62 Style Subsubsection
63         LabelString             \thesubsubsection.
64         Font
65           Shape                 Italic
66         EndFont
67         TocLevel 3
68 End
69
70 Style "Short Title"
71         CopyStyle               Title
72         LatexName               shorttitle
73         Font
74           Size                  Small
75         EndFont
76 End
77
78 InsetLayout "Flex:City"
79         LyxType                 custom
80         LatexType               command
81         ForcePlain              1
82         LatexName               city
83         LabelString             "City"
84         Font
85           Color                 foreground
86           Size                  Small
87           Family                Roman
88           Shape                 Up
89           Series                Medium
90           Misc                  No_Emph
91           Misc                  No_Noun
92           Misc                  No_Bar
93         EndFont
94         LabelFont
95           Color                 green
96           Size                  Small
97         EndFont
98 End
99
100 InsetLayout "Flex:Country"
101         CopyStyle               "Flex:City"
102         LatexName               country
103         LabelString             "Country"
104 End
105
106 InsetLayout "Flex:Author Footnote"
107         CopyStyle               "Flex:City"
108         LatexName               aufn
109         LabelString             "Author Footnote"
110 End
111
112 Style "Main Author"
113         Margin                  Static
114         LatexType               Command
115         LatexName               cauthor
116         Category                FrontMatter
117         InTitle                 1
118         NextNoIndent            1
119         Argument 1
120           LabelString           "Affiliation Key"
121           Tooltip               "Affiliation key of the author"
122         EndArgument
123         Argument 2
124           Mandatory             1
125           LabelString           "Forename"
126           Tooltip               "Forename"
127         EndArgument
128         Argument 3
129           Mandatory             1
130           LabelString           "Surname"
131           Tooltip               "Surname"
132         EndArgument
133         Argument 4
134           Mandatory             1
135           LabelString           "Email"
136           Tooltip               "Email"
137           Font
138             Shape               Italic
139           EndFont
140         EndArgument
141         BottomSep               0.5
142         ParSkip                 0.4
143         Align                   Center
144         LabelType               No_Label
145 End
146
147 Style "Co Author"
148         CopyStyle               "Main Author"
149         LatexName               author
150         LabelString             "Co-author"
151         ResetArgs               1
152         Argument 1
153           LabelString           "Affiliation Key"
154           Tooltip               "Affiliation key of the co-author"
155         EndArgument
156         Argument 2
157           Mandatory             1
158           LabelString           "Forename"
159           Tooltip               "Forename"
160         EndArgument
161 End
162
163 Style "Short Author"
164         CopyStyle               "Co Author"
165         LatexName               shortauthor
166         LabelString             "Short author:"
167         ResetArgs               1
168         LabelType               Static
169         Align                   Block
170         Margin                  Dynamic
171         LabelSep                xx
172         LabelFont
173           Series                Bold
174           Color                 Green
175         EndFont
176 End
177
178 Style Affiliation
179         CopyStyle               "Short Author"
180         LatexName               aff
181         Category                FrontMatter
182         LabelString             "Affiliation:"
183         Argument 1
184           LabelString           "Affiliation Key"
185           Tooltip               "Affiliation key"
186         EndArgument
187         Font
188           Shape                 Italic
189         EndFont
190         LabelFont
191           Series                Bold
192           Color                 Green
193           Shape                 Up
194         EndFont
195 End
196
197 Style Keyword
198         CopyStyle               "Short Author"
199         LatexName               keyword
200         LabelString             "Keyword:"
201 End
202
203 Style Vita
204         CopyStyle               "Short Author"
205         LatexName               vita
206         LabelString             "Vita:"
207 End
208
209 Style "PDB reference"
210         CopyStyle               "Short Author"
211         LatexName               PDBreference
212         LabelString             "PDB reference:"
213         Argument 1
214           LabelString           "Name"
215           Tooltip               "Optional name"
216         EndArgument
217 End
218
219 Style "NDB reference"
220         CopyStyle               "PDB reference"
221         LatexName               NDBreference
222         LabelString             "NDB reference:"
223 End
224
225 Style Synopsis
226   CopyStyle                     Abstract
227   LatexName                     synopsis
228   LabelString                   "Synopsis"
229   Align                         Left
230   AlignPossible                 Left
231 End
232
233 Style Acknowledgements
234   CopyStyle                     "Short Author"
235   LatexName                     ack
236   InTitle                       0
237   LabelString                   "Acknowledgements:"
238   Category                      BackMatter
239   TopSep                        0.7
240 End
241
242 Style References
243   Margin                        Static
244   Category                      BackMatter
245   LatexType                     Item_Environment
246   LatexName                     references
247   ItemCommand                   reference
248   LabelType                     Centered
249   LabelString                   "References"
250   LabelFont
251    Size larger
252    Series bold
253   EndFont
254   ParagraphGroup                1
255   NextNoIndent                  1
256   TopSep                        0.7
257   BottomSep                     0.7
258   Argument listpreamble:1
259     LabelString                 "List preamble"
260     MenuString                  "List Preamble"
261     Tooltip                     "LaTeX code to be inserted before the first item"
262     PassThru                    1
263     Font
264       Family typewriter
265       Color latex
266     EndFont
267   EndArgument
268   Argument item:1
269     LabelString                 "Reference"
270     Mandatory                   1
271     AutoInsert                  1
272   EndArgument
273   Align                         Left
274 End