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