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