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