]> git.lyx.org Git - lyx.git/blob - lib/layouts/iucr.layout
06a7aa16eb856fc10e4fd225e8c6fe341c1b1a67
[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 68
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 End
51
52 Style Subsection
53         LabelString                     \thesubsection.
54         Font
55           Shape                         Italic
56           Size                          Normal
57         EndFont
58 End
59
60 Style Subsubsection
61         LabelString                     \thesubsubsection.
62         Font
63           Shape                         Italic
64         EndFont
65 End
66
67 Style "Short Title"
68         CopyStyle               Title
69         LatexName               shorttitle
70         Font
71           Size                  Small
72         EndFont
73 End
74
75 InsetLayout "Flex:City"
76         LyxType                 custom
77         LatexType               command
78         ForcePlain              1
79         LatexName               city
80         LabelString             "City"
81         Font
82           Color                 foreground
83           Size                  Small
84           Family                Roman
85           Shape                 Up
86           Series                Medium
87           Misc                  No_Emph
88           Misc                  No_Noun
89           Misc                  No_Bar
90         EndFont
91         LabelFont
92           Color                 green
93           Size                  Small
94         EndFont
95 End
96
97 InsetLayout "Flex:Country"
98         CopyStyle               "Flex:City"
99         LatexName               country
100         LabelString             "Country"
101 End
102
103 InsetLayout "Flex:Author Footnote"
104         CopyStyle               "Flex:City"
105         LatexName               aufn
106         LabelString             "Author Footnote"
107 End
108
109 Style "Main Author"
110         Margin                  Static
111         LatexType               Command
112         LatexName               cauthor
113         Category                FrontMatter
114         InTitle                 1
115         NextNoIndent    1
116         Argument 1
117           LabelString   "Affiliation Key"
118           Tooltip               "Affiliation key of the author"
119         EndArgument
120         Argument 2
121           Mandatory             1
122           LabelString   "Forename"
123           Tooltip               "Forename"
124         EndArgument
125         Argument 3
126           Mandatory             1
127           LabelString   "Surname"
128           Tooltip               "Surname"
129         EndArgument
130         Argument 4
131           Mandatory             1
132           LabelString   "Email"
133           Tooltip               "Email"
134           Font
135             Shape               Italic
136           EndFont
137         EndArgument
138         BottomSep               0.5
139         ParSkip                 0.4
140         Align                   Center
141         LabelType               No_Label
142 End
143
144 Style "Co Author"
145         CopyStyle               "Main Author"
146         LatexName               author
147         LabelString             "Co-author"
148         ResetArgs               1
149         Argument 1
150           LabelString   "Affiliation Key"
151           Tooltip               "Affiliation key of the co-author"
152         EndArgument
153         Argument 2
154           Mandatory             1
155           LabelString   "Forename"
156           Tooltip               "Forename"
157         EndArgument
158 End
159
160 Style "Short Author"
161         CopyStyle               "Co Author"
162         LatexName               shortauthor
163         LabelString             "Short author:"
164         ResetArgs               1
165         LabelType               Static
166         Align                   Block
167         Margin                  Dynamic
168         LabelSep                xx
169         LabelFont
170           Series                Bold
171           Color                 Green
172         EndFont
173 End
174
175 Style Affiliation
176         CopyStyle               "Short Author"
177         LatexName               aff
178         Category                FrontMatter
179         LabelString             "Affiliation:"
180         Argument 1
181           LabelString   "Affiliation Key"
182           Tooltip               "Affiliation key"
183         EndArgument
184         Font
185           Shape                 Italic
186         EndFont
187         LabelFont
188           Series                Bold
189           Color                 Green
190           Shape                 Up
191         EndFont
192 End
193
194 Style Keyword
195         CopyStyle               "Short Author"
196         LatexName               keyword
197         LabelString             "Keyword:"
198 End
199
200 Style Vita
201         CopyStyle               "Short Author"
202         LatexName               vita
203         LabelString             "Vita:"
204 End
205
206 Style "PDB reference"
207         CopyStyle               "Short Author"
208         LatexName               PDBreference
209         LabelString             "PDB reference:"
210         Argument 1
211           LabelString   "Name"
212           Tooltip               "Optional name"
213         EndArgument
214 End
215
216 Style "NDB reference"
217         CopyStyle               "PDB reference"
218         LatexName               NDBreference
219         LabelString             "NDB reference:"
220 End
221
222 Style Synopsis
223   CopyStyle                     Abstract
224   LatexName                     synopsis
225   LabelString           "Synopsis"
226   Align                         Left
227   AlignPossible         Left
228 End
229
230 Style Acknowledgements
231   CopyStyle                     "Short Author"
232   LatexName                     ack
233   InTitle                       0
234   LabelString           "Acknowledgements:"
235   Category                      BackMatter
236   TopSep                        0.7
237 End
238
239 Style References
240   Margin                        Static
241   Category                      BackMatter
242   LatexType                     Item_Environment
243   LatexName                     references
244   ItemCommand           reference
245   LabelType                     Centered
246   LabelString           "References"
247   LabelFont
248    Size larger
249    Series bold
250   EndFont
251   ParagraphGroup        1
252   NextNoIndent          1
253   TopSep                        0.7
254   BottomSep                     0.7
255   Argument item:1
256     LabelString         "Reference"
257     Mandatory           1
258     AutoInsert          1
259   EndArgument
260   Align                         Left
261 End