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