]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Hazard_and_Precautionary_Statements.lyx
Fix warning when not using Qt regexps
[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 600
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_sans_osf false
39 \font_typewriter_osf false
40 \font_roman_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 \notefontcolor #0000ff
88 \use_lineno 0
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 \tracking_changes false
105 \postpone_fragile_content false
106 \output_changes false
107 \html_math_output 0
108 \html_css_as_file 0
109 \html_be_strict false
110 \end_header
111
112 \begin_body
113
114 \begin_layout Title
115 Chemical Hazard and Precautionary statements in \SpecialChar LyX
116
117 \end_layout
118
119 \begin_layout Author
120 Uwe Stöhr
121 \end_layout
122
123 \begin_layout Section
124 Introduction
125 \end_layout
126
127 \begin_layout Standard
128 To be able to insert chemical hazard and precautionary statements in \SpecialChar LyX
129 , you
130  need to load the module 
131 \family sans
132 Risk
133 \begin_inset space ~
134 \end_inset
135
136 and
137 \begin_inset space ~
138 \end_inset
139
140 Safety
141 \begin_inset space ~
142 \end_inset
143
144 Statements
145 \family default
146  in the menu 
147 \family sans
148 Document\SpecialChar menuseparator
149 Settings\SpecialChar menuseparator
150 Modules
151 \family default
152 .
153  The module provides 2
154 \begin_inset space ~
155 \end_inset
156
157 insets which are accessible via the menu 
158 \family sans
159 Insert\SpecialChar menuseparator
160 Custom
161 \begin_inset space ~
162 \end_inset
163
164 Insets
165 \family default
166 .
167 \end_layout
168
169 \begin_layout Section
170 Statements
171 \end_layout
172
173 \begin_layout Standard
174 The inset 
175 \family sans
176 H-P
177 \begin_inset space ~
178 \end_inset
179
180 number
181 \family default
182  is used to typeset the number, the inset 
183 \family sans
184 H-P
185 \begin_inset space ~
186 \end_inset
187
188 statement
189 \family default
190  will output the corresponding statement.
191 \end_layout
192
193 \begin_layout Standard
194 The hazard statement 
195 \begin_inset Flex H-P number
196 status open
197
198 \begin_layout Plain Layout
199
200 H200
201 \end_layout
202
203 \end_inset
204
205  has the statement: 
206 \begin_inset Flex H-P statement
207 status open
208
209 \begin_layout Plain Layout
210
211 H200
212 \end_layout
213
214 \end_inset
215
216
217 \end_layout
218
219 \begin_layout Standard
220 This is 
221 \begin_inset Flex H-P number
222 status collapsed
223
224 \begin_layout Plain Layout
225
226 H200
227 \end_layout
228
229 \end_inset
230
231
232 \begin_inset Flex H-P statement
233 status open
234
235 \begin_layout Plain Layout
236
237 \end_layout
238
239 \end_inset
240
241
242 \end_layout
243
244 \begin_layout Standard
245 As you can see, the statement inset can be left empty.
246  In this case the previously used number is used for the statement.
247 \end_layout
248
249 \begin_layout Standard
250 Precautionary statements are inserted the same way as hazard statements:
251 \end_layout
252
253 \begin_layout Standard
254 The precautionary statement 
255 \begin_inset Flex H-P number
256 status collapsed
257
258 \begin_layout Plain Layout
259
260 P235
261 \end_layout
262
263 \end_inset
264
265  is: 
266 \begin_inset Flex H-P statement
267 status open
268
269 \begin_layout Plain Layout
270
271 \end_layout
272
273 \end_inset
274
275
276 \end_layout
277
278 \begin_layout Section
279 Statement Alternatives
280 \end_layout
281
282 \begin_layout Standard
283 Some statements allow you to choose between certain alternatives.
284  In these cases you must add a dot and the number of the alternative to
285  the statement number.
286  Some examples:
287 \end_layout
288
289 \begin_layout Description
290 P210.1 leads to: 
291 \begin_inset Flex H-P number
292 status open
293
294 \begin_layout Plain Layout
295
296 P210.1
297 \end_layout
298
299 \end_inset
300
301
302 \begin_inset Flex H-P statement
303 status open
304
305 \begin_layout Plain Layout
306
307 \end_layout
308
309 \end_inset
310
311
312 \end_layout
313
314 \begin_layout Description
315 P210.2 leads to: 
316 \begin_inset Flex H-P number
317 status open
318
319 \begin_layout Plain Layout
320
321 P210.2
322 \end_layout
323
324 \end_inset
325
326
327 \begin_inset Flex H-P statement
328 status open
329
330 \begin_layout Plain Layout
331
332 \end_layout
333
334 \end_inset
335
336
337 \end_layout
338
339 \begin_layout Standard
340 The alternative number 
341 \begin_inset Quotes eld
342 \end_inset
343
344 0
345 \begin_inset Quotes erd
346 \end_inset
347
348  refers to the original version as stated in the regulations:
349 \end_layout
350
351 \begin_layout Description
352 P210.0 leads to: 
353 \begin_inset Flex H-P number
354 status open
355
356 \begin_layout Plain Layout
357
358 P210.0
359 \end_layout
360
361 \end_inset
362
363
364 \begin_inset Flex H-P statement
365 status open
366
367 \begin_layout Plain Layout
368
369 \end_layout
370
371 \end_inset
372
373
374 \end_layout
375
376 \begin_layout Section
377 Required Text
378 \end_layout
379
380 \begin_layout Standard
381 Some statements require text.
382  This is inserted to the optional argument of LyX's 
383 \family sans
384 H-P-Statement
385 \family default
386  inset.
387  The argument is inserted with the menu 
388 \family sans
389 Insert\SpecialChar menuseparator
390 Statement
391 \begin_inset space ~
392 \end_inset
393
394 Text
395 \family default
396 .
397 \end_layout
398
399 \begin_layout Standard
400 In this example the text 
401 \begin_inset Quotes eld
402 \end_inset
403
404 sunglasses
405 \begin_inset Quotes erd
406 \end_inset
407
408  was added to the optional argument:
409 \end_layout
410
411 \begin_layout Standard
412 Statement 
413 \begin_inset Flex H-P number
414 status open
415
416 \begin_layout Plain Layout
417
418 P280
419 \end_layout
420
421 \end_inset
422
423  says: 
424 \begin_inset Flex H-P statement
425 status open
426
427 \begin_layout Plain Layout
428
429 \begin_inset Argument 1
430 status open
431
432 \begin_layout Plain Layout
433
434 sunglasses
435 \end_layout
436
437 \end_inset
438
439 P280
440 \end_layout
441
442 \end_inset
443
444
445 \end_layout
446
447 \begin_layout Standard
448 Some statements print text referring to the place on a label.
449  For example:
450 \end_layout
451
452 \begin_layout Standard
453 Statement 
454 \begin_inset Flex H-P number
455 status open
456
457 \begin_layout Plain Layout
458
459 P321
460 \end_layout
461
462 \end_inset
463
464  says: 
465 \begin_inset Flex H-P statement
466 status open
467
468 \begin_layout Plain Layout
469
470 \begin_inset Argument 1
471 status open
472
473 \begin_layout Plain Layout
474
475 the left side
476 \end_layout
477
478 \end_inset
479
480 P321
481 \end_layout
482
483 \end_inset
484
485
486 \end_layout
487
488 \begin_layout Standard
489 Where 
490 \begin_inset Quotes eld
491 \end_inset
492
493 the left side
494 \begin_inset Quotes erd
495 \end_inset
496
497  is the input required text.
498 \end_layout
499
500 \begin_layout Standard
501 If you don't have a label use 
502 \begin_inset Quotes eld
503 \end_inset
504
505 nolabel
506 \begin_inset Quotes erd
507 \end_inset
508
509  as 
510 \begin_inset Quotes eld
511 \end_inset
512
513 number
514 \begin_inset Quotes erd
515 \end_inset
516
517  for the alternative to omit the text about the label:
518 \end_layout
519
520 \begin_layout Standard
521 Statement 
522 \begin_inset Flex H-P number
523 status open
524
525 \begin_layout Plain Layout
526
527 P321
528 \end_layout
529
530 \end_inset
531
532  says: 
533 \begin_inset Flex H-P statement
534 status open
535
536 \begin_layout Plain Layout
537
538 \begin_inset Argument 1
539 status open
540
541 \begin_layout Plain Layout
542
543 the left side
544 \end_layout
545
546 \end_inset
547
548 P321.nolabel
549 \end_layout
550
551 \end_inset
552
553
554 \end_layout
555
556 \begin_layout Section
557 Language issues
558 \end_layout
559
560 \begin_layout Standard
561 The statements are output depending on the language.
562  Currently only the languages
563 \begin_inset Newline newline
564 \end_inset
565
566 Danish, English, French, German, Italian and Spanish
567 \begin_inset Newline newline
568 \end_inset
569
570 are supported.
571 \end_layout
572
573 \begin_layout Standard
574 At 
575 \begin_inset CommandInset href
576 LatexCommand href
577 name "this webpage"
578 target "http://schoolscout24.de/cgi-bin/keminaco/hppinput.cgi"
579 literal "false"
580
581 \end_inset
582
583  you find the official statements for all 23
584 \begin_inset space ~
585 \end_inset
586
587 languages of the EU.
588 \end_layout
589
590 \begin_layout Standard
591 Mixing languages is possible without problems:
592 \end_layout
593
594 \begin_layout Standard
595
596 \lang ngerman
597 Dies ist H-Satz 
598 \begin_inset Flex H-P number
599 status open
600
601 \begin_layout Plain Layout
602
603 H251
604 \end_layout
605
606 \end_inset
607
608
609 \begin_inset Flex H-P statement
610 status open
611
612 \begin_layout Plain Layout
613
614 \end_layout
615
616 \end_inset
617
618
619 \end_layout
620
621 \begin_layout Standard
622 This is hazard statement 
623 \begin_inset Flex H-P number
624 status open
625
626 \begin_layout Plain Layout
627
628 H251
629 \end_layout
630
631 \end_inset
632
633
634 \begin_inset Flex H-P statement
635 status open
636
637 \begin_layout Plain Layout
638
639 \end_layout
640
641 \end_inset
642
643
644 \end_layout
645
646 \end_body
647 \end_document