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