]> git.lyx.org Git - lyx.git/blob - lib/examples/R-S-statements.lyx
chkconfig.ltx: add lh fonts
[lyx.git] / lib / examples / R-S-statements.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 459
3 \begin_document
4 \begin_header
5 \textclass scrartcl
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 \fi % end if pdflatex is used
16 \end_preamble
17 \use_default_options true
18 \begin_modules
19 rsphrase
20 \end_modules
21 \maintain_unincluded_children false
22 \language english
23 \language_package default
24 \inputencoding auto
25 \fontencoding global
26 \font_roman default
27 \font_sans default
28 \font_typewriter default
29 \font_math auto
30 \font_default_family default
31 \use_non_tex_fonts false
32 \font_sc false
33 \font_osf false
34 \font_sf_scale 100
35 \font_tt_scale 100
36 \graphics default
37 \default_output_format default
38 \output_sync 0
39 \bibtex_command default
40 \index_command default
41 \paperfontsize default
42 \spacing single
43 \use_hyperref true
44 \pdf_title "Chemical Risk and Safety statements in LyX"
45 \pdf_author "Uwe Stöhr"
46 \pdf_bookmarks true
47 \pdf_bookmarksnumbered true
48 \pdf_bookmarksopen false
49 \pdf_bookmarksopenlevel 1
50 \pdf_breaklinks false
51 \pdf_pdfborder false
52 \pdf_colorlinks true
53 \pdf_backref false
54 \pdf_pdfusetitle false
55 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
56 \papersize default
57 \use_geometry false
58 \use_package amsmath 1
59 \use_package amssymb 1
60 \use_package esint 1
61 \use_package mathdots 1
62 \use_package mathtools 0
63 \use_package mhchem 1
64 \use_package stackrel 0
65 \use_package stmaryrd 0
66 \use_package undertilde 0
67 \cite_engine basic
68 \cite_engine_type numerical
69 \biblio_style plain
70 \use_bibtopic false
71 \use_indices false
72 \paperorientation portrait
73 \suppress_date true
74 \justification true
75 \use_refstyle 1
76 \notefontcolor #0000ff
77 \index Index
78 \shortcut idx
79 \color #008000
80 \end_index
81 \secnumdepth 3
82 \tocdepth 3
83 \paragraph_separation skip
84 \defskip medskip
85 \quotes_language english
86 \papercolumns 1
87 \papersides 1
88 \paperpagestyle default
89 \tracking_changes false
90 \output_changes false
91 \html_math_output 0
92 \html_css_as_file 0
93 \html_be_strict false
94 \end_header
95
96 \begin_body
97
98 \begin_layout Title
99 Chemical Risk and Safety statements in LyX
100 \end_layout
101
102 \begin_layout Author
103 Uwe Stöhr
104 \end_layout
105
106 \begin_layout Section
107 Introduction
108 \end_layout
109
110 \begin_layout Standard
111 To be able to insert Chemical Risk and Safety statements in LyX, you need
112  to load the module 
113 \family sans
114 Risk
115 \begin_inset space ~
116 \end_inset
117
118 and
119 \begin_inset space ~
120 \end_inset
121
122 Safety
123 \begin_inset space ~
124 \end_inset
125
126 Statements
127 \family default
128  in the menu 
129 \family sans
130 Document\SpecialChar \menuseparator
131 Settings\SpecialChar \menuseparator
132 Modules
133 \family default
134 .
135  The module provides 2
136 \begin_inset space ~
137 \end_inset
138
139 insets and 1
140 \begin_inset space ~
141 \end_inset
142
143 environment.
144  The insets are accessible via the menu 
145 \family sans
146 Insert\SpecialChar \menuseparator
147 Custom
148 \begin_inset space ~
149 \end_inset
150
151 Insets
152 \family default
153 .
154 \end_layout
155
156 \begin_layout Section
157 Risk statements
158 \end_layout
159
160 \begin_layout Standard
161 The inset 
162 \family sans
163 R-S
164 \begin_inset space ~
165 \end_inset
166
167 number
168 \family default
169  is used to typeset the number, the inset 
170 \family sans
171 R-S
172 \begin_inset space ~
173 \end_inset
174
175 phrase
176 \family default
177  will output the corresponding phrase.
178 \end_layout
179
180 \begin_layout Standard
181 The risk statement 
182 \begin_inset Flex R-S number
183 status open
184
185 \begin_layout Plain Layout
186 R55
187 \end_layout
188
189 \end_inset
190
191  has the phrase: 
192 \begin_inset Flex R-S phrase
193 status open
194
195 \begin_layout Plain Layout
196 R55
197 \end_layout
198
199 \end_inset
200
201
202 \end_layout
203
204 \begin_layout Standard
205 This is 
206 \begin_inset Flex R-S number
207 status collapsed
208
209 \begin_layout Plain Layout
210 R23
211 \end_layout
212
213 \end_inset
214
215
216 \begin_inset Flex R-S phrase
217 status open
218
219 \begin_layout Plain Layout
220
221 \end_layout
222
223 \end_inset
224
225
226 \end_layout
227
228 \begin_layout Standard
229 As you can see, the phrase inset can be left empty.
230  In this case the previously used number is also used for the phrase.
231 \end_layout
232
233 \begin_layout Standard
234 It is of course also possible to use combined statements like this:
235 \end_layout
236
237 \begin_layout Standard
238 \begin_inset Flex R-S number
239 status collapsed
240
241 \begin_layout Plain Layout
242 R36/38
243 \end_layout
244
245 \end_inset
246
247  states: 
248 \begin_inset Flex R-S phrase
249 status open
250
251 \begin_layout Plain Layout
252
253 \end_layout
254
255 \end_inset
256
257
258 \end_layout
259
260 \begin_layout Section
261 Safety statements
262 \end_layout
263
264 \begin_layout Standard
265 They are inserted the same way as risk statements:
266 \end_layout
267
268 \begin_layout Standard
269 The risk statement 
270 \begin_inset Flex R-S number
271 status open
272
273 \begin_layout Plain Layout
274 S35
275 \end_layout
276
277 \end_inset
278
279  has the phrase: 
280 \begin_inset Flex R-S phrase
281 status open
282
283 \begin_layout Plain Layout
284
285 \end_layout
286
287 \end_inset
288
289
290 \end_layout
291
292 \begin_layout Standard
293 \begin_inset VSpace bigskip
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Standard
300 Some safety statements require some text.
301  For these statements, you need to use the phrase environments from LyX's
302  environment selection box instead of the inset.
303  The required text is specified as optional argument (inserted via the 
304 \family sans
305 Insert
306 \family default
307  menu):
308 \end_layout
309
310 \begin_layout Standard
311 If something must not be heated above 138
312 \begin_inset space \thinspace{}
313 \end_inset
314
315 °C use 
316 \begin_inset Flex R-S number
317 status open
318
319 \begin_layout Plain Layout
320 S47
321 \end_layout
322
323 \end_inset
324
325  with the optional argument 
326 \begin_inset Quotes eld
327 \end_inset
328
329 138
330 \begin_inset Quotes erd
331 \end_inset
332
333 :
334 \end_layout
335
336 \begin_layout Safety phrase
337 \begin_inset Argument 1
338 status open
339
340 \begin_layout Plain Layout
341 138
342 \end_layout
343
344 \end_inset
345
346 S47
347 \end_layout
348
349 \begin_layout Standard
350 \begin_inset VSpace bigskip
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 Special issues of a certain statements are fully supported.
358  For example for S
359 \begin_inset space \thinspace{}
360 \end_inset
361
362 43 a further sentence must be added if water increases the risk.
363  Using the variant S
364 \begin_inset space \thinspace{}
365 \end_inset
366
367 43.1 adds the sentence, S
368 \begin_inset space \thinspace{}
369 \end_inset
370
371 43.0 disables the sentence.
372 \end_layout
373
374 \begin_layout Standard
375 The statement 
376 \begin_inset Flex R-S number
377 status open
378
379 \begin_layout Plain Layout
380 S43
381 \end_layout
382
383 \end_inset
384
385  for water is:
386 \end_layout
387
388 \begin_layout Safety phrase
389 \begin_inset Argument 1
390 status open
391
392 \begin_layout Plain Layout
393 water
394 \end_layout
395
396 \end_inset
397
398 S43.0
399 \end_layout
400
401 \begin_layout Standard
402 The statement 
403 \begin_inset Flex R-S number
404 status open
405
406 \begin_layout Plain Layout
407 S43
408 \end_layout
409
410 \end_inset
411
412  for sand is:
413 \end_layout
414
415 \begin_layout Safety phrase
416 \begin_inset Argument 1
417 status open
418
419 \begin_layout Plain Layout
420 sand
421 \end_layout
422
423 \end_inset
424
425 S43.1
426 \end_layout
427
428 \begin_layout Section
429 Language issues
430 \end_layout
431
432 \begin_layout Standard
433 The statements are output depending on the language.
434  Currently only the languages
435 \begin_inset Newline newline
436 \end_inset
437
438 Danish, English, French, German, Italian and Spanish
439 \begin_inset Newline newline
440 \end_inset
441
442 are supported.
443 \end_layout
444
445 \begin_layout Standard
446 At 
447 \begin_inset CommandInset href
448 LatexCommand href
449 name "this webpage"
450 target "http://schoolscout24.de/cgi-bin/rsp/rspinput.cgi"
451
452 \end_inset
453
454  you find the official statements for all 23 languages of the EU.
455 \end_layout
456
457 \begin_layout Standard
458 \begin_inset VSpace bigskip
459 \end_inset
460
461
462 \end_layout
463
464 \begin_layout Standard
465 Mixing languages is possible without problems:
466 \end_layout
467
468 \begin_layout Standard
469
470 \lang ngerman
471 Dies ist Sicherheitssatz 
472 \begin_inset Flex R-S number
473 status collapsed
474
475 \begin_layout Plain Layout
476
477 \lang ngerman
478 S15
479 \end_layout
480
481 \end_inset
482
483
484 \begin_inset Flex R-S phrase
485 status open
486
487 \begin_layout Plain Layout
488
489 \lang ngerman
490 S15
491 \end_layout
492
493 \end_inset
494
495
496 \end_layout
497
498 \begin_layout Standard
499 This is safety statement 
500 \begin_inset Flex R-S number
501 status collapsed
502
503 \begin_layout Plain Layout
504 S15
505 \end_layout
506
507 \end_inset
508
509
510 \begin_inset Flex R-S phrase
511 status open
512
513 \begin_layout Plain Layout
514
515 \end_layout
516
517 \end_inset
518
519
520 \end_layout
521
522 \begin_layout Standard
523 \begin_inset Note Greyedout
524 status open
525
526 \begin_layout Plain Layout
527 Note: If the phrase inset is not in the document language, it must not be
528  empty.
529 \end_layout
530
531 \end_inset
532
533
534 \end_layout
535
536 \end_body
537 \end_document