]> git.lyx.org Git - lyx.git/blob - lib/layouts/iucr.layout
Introduce HTMLClass tag, to make it easier to give these.
[lyx.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 96
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         DocBookTag      para
31 End
32
33 Input stdtitle.inc
34 Input stdcounters.inc
35 Input stdfloats.inc
36 Input stdlists.inc
37 Input stdsections.inc
38 Input stdstarsections.inc
39 Input stdstruct.inc
40
41 NoStyle Chapter
42 NoCounter chapter
43 NoStyle Chapter*
44 NoStyle Author
45 NoStyle Bibliography
46
47 Style Section
48         LabelString             \thesection.
49         LabelStringAppendix     \thesection
50         Align                   Center
51 End
52
53 Style Subsection
54         LabelString             \thesubsection.
55         Font
56           Shape                 Italic
57           Size                  Normal
58         EndFont
59 End
60
61 Style Subsubsection
62         LabelString             \thesubsubsection.
63         Font
64           Shape                 Italic
65         EndFont
66 End
67
68 Style "Short Title"
69         CopyStyle               Title
70         LatexName               shorttitle
71         Font
72           Size                  Small
73         EndFont
74         DocBookTag      titleabbrev
75 End
76
77 InsetLayout "Flex:City"
78         LyxType                 custom
79         LatexType               command
80         ForcePlain              1
81         LatexName               city
82         LabelString             "City"
83         Font
84           Color                 foreground
85           Size                  Small
86           Family                Roman
87           Shape                 Up
88           Series                Medium
89           Misc                  No_Emph
90           Misc                  No_Noun
91           Misc                  No_Bar
92         EndFont
93         LabelFont
94           Color                 textlabel2
95           Size                  Small
96         EndFont
97 End
98
99 InsetLayout "Flex:Country"
100         CopyStyle               "Flex:City"
101         LatexName               country
102         LabelString             "Country"
103 End
104
105 InsetLayout "Flex:Author Footnote"
106         CopyStyle               "Flex:City"
107         LatexName               aufn
108         LabelString             "Author Footnote"
109 End
110
111 Style "Main Author"
112         Margin                  Static
113         LatexType               Command
114         LatexName               cauthor
115         Category                FrontMatter
116         InTitle                 1
117         NextNoIndent            1
118         Argument 1
119           LabelString           "Affiliation Key"
120           Tooltip               "Affiliation key of the author"
121           # DocBookTag    othername
122         EndArgument
123         Argument 2
124           Mandatory             1
125           LabelString           "Forename"
126           Tooltip               "Forename"
127           # DocBookTag    firstname
128         EndArgument
129         Argument 3
130           Mandatory             1
131           LabelString           "Surname"
132           Tooltip               "Surname"
133           # DocBookTag    surname
134         EndArgument
135         Argument 4
136           Mandatory             1
137           LabelString           "Email"
138           Tooltip               "Email"
139           Font
140             Shape               Italic
141           EndFont
142           # DocBookTag    email
143         EndArgument
144         BottomSep               0.5
145         ParSkip                 0.4
146         Align                   Center
147         LabelType               No_Label
148         DocBookTag            personname
149         DocBookTagType        paragraph
150         DocBookWrapperTag     author
151         DocBookWrapperTagType inline
152         DocBookInInfo         always
153         # TODO: a lot of information is available, but the email would be output in the <personname> tag, and that does not make sense. The two first arguments should be grouped in <personname>, the rest must live outside <personname>.
154 End
155
156 Style "Co Author"
157         CopyStyle               "Main Author"
158         LatexName               author
159         LabelString             "Co-author"
160         ResetArgs               1
161         Argument 1
162           LabelString           "Affiliation Key"
163           Tooltip               "Affiliation key of the co-author"
164         EndArgument
165         Argument 2
166           Mandatory             1
167           LabelString           "Forename"
168           Tooltip               "Forename"
169         EndArgument
170 End
171
172 Style "Short Author"
173         CopyStyle               "Co Author"
174         LatexName               shortauthor
175         LabelString             "Short author:"
176         ResetArgs               1
177         LabelType               Static
178         Align                   Block
179         Margin                  Dynamic
180         LabelSep                xx
181         LabelFont
182           Series                Bold
183           Color                 textlabel2
184         EndFont
185         DocBookInInfo   always
186         DocBookTag      authorinitials
187         DocBookWrapperTag     NONE
188 End
189
190 Style Affiliation
191         CopyStyle               "Short Author"
192         LatexName               aff
193         Category                FrontMatter
194         LabelString             "Affiliation:"
195         Argument 1
196           LabelString           "Affiliation Key"
197           Tooltip               "Affiliation key"
198         EndArgument
199         Font
200           Shape                 Italic
201         EndFont
202         LabelFont
203           Series                Bold
204           Color                 textlabel2
205           Shape                 Up
206         EndFont
207 End
208
209 Style Keyword
210         CopyStyle               "Short Author"
211         LatexName               keyword
212         LabelString             "Keyword:"
213         DocBookTag         keyword
214         DocBookTagType     paragraph
215         DocBookWrapperTag  keywordset
216         DocBookInInfo      always
217 End
218
219 Style Vita
220         CopyStyle               "Short Author"
221         LatexName               vita
222         LabelString             "Vita:"
223 End
224
225 Style "PDB reference"
226         CopyStyle               "Short Author"
227         LatexName               PDBreference
228         LabelString             "PDB reference:"
229         Argument 1
230           LabelString           "Name"
231           Tooltip               "Optional name"
232         EndArgument
233 End
234
235 Style "NDB reference"
236         CopyStyle               "PDB reference"
237         LatexName               NDBreference
238         LabelString             "NDB reference:"
239 End
240
241 Style Synopsis
242   CopyStyle                     Abstract
243   LatexName                     synopsis
244   LabelString                   "Synopsis"
245   Align                         Left
246   AlignPossible                 Left
247   DocBookAttr       role='synopsis'
248 End
249
250 Style Acknowledgements
251   CopyStyle                     "Short Author"
252   LatexName                     ack
253   InTitle                       0
254   LabelString                   "Acknowledgements:"
255   Category                      BackMatter
256   TopSep                        0.7
257   DocBookTag            para
258   DocBookWrapperTag     acknowledgements
259 End
260
261 Style References
262   Margin                        Static
263   Category                      BackMatter
264   LatexType                     Item_Environment
265   LatexName                     references
266   ItemCommand                   reference
267   LabelType                     Centered
268   LabelString                   "References"
269   LabelFont
270    Size larger
271    Series bold
272   EndFont
273   ParagraphGroup                1
274   NextNoIndent                  1
275   TopSep                        0.7
276   BottomSep                     0.7
277   Argument listpreamble:1
278     LabelString                 "List preamble"
279     MenuString                  "List Preamble"
280     Tooltip                     "LaTeX code to be inserted before the first item"
281     PassThru                    1
282     Font
283       Family typewriter
284       Color latex
285     EndFont
286   EndArgument
287   Argument item:1
288     LabelString                 "Reference"
289     Mandatory                   1
290     AutoInsert                  1
291         DocBookTag          bibliomixed
292   EndArgument
293   Align                         Left
294   DocBookTag        bibliography
295 End