]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Hazard_and_Precautionary_Statements.lyx
Amend b8502a3ea2735c4
[lyx.git] / lib / examples / Modules / Hazard_and_Precautionary_Statements.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 608
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
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 % Added by lyx2lyx
19 \setlength{\parskip}{\medskipamount}
20 \setlength{\parindent}{0pt}
21 \end_preamble
22 \use_default_options true
23 \begin_modules
24 hpstatement
25 \end_modules
26 \maintain_unincluded_children no
27 \language english
28 \language_package default
29 \inputencoding utf8
30 \fontencoding auto
31 \font_roman "default" "default"
32 \font_sans "default" "default"
33 \font_typewriter "default" "default"
34 \font_math "auto" "auto"
35 \font_default_family default
36 \use_non_tex_fonts false
37 \font_sc false
38 \font_roman_osf false
39 \font_sans_osf false
40 \font_typewriter_osf false
41 \font_sf_scale 100 100
42 \font_tt_scale 100 100
43 \use_microtype false
44 \use_dash_ligatures false
45 \graphics default
46 \default_output_format default
47 \output_sync 0
48 \bibtex_command default
49 \index_command default
50 \paperfontsize default
51 \spacing single
52 \use_hyperref true
53 \pdf_title "Chemical Hazard and Precautionary statements in LyX"
54 \pdf_author "Uwe Stöhr"
55 \pdf_bookmarks true
56 \pdf_bookmarksnumbered true
57 \pdf_bookmarksopen false
58 \pdf_bookmarksopenlevel 1
59 \pdf_breaklinks false
60 \pdf_pdfborder false
61 \pdf_colorlinks true
62 \pdf_backref false
63 \pdf_pdfusetitle false
64 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
65 \papersize default
66 \use_geometry false
67 \use_package amsmath 1
68 \use_package amssymb 1
69 \use_package cancel 1
70 \use_package esint 1
71 \use_package mathdots 1
72 \use_package mathtools 1
73 \use_package mhchem 1
74 \use_package stackrel 1
75 \use_package stmaryrd 1
76 \use_package undertilde 1
77 \cite_engine basic
78 \cite_engine_type default
79 \biblio_style plain
80 \use_bibtopic false
81 \use_indices false
82 \paperorientation portrait
83 \suppress_date true
84 \justification true
85 \use_refstyle 1
86 \use_minted 0
87 \use_lineno 0
88 \notefontcolor #0000ff
89 \index Index
90 \shortcut idx
91 \color #008000
92 \end_index
93 \secnumdepth 3
94 \tocdepth 3
95 \paragraph_separation indent
96 \paragraph_indentation default
97 \is_math_indent 0
98 \math_numbering_side default
99 \quotes_style english
100 \dynamic_quotes 0
101 \papercolumns 1
102 \papersides 1
103 \paperpagestyle default
104 \tablestyle default
105 \tracking_changes false
106 \output_changes false
107 \change_bars false
108 \postpone_fragile_content false
109 \html_math_output 0
110 \html_css_as_file 0
111 \html_be_strict false
112 \docbook_table_output 0
113 \docbook_mathml_prefix 1
114 \end_header
115
116 \begin_body
117
118 \begin_layout Title
119 Chemical Hazard and Precautionary statements in \SpecialChar LyX
120
121 \end_layout
122
123 \begin_layout Author
124 Uwe Stöhr
125 \end_layout
126
127 \begin_layout Section
128 Introduction
129 \end_layout
130
131 \begin_layout Standard
132 To be able to insert chemical hazard and precautionary statements in \SpecialChar LyX
133 , you
134  need to load the module 
135 \family sans
136 Risk
137 \begin_inset space ~
138 \end_inset
139
140 and
141 \begin_inset space ~
142 \end_inset
143
144 Safety
145 \begin_inset space ~
146 \end_inset
147
148 Statements
149 \family default
150  in the menu 
151 \family sans
152 Document\SpecialChar menuseparator
153 Settings\SpecialChar menuseparator
154 Modules
155 \family default
156 .
157  The module provides 2
158 \begin_inset space ~
159 \end_inset
160
161 insets which are accessible via the menu 
162 \family sans
163 Insert\SpecialChar menuseparator
164 Custom
165 \begin_inset space ~
166 \end_inset
167
168 Insets
169 \family default
170 .
171 \end_layout
172
173 \begin_layout Section
174 Statements
175 \end_layout
176
177 \begin_layout Standard
178 The inset 
179 \family sans
180 H-P
181 \begin_inset space ~
182 \end_inset
183
184 number
185 \family default
186  is used to typeset the number, the inset 
187 \family sans
188 H-P
189 \begin_inset space ~
190 \end_inset
191
192 statement
193 \family default
194  will output the corresponding statement.
195 \end_layout
196
197 \begin_layout Standard
198 The hazard statement 
199 \begin_inset Flex H-P number
200 status open
201
202 \begin_layout Plain Layout
203
204 H200
205 \end_layout
206
207 \end_inset
208
209  has the statement: 
210 \begin_inset Flex H-P statement
211 status open
212
213 \begin_layout Plain Layout
214
215 H200
216 \end_layout
217
218 \end_inset
219
220
221 \end_layout
222
223 \begin_layout Standard
224 This is 
225 \begin_inset Flex H-P number
226 status collapsed
227
228 \begin_layout Plain Layout
229
230 H200
231 \end_layout
232
233 \end_inset
234
235
236 \begin_inset Flex H-P statement
237 status open
238
239 \begin_layout Plain Layout
240
241 \end_layout
242
243 \end_inset
244
245
246 \end_layout
247
248 \begin_layout Standard
249 As you can see, the statement inset can be left empty.
250  In this case the previously used number is used for the statement.
251 \end_layout
252
253 \begin_layout Standard
254 Precautionary statements are inserted the same way as hazard statements:
255 \end_layout
256
257 \begin_layout Standard
258 The precautionary statement 
259 \begin_inset Flex H-P number
260 status collapsed
261
262 \begin_layout Plain Layout
263
264 P235
265 \end_layout
266
267 \end_inset
268
269  is: 
270 \begin_inset Flex H-P statement
271 status open
272
273 \begin_layout Plain Layout
274
275 \end_layout
276
277 \end_inset
278
279
280 \end_layout
281
282 \begin_layout Section
283 Statement Alternatives
284 \end_layout
285
286 \begin_layout Standard
287 Some statements allow you to choose between certain alternatives.
288  In these cases you must add a dot and the number of the alternative to
289  the statement number.
290  Some examples:
291 \end_layout
292
293 \begin_layout Description
294 P250.1 leads to: 
295 \begin_inset Flex H-P number
296 status open
297
298 \begin_layout Plain Layout
299
300 P250.1
301 \end_layout
302
303 \end_inset
304
305
306 \begin_inset Flex H-P statement
307 status open
308
309 \begin_layout Plain Layout
310
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Description
319 P250.2 leads to: 
320 \begin_inset Flex H-P number
321 status open
322
323 \begin_layout Plain Layout
324
325 P250.2
326 \end_layout
327
328 \end_inset
329
330
331 \begin_inset Flex H-P statement
332 status open
333
334 \begin_layout Plain Layout
335
336 \end_layout
337
338 \end_inset
339
340
341 \end_layout
342
343 \begin_layout Standard
344 The alternative number 
345 \begin_inset Quotes eld
346 \end_inset
347
348 0
349 \begin_inset Quotes erd
350 \end_inset
351
352  refers to the original version as stated in the regulations:
353 \end_layout
354
355 \begin_layout Description
356 P250.0 leads to: 
357 \begin_inset Flex H-P number
358 status open
359
360 \begin_layout Plain Layout
361
362 P250.0
363 \end_layout
364
365 \end_inset
366
367
368 \begin_inset Flex H-P statement
369 status open
370
371 \begin_layout Plain Layout
372
373 \end_layout
374
375 \end_inset
376
377
378 \end_layout
379
380 \begin_layout Section
381 Required Text
382 \end_layout
383
384 \begin_layout Standard
385 Some statements require text.
386  This is inserted to the optional argument of LyX's 
387 \family sans
388 H-P-Statement
389 \family default
390  inset.
391  The argument is inserted with the menu 
392 \family sans
393 Insert\SpecialChar menuseparator
394 Statement
395 \begin_inset space ~
396 \end_inset
397
398 Text
399 \family default
400 .
401 \end_layout
402
403 \begin_layout Standard
404 In this example the text 
405 \begin_inset Quotes eld
406 \end_inset
407
408 hands
409 \begin_inset Quotes erd
410 \end_inset
411
412  was added to the optional argument:
413 \end_layout
414
415 \begin_layout Standard
416 Statement 
417 \begin_inset Flex H-P number
418 status open
419
420 \begin_layout Plain Layout
421
422 P264
423 \end_layout
424
425 \end_inset
426
427  says: 
428 \begin_inset Flex H-P statement
429 status open
430
431 \begin_layout Plain Layout
432
433 \begin_inset Argument 1
434 status open
435
436 \begin_layout Plain Layout
437
438 hands
439 \end_layout
440
441 \end_inset
442
443 P264
444 \end_layout
445
446 \end_inset
447
448
449 \end_layout
450
451 \begin_layout Standard
452 Some statements print text referring to the place on a label.
453  For example:
454 \end_layout
455
456 \begin_layout Standard
457 Statement 
458 \begin_inset Flex H-P number
459 status open
460
461 \begin_layout Plain Layout
462
463 P321
464 \end_layout
465
466 \end_inset
467
468  says: 
469 \begin_inset Flex H-P statement
470 status open
471
472 \begin_layout Plain Layout
473
474 \begin_inset Argument 1
475 status open
476
477 \begin_layout Plain Layout
478
479 the left side
480 \end_layout
481
482 \end_inset
483
484 P321
485 \end_layout
486
487 \end_inset
488
489
490 \end_layout
491
492 \begin_layout Standard
493 Where 
494 \begin_inset Quotes eld
495 \end_inset
496
497 the left side
498 \begin_inset Quotes erd
499 \end_inset
500
501  is the input required text.
502 \end_layout
503
504 \begin_layout Standard
505 If you don't have a label use 
506 \begin_inset Quotes eld
507 \end_inset
508
509 nolabel
510 \begin_inset Quotes erd
511 \end_inset
512
513  as 
514 \begin_inset Quotes eld
515 \end_inset
516
517 number
518 \begin_inset Quotes erd
519 \end_inset
520
521  for the alternative to omit the text about the label:
522 \end_layout
523
524 \begin_layout Standard
525 Statement 
526 \begin_inset Flex H-P number
527 status open
528
529 \begin_layout Plain Layout
530
531 P321
532 \end_layout
533
534 \end_inset
535
536  says: 
537 \begin_inset Flex H-P statement
538 status open
539
540 \begin_layout Plain Layout
541
542 \begin_inset Argument 1
543 status open
544
545 \begin_layout Plain Layout
546
547 the left side
548 \end_layout
549
550 \end_inset
551
552 P321.nolabel
553 \end_layout
554
555 \end_inset
556
557
558 \end_layout
559
560 \begin_layout Section
561 Language issues
562 \end_layout
563
564 \begin_layout Standard
565 The statements are output depending on the language.
566  Currently only the languages
567 \begin_inset Newline newline
568 \end_inset
569
570 Danish, English, French, German, Italian and Spanish
571 \begin_inset Newline newline
572 \end_inset
573
574 are supported.
575 \end_layout
576
577 \begin_layout Standard
578 At 
579 \begin_inset CommandInset href
580 LatexCommand href
581 name "this webpage"
582 target "http://schoolscout24.de/cgi-bin/keminaco/hppinput.cgi"
583 literal "false"
584
585 \end_inset
586
587  you find the official statements for all 23
588 \begin_inset space ~
589 \end_inset
590
591 languages of the EU.
592 \end_layout
593
594 \begin_layout Standard
595 Mixing languages is possible without problems:
596 \end_layout
597
598 \begin_layout Standard
599
600 \lang ngerman
601 Dies ist H-Satz 
602 \begin_inset Flex H-P number
603 status open
604
605 \begin_layout Plain Layout
606
607 H251
608 \end_layout
609
610 \end_inset
611
612
613 \begin_inset Flex H-P statement
614 status open
615
616 \begin_layout Plain Layout
617
618 \end_layout
619
620 \end_inset
621
622
623 \end_layout
624
625 \begin_layout Standard
626 This is hazard statement 
627 \begin_inset Flex H-P number
628 status open
629
630 \begin_layout Plain Layout
631
632 H251
633 \end_layout
634
635 \end_inset
636
637
638 \begin_inset Flex H-P statement
639 status open
640
641 \begin_layout Plain Layout
642
643 \end_layout
644
645 \end_inset
646
647
648 \end_layout
649
650 \end_body
651 \end_document