]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Hazard_and_Precautionary_Statements.lyx
Fix up 6c20e5db: let PARAGRAPH_GOTO use SCROLL_TOP again
[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 620
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 ,
134  you 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,
187  the inset 
188 \family sans
189 H-P
190 \begin_inset space ~
191 \end_inset
192
193 statement
194 \family default
195  will output the corresponding statement.
196 \end_layout
197
198 \begin_layout Standard
199 The hazard statement 
200 \begin_inset Flex H-P number
201 status open
202
203 \begin_layout Plain Layout
204
205 H200
206 \end_layout
207
208 \end_inset
209
210  has the statement:
211  
212 \begin_inset Flex H-P statement
213 status open
214
215 \begin_layout Plain Layout
216
217 H200
218 \end_layout
219
220 \end_inset
221
222
223 \end_layout
224
225 \begin_layout Standard
226 This is 
227 \begin_inset Flex H-P number
228 status collapsed
229
230 \begin_layout Plain Layout
231
232 H200
233 \end_layout
234
235 \end_inset
236
237 :
238  
239 \begin_inset Flex H-P statement
240 status open
241
242 \begin_layout Plain Layout
243
244 \end_layout
245
246 \end_inset
247
248
249 \end_layout
250
251 \begin_layout Standard
252 As you can see,
253  the statement inset can be left empty.
254  In this case the previously used number is used for the statement.
255 \end_layout
256
257 \begin_layout Standard
258 Precautionary statements are inserted the same way as hazard statements:
259 \end_layout
260
261 \begin_layout Standard
262 The precautionary statement 
263 \begin_inset Flex H-P number
264 status collapsed
265
266 \begin_layout Plain Layout
267
268 P235
269 \end_layout
270
271 \end_inset
272
273  is:
274  
275 \begin_inset Flex H-P statement
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 Statement Alternatives
289 \end_layout
290
291 \begin_layout Standard
292 Some statements allow you to choose between certain alternatives.
293  In these cases you must add a dot and the number of the alternative to the statement number.
294  Some examples:
295 \end_layout
296
297 \begin_layout Description
298 P250.1 leads to:
299  
300 \begin_inset Flex H-P number
301 status open
302
303 \begin_layout Plain Layout
304
305 P250.1
306 \end_layout
307
308 \end_inset
309
310 :
311  
312 \begin_inset Flex H-P statement
313 status open
314
315 \begin_layout Plain Layout
316
317 \end_layout
318
319 \end_inset
320
321
322 \end_layout
323
324 \begin_layout Description
325 P250.2 leads to:
326  
327 \begin_inset Flex H-P number
328 status open
329
330 \begin_layout Plain Layout
331
332 P250.2
333 \end_layout
334
335 \end_inset
336
337 :
338  
339 \begin_inset Flex H-P statement
340 status open
341
342 \begin_layout Plain Layout
343
344 \end_layout
345
346 \end_inset
347
348
349 \end_layout
350
351 \begin_layout Standard
352 The alternative number 
353 \begin_inset Quotes eld
354 \end_inset
355
356 0
357 \begin_inset Quotes erd
358 \end_inset
359
360  refers to the original version as stated in the regulations:
361 \end_layout
362
363 \begin_layout Description
364 P250.0 leads to:
365  
366 \begin_inset Flex H-P number
367 status open
368
369 \begin_layout Plain Layout
370
371 P250.0
372 \end_layout
373
374 \end_inset
375
376 :
377  
378 \begin_inset Flex H-P statement
379 status open
380
381 \begin_layout Plain Layout
382
383 \end_layout
384
385 \end_inset
386
387
388 \end_layout
389
390 \begin_layout Section
391 Required Text
392 \end_layout
393
394 \begin_layout Standard
395 Some statements require text.
396  This is inserted to the optional argument of LyX's 
397 \family sans
398 H-P-Statement
399 \family default
400  inset.
401  The argument is inserted with the menu 
402 \family sans
403 Insert\SpecialChar menuseparator
404 Statement
405 \begin_inset space ~
406 \end_inset
407
408 Text
409 \family default
410 .
411 \end_layout
412
413 \begin_layout Standard
414 In this example the text 
415 \begin_inset Quotes eld
416 \end_inset
417
418 hands
419 \begin_inset Quotes erd
420 \end_inset
421
422  was added to the optional argument:
423 \end_layout
424
425 \begin_layout Standard
426 Statement 
427 \begin_inset Flex H-P number
428 status open
429
430 \begin_layout Plain Layout
431
432 P264
433 \end_layout
434
435 \end_inset
436
437  says:
438  
439 \begin_inset Flex H-P statement
440 status open
441
442 \begin_layout Plain Layout
443
444 \begin_inset Argument 1
445 status open
446
447 \begin_layout Plain Layout
448
449 hands
450 \end_layout
451
452 \end_inset
453
454 P264
455 \end_layout
456
457 \end_inset
458
459
460 \end_layout
461
462 \begin_layout Standard
463 Some statements print text referring to the place on a label.
464  For example:
465 \end_layout
466
467 \begin_layout Standard
468 Statement 
469 \begin_inset Flex H-P number
470 status open
471
472 \begin_layout Plain Layout
473
474 P321
475 \end_layout
476
477 \end_inset
478
479  says:
480  
481 \begin_inset Flex H-P statement
482 status open
483
484 \begin_layout Plain Layout
485
486 \begin_inset Argument 1
487 status open
488
489 \begin_layout Plain Layout
490
491 the left side
492 \end_layout
493
494 \end_inset
495
496 P321
497 \end_layout
498
499 \end_inset
500
501
502 \end_layout
503
504 \begin_layout Standard
505 Where 
506 \begin_inset Quotes eld
507 \end_inset
508
509 the left side
510 \begin_inset Quotes erd
511 \end_inset
512
513  is the input required text.
514 \end_layout
515
516 \begin_layout Standard
517 If you don't have a label use 
518 \begin_inset Quotes eld
519 \end_inset
520
521 nolabel
522 \begin_inset Quotes erd
523 \end_inset
524
525  as 
526 \begin_inset Quotes eld
527 \end_inset
528
529 number
530 \begin_inset Quotes erd
531 \end_inset
532
533  for the alternative to omit the text about the label:
534 \end_layout
535
536 \begin_layout Standard
537 Statement 
538 \begin_inset Flex H-P number
539 status open
540
541 \begin_layout Plain Layout
542
543 P321
544 \end_layout
545
546 \end_inset
547
548  says:
549  
550 \begin_inset Flex H-P statement
551 status open
552
553 \begin_layout Plain Layout
554
555 \begin_inset Argument 1
556 status open
557
558 \begin_layout Plain Layout
559
560 the left side
561 \end_layout
562
563 \end_inset
564
565 P321.nolabel
566 \end_layout
567
568 \end_inset
569
570
571 \end_layout
572
573 \begin_layout Section
574 Language issues
575 \end_layout
576
577 \begin_layout Standard
578 The statements are output depending on the language.
579  Currently only the languages
580 \begin_inset Newline newline
581 \end_inset
582
583 Danish,
584  English,
585  French,
586  German,
587  Italian and Spanish
588 \begin_inset Newline newline
589 \end_inset
590
591 are supported.
592 \end_layout
593
594 \begin_layout Standard
595 At 
596 \begin_inset CommandInset href
597 LatexCommand href
598 name "this webpage"
599 target "http://schoolscout24.de/cgi-bin/keminaco/hppinput.cgi"
600 literal "false"
601
602 \end_inset
603
604  you find the official statements for all 23
605 \begin_inset space ~
606 \end_inset
607
608 languages of the EU.
609 \end_layout
610
611 \begin_layout Standard
612 Mixing languages is possible without problems:
613 \end_layout
614
615 \begin_layout Standard
616
617 \lang ngerman
618 Dies ist H-Satz 
619 \begin_inset Flex H-P number
620 status open
621
622 \begin_layout Plain Layout
623
624 H251
625 \end_layout
626
627 \end_inset
628
629 :
630  
631 \begin_inset Flex H-P statement
632 status open
633
634 \begin_layout Plain Layout
635
636 \end_layout
637
638 \end_inset
639
640
641 \end_layout
642
643 \begin_layout Standard
644 This is hazard statement 
645 \begin_inset Flex H-P number
646 status open
647
648 \begin_layout Plain Layout
649
650 H251
651 \end_layout
652
653 \end_inset
654
655 :
656  
657 \begin_inset Flex H-P statement
658 status open
659
660 \begin_layout Plain Layout
661
662 \end_layout
663
664 \end_inset
665
666
667 \end_layout
668
669 \end_body
670 \end_document