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