summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/chemmacros/ghsystem_en.tex
blob: e96adeea5415e753d7edc335191e03da45bbb038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
% arara: xelatex
% !arara: biber
% !arara: xelatex
% !arara: xelatex
\documentclass[DIV11,toc=index,toc=bib]{cnpkgdoc}
\docsetup{
  pkg      = {[greek=newtx]chemmacros} ,
  language = en,
  title    = the \Chemmacros\ bundle,
  subtitle = {
    packages \Chemmacros\ (v\csname chemmacros@version\endcsname),
    \Chemformula\ (v\csname chemformula@version\endcsname),
    \Ghsystem\ (v\csname ghsystem@version\endcsname) and
    \Chemgreek\ (v\csname chemgreek@version\endcsname)\\[2ex]
    {\Large documentation for the \Ghsystem\ package}},
  modules  = true,
  code-box = {skipabove=1ex,skipbelow=1ex},
  label    = {},
  name     = ghsystem ,
  url      = https://bitbucket.org/cgnieder/chemmacros/
}
\usepackage{booktabs,cancel}
\usepackage{fontspec}
\usepackage[oldstyle,proportional]{libertine}
\usepackage[libertine]{newtxmath}
\usepackage{libertinehologopatch}
\setmonofont[Scale=MatchLowercase]{Bitstream Vera Sans Mono}

\cnpkgusecolorscheme{friendly}
\renewcommand*\othersectionlevelsformat[3]{%
  \textcolor{main}{#3\autodot}\enskip}
\renewcommand*\partformat{%
  \textcolor{main}{\partname~\thepart\autodot}}

\usepackage{fnpct}
\usepackage[biblatex]{embrac}
\ChangeEmph{[}[,.02em]{]}[.055em,-.08em]
\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em]

\pagestyle{headings}

\usepackage[accsupp]{acro}
\acsetup{
  long-format=\scshape,
  short-format=\scshape
}
\DeclareAcronym{ghs}{
  short     = ghs ,
  long      = Globally Harmonized System of Classification and Labelling of
    Chemicals ,
  pdfstring = GHS ,
  accsupp   = GHS
}
\DeclareAcronym{eu}{
  short     = eu ,
  long      = European Union ,
  pdfstring = EU ,
  accsupp   = EU ,
}
\DeclareAcronym{iupac}{
  short     = iupac ,
  long      = International Union of Pure and Applied Chemistry ,
  pdfstring = IUPAC ,
  accsupp   = IUPAC
}
\DeclareAcronym{UN}{
  short     = un ,
  long      = United Nations ,
  pdfstring = UN ,
  accsupp   = UN
}
\DeclareAcronym{dvi}{
  short     = dvi ,
  long      = device independent file format ,
  pdfstring = DVI ,
  accsupp   = DVO
}
\DeclareAcronym{pdf}{
  short     = pdf ,
  long      = portable document file ,
  pdfstring = PDF ,
  accsupp   = PDF
}

\chemsetup{
  option/synchronize ,
  chemformula/font-spec={[Numbers=Lining]Linux Libertine O}
}
\colorlet{chemformula}{darkgray}

\sisetup{
  detect-mode=false,
  mode=text,
  text-rm=\addfontfeatures{Numbers={Proportional,Lining}}
}

\usepackage{filecontents}

\begin{filecontents*}{\jobname.ist}
 preamble "\\begin{theindex}\n Section titles are indicated \\textbf{bold},
   packages \\textsf{sans serif}, commands \\code{\\textbackslash\\textcolor{code}{brown}},
   options \\textcolor{key}{\\code{yellow}} and modules (only \\chemmacros)
   \\textcolor{module}{\\code{blue}}.\\newline\n\n"
 heading_prefix "{\\bfseries "
 heading_suffix "\\hfil}\\nopagebreak\n"
 headings_flag  1
 delim_0 "\\dotfill\\hyperpage{"
 delim_1 "\\dotfill\\hyperpage{"
 delim_2 "\\dotfill\\hyperpage{"
 delim_r "}\\textendash\\hyperpage{"
 delim_t "}"
 suffix_2p "\\nohyperpage{\\,f.}"
 suffix_3p "\\nohyperpage{\\,ff.}"
\end{filecontents*}

\usepackage[backend=biber,style=alphabetic,maxbibnames=20]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents*}{\jobname.bib}
@book{iupac:greenbook,
  author    = {E. Richard Cohan and Tomislav Cvita\v{s} and Jeremy G. Frey and
    Bertil Holmström and Kozo Kuchitsu and Roberto Marquardt and Ian Mills and
    Franco Pavese and Martin Quack and Jürgen Stohner and Herbert L. Strauss and
    Michio Takami and Anders J Thor},
  title     = {“Quantities, Symbols and Units in Physical Chemistry”, \acs{iupac}
    Green Book},
  edition   = {3rd Edition. 2nd Printing},
  year      = {2008},
  publisher = {\acs{iupac} \&\ RSC Publishing, Cambridge}
}
@book{iupac:redbook,
  author    = {Neil G. Connelly and Ture Damhus and Richard M. Hartshorn and
    Alan T. Hutton},
  title     = {“Nomenclature of Inorganic Chemistry”, \acs{iupac} Red Book},
  year      = {2005},
  publisher = { \acs{iupac} \&\ RSC Publishing, Cambridge},
  isbn      = {0-85404-438-8}
}
@misc{eu:ghsystem_regulation,
  author   = {{The European Parliament and The Council of the European Union}},
  title    = {Regulation (EC) No 1272/2008 of the European Parliament and of the Council},
  subtitle = {on classification, labelling and packaging of substances and mixtures,
    amending and repealing Directives 67/548/EEC and 1999/45/EC, and amending
    Regulation (EC) No 1907/2006},
  journal  = {Official Journal of the European Union},
  date     = {2008-12-16}
}
@online{unece:ghsystem_implementation,
  author   = {United Nations Economic Commission for Europe},
  title    = {GHS Implementation},
  url      = {http://www.unece.org/trans/danger/publi/ghs/implementation_e.html},
  urldate  = {2012-03-20},
  date     = {2012-03-20}
}
\end{filecontents*}

\DeclareInstance{xfrac}{chemformula-text-frac}{text}
  {
    scale-factor        = 1 ,
    denominator-bot-sep = -.2ex ,
    denominator-format  = \scriptsize #1 ,
    numerator-top-sep   = -.2ex ,
    numerator-format    = \scriptsize #1 ,
    slash-right-kern    = .05em ,
    slash-left-kern     = .05em
  }

\usetikzlibrary{calc,positioning,decorations.pathmorphing,patterns}

\pgfdeclaredecoration{penciline}{initial}{
  \state{initial}[
    width=+\pgfdecoratedinputsegmentremainingdistance,
    auto corner on length=1mm
  ]{
    \pgfpathcurveto%
      {% From
        \pgfqpoint
          {\pgfdecoratedinputsegmentremainingdistance}
          {\pgfdecorationsegmentamplitude}
      }
      {%  Control 1
        \pgfmathrand
        \pgfpointadd
          {\pgfqpoint{\pgfdecoratedinputsegmentremainingdistance}{0pt}}
          {%
            \pgfqpoint
              {-\pgfdecorationsegmentaspect\pgfdecoratedinputsegmentremainingdistance}%
              {\pgfmathresult\pgfdecorationsegmentamplitude}
          }
      }
      {%TO 
        \pgfpointadd
          {\pgfpointdecoratedinputsegmentlast}
          {\pgfpoint{1pt}{1pt}}
      }
  }
  \state{final}{}
}
\tikzset{pencil/.style={decorate,decoration=penciline}}

\TitlePicture{%
 \ch[font-spec={Augie}]{
   2 "\OX{o1,\ox{0,Na}}" + "\OX{r1,\ox{0,Cl}}" {}2
     ->
   2 "\OX{o2,\ox{+1,Na}}" {}+ + 2 "\OX{r2,\ox{-1,Cl}}" {}-
 }
 \redox(o1,o2)[red,pencil,-cf]{\small\ch[font-spec={[Color=red]Augie},math-space=.3em]{$-$ 2 e-}}
 \redox(r1,r2)[blue,pencil,-cf][-1]{\small\ch[font-spec={[Color=blue]Augie},math-space=.3em]{$+$ 2 e-}}}

\addcmds{
  a, abinitio, AddRxnDesc, anti, aq, aqi,
  b, ba, bond, bottomrule, bridge,
  cancel, cd, cdot, ce, cee, celsius, centering, changechemgreeksymbol,
    chemabove, Chemalpha, Chembeta, Chemgamma, ChemGamma, Chemdelta,
    ChemDelta, chemfig, chemname, Chemomega, Chemphi, ChemPhi, chemsetup, cip,
    cis, ch, clap, cnsetup, CNMR, color, cstack,
    cstsetup,
  d, D, data, DeclareChemArrow, DeclareChemBond, DeclareChemBondAlias,
    DeclareChemIUPAC, DeclareChemLatin, DeclareChemNMR, DeclareChemParticle,
    DeclareChemPhase, DeclareChemReaction, DeclareChemState, DeclareInstance,
    DeclareSIUnit, definecolor, delm, delp, Delta, Dfi, draw,
  E, el, electronvolt, ElPot, endo, Enthalpy, enthalpy, Entropy,
  footnotesize, fmch, fpch, fscrm, fscrp,
  g, gas, ghs, ghslistall, ghspic, Gibbs, glqq, gram, grqq,
  H, hapto, HNMR, Helmholtz, hertz, hspace,
  includegraphics, insitu, intertext, invacuo, iupac, IUPAC,
  J, joule,
  Ka, Kb, kilo, Kw,
  L, latin, lewis, Lewis, Lfi, listofreactions, lqd, ltn,
  mch, mega, meta, metre, mhName, midrule, milli, mmHg, mole,
  N, nano, nicefrac, newchemgreekmapping, newman, NMR, Nu, Nuc, num, numrange,
  O, ominus, orbital, ortho, oplus, ox, OX,
  p, P, para, pch, per, percent, pgfarrowsdeclarealias, pgfarrowsrenewalias,
    pH, phase, phi, Phi, photon, pKa, pKb, pOH, pos, positron, Pot, prt,
  R, Rad, redox, RenewChemArrow, RenewChemBond, RenewChemIUPAC,
    RenewChemLatin, RenewChemNMR, RenewChemParticle, RenewChemPhase,
    RenewChemState, renewtagform, rightarrow,
  S, Sf, sample, scriptscriptstyle, scrm, scrp, second,
    selectchemgreekmapping, setatomsep, setbondoffset, setchemformula, sfrac,
    shorthandoff, ShowChemArrow, ShowChemBond, si, SI, sisetup, sld, Sod,
    square, State, subsection,
  textcolor, textendash, textsuperscript, tiny, toprule, trans,
  upbeta, upeta, upgamma, upphi, upPhi, Upphi,
  val, volt, vphantom, vspave,
  w, xspace, Z
}

\usepackage{imakeidx}
\indexsetup{othercode=\footnotesize}
\makeindex[columns=3,intoc,options={-sl \jobname.ist}]

\newcommand*\Chemmacros{%
  {%
    \fontspec[Color=main,Scale=1.2]
      {Linux Biolinum Shadow O}%
    chemmacros%
  }%
}
\providecommand*\chemmacros{{\scshape\textcolor{main}{chemmacros}}\xspace}

\newcommand*\Chemformula{%
  {%
    \fontspec[Color=main,Scale=1.2]
      {Linux Biolinum Shadow O}%
      chemformula%
  }%
}
\providecommand*\chemformula{{\scshape\textcolor{main}{chemformula}}\xspace}

\newcommand*\Ghsystem{%
  {%
    \fontspec[Color=main,Scale=1.2]
      {Linux Biolinum Shadow O}%
      ghsystem%
  }%
}
\providecommand*\ghsystem{{\scshape\textcolor{main}{ghsystem}}\xspace}

\newcommand*\Chemgreek{%
  {%
    \fontspec[Color=main,Scale=1.2]
      {Linux Biolinum Shadow O}%
      chemgreek%
  }%
}
\providecommand*\chemgreek{{\scshape\textcolor{main}{chemgreek}}\xspace}

\renewcommand*\AmS{\hologo{AmS}}

\newcommand*\tablehead[1]{\textrm{\bfseries#1}}

\begin{document}

\section{Introduction}
As a chemist you are probably aware of the fact that the \acl{UN} have
developed the \ac{ghs} as a global replacement for the various different
systems in different countries.  While it has not been implemented by all
countries yet~\cite{unece:ghsystem_implementation}, it is only a matter of
time.

The package \ghsystem now enables you to typeset all the hazard and
precautionary statements and pictograms in a very easy way.  The statements
are taken from \acs{eu} regulation 1272/2008~\cite{eu:ghsystem_regulation}.

\section{Licence and Requirements}
Permission is granted to copy, distribute and/or modify this software under
the terms of the \LaTeX\ project public license (lppl) version 1.3 or later
(\url{http://www.latex-project.org/lppl.txt}).  The package has the status
``maintained.''

\ghsystem\ loads the following packages:
\paket*{expl3}\footnote{\CTANurl{l3kernel}}, \paket*{xparse} and
\paket*{l3keys2e}\footnote{\CTANurl{l3packages}}, \paket*{translations} (from
the \paket{exsheets} bundle), \paket{siunitx}, \paket{graphicx},
\paket{longtable} and \paket{ifpdf}.

\section{Setup}
The simplest way is to load \chemmacros\ which loads \ghsystem\ implicitily.
All of \ghsystem's options belong to the module
\textcolor{module}{\code{ghsystem}}.  This means they can be setup with
\begin{beispiel}[code only]
 \chemsetup[ghsystem]{<options>} or
 \chemsetup{ghsystem/<option1>,ghsystem/<option2>}
\end{beispiel}
\sinceversion{4.0}However, \ghsystem\ can be loaded as a standalone package
and thus provides its own setup command:
\begin{beschreibung}
  \Befehl{ghssystem}{<options>}
\end{beschreibung}

\section{Get Hazard and Precautionary Statements}\secidx{Hazard and Precautionary Statements}
\subsection{Simple Statements}\secidx[get statements]{GHSYSTEM}
The general usage is simple: you use the command
\begin{beschreibung}
 \Befehl{ghs}*[<options>]{<type>}\ma{<number>}
\end{beschreibung}
There are three types available: \code{h}, \code{euh} and \code{p}.  The
\ma{<type>} argument is case insensitive, so just type them in as you like.
\begin{beispiel}
 \ghs{h}{200} \\
 \ghs{H}{224} \\
 \ghs{euh}{001} \\
 \ghs{Euh}{202} \\
 \ghs{p}{201}
\end{beispiel}

The starred version hides the identifier and only gives the statement.  If you
want to hide the statement itself instead you can use the option:
\begin{beschreibung}
 \Option{hide}{\default{true}|false}\Default{false}
   Hide the statement.
\end{beschreibung}

There is an option to customize the output, too.
\begin{beschreibung}
 \Option{space}{<space command>}\Default{}
   Space between \code{<type>} and \code{<number>}.
\end{beschreibung}
\begin{beispiel}
 \ghs{h}{200} \\
 \ghs[space=\,]{h}{200} \\
 \ghs*{h}{200} \\
 \ghs[hide]{h}{200}
\end{beispiel}

\subsection{Statements with Placeholders}\secidx[statements with placeholders]{GHSYSTEM}
Some of the statements contain placeholders.  They can be one of the
following:
\begin{itemize}
 \item \textit{\textless state route of exposure if it is conclusively proven that
 no other routes of exposure cause the hazard\textgreater}
 \item \textit{\textless state specific effect if known\textgreater}
 \item \textit{\textless or state all organs affected, if known\textgreater}
 \item \textit{\textless name of sensitising substance\textgreater}
\end{itemize}

Except the last one which needs to be filled in, they are hidden per default.
They can be made visible with the option
\begin{beschreibung}
 \Option{fill-in}{\default{true}|false}\Default{false}
   Show placeholders.
\end{beschreibung}
\begin{beispiel}[below]
 \ghs{h}{340} \\
 \ghs[fill-in]{h}{340} \\
 \ghs{h}{360} \\
 \ghs[fill-in]{h}{360} \\
 \ghs{h}{370} \\
 \ghs[fill-in]{h}{370} \\
 \ghs{euh}{208} \\
 \ghs[fill-in]{euh}{208}
\end{beispiel}

These placeholders can be replaced with one of these options:
\begin{beschreibung}
 \Option{exposure}{<text>}\Default{}
   exposure placeholder
 \Option{effect}{<text>}\Default{}
   effect placeholder
 \Option{organs}{<text>}\Default{}
   organ placeholder
 \Option{substance}{<text>}\Default{}
   substance placeholder
\end{beschreibung}
\begin{beispiel}
 \ghs[exposure=This is how you get exposed.]{h}{340} \\
 \ghs[effect=These are the effects.]{h}{360} \\
 \ghs[organs=to this organ]{h}{370} \\
 \ghs[substance=substance]{euh}{208}
\end{beispiel}

\subsection{Statements with Gaps}\secidx[statements with gaps]{GHSYSTEM}
Some of the statements have gaps that can be filled.
\begin{beispiel}
 \ghs{p}{301} \\
 \ghs{p}{401} \\
 \ghs{p}{411} \\
 \ghs{p}{413}
\end{beispiel}

These gaps can be filled using these options:
\begin{beschreibung}
 \Option{text}{<text>}
 \Option{dots}{<text>}
 \Option{C-temperature}{<num>}
 \Option{F-temperature}{<num>}
 \Option{kg-mass}{<num>}
 \Option{lbs-mass}{<num>}
\end{beschreibung}
\begin{beispiel}
 \ghs[text=contact physician!]{p}{301} \\
 \ghs[dots=here]{p}{401} \\
 \ghs[C-temperature=50, F-temperature=122]{p}{411} \\
 \ghs[kg-mass=5.0, lbs-mass=11, C-temperature=50, F-temperature=122]{p}{413}
\end{beispiel}

\subsection{Combined Statements}\secidx[combined statements]{GHSYSTEM}
There are some combinations of statements.  They are input with a \code{+}
between the numbers:
\begin{beispiel}[below]
 \ghs{p}{235+410} \\
 \ghs{p}{301+330+331}
\end{beispiel}

Note that you can only get combinations that officially exist.  \emph{You
  can't combine freely}.
\secidx*{Hazard and Precautionary Statements}

\section{Pictograms}\secidx{Pictograms}
\subsection{The Pictures}
The \ac{ghs} defines a number of pictograms:

\ghspic{explos} \ghspic{flame} \ghspic{flame-O} \ghspic{bottle} \ghspic{acid}
\ghspic{skull} \ghspic{exclam} \ghspic{health} \ghspic{aqpol}

The command
\begin{beschreibung}
 \Befehl{ghspic}[<options>]{<name>}
\end{beschreibung}
loads them.  Table~\ref{tab:ghs_pictograms} shows all available pictograms and
their names.  To be more precise: it shows the names to use with the
\cmd{ghspic} command.  The file names are
\lstinline=ghsystem_<name>.<filetype>= where \code{<filetype>} is \code{eps},
\code{pdf}, \code{jpg} or \code{png}, see also
section~\ref{ssec:picture_type}.
\begin{beispiel}
 \ghspic{skull}
\end{beispiel}

If you don't like the default size you can change it using this option:
\begin{beschreibung}
 \Option{scale}{<factor>}\Default{1}
   Scales the pictogram.
\end{beschreibung}
The pictures are actually quite large.  The default setting scales them by a
factor
of $\frac{1}{20}$.
\begin{beispiel}
 \ghspic[scale=2]{skull}
\end{beispiel}

If you want to use some specific \lstinline=\includegraphics= options, \eg, if
you want to rotate the pictogram for some reason, use this option:
\begin{beschreibung}
 \Option{includegraphics}{\{<includegraphics keyvals>\}}
\end{beschreibung}
\begin{beispiel}
 \ghspic[includegraphics={angle=90}]{skull}
\end{beispiel}

\begin{longtable}{>{\ttfamily}ll>{\ttfamily}ll}
    \caption{All available \ac{ghs} pictograms.\label{tab:ghs_pictograms}} \\
  \toprule
    \normalfont\bfseries name & \bfseries pictogram & \normalfont\bfseries name & \bfseries pictogram \\
  \midrule\endfirsthead
  \toprule
    \normalfont\bfseries name & \bfseries pictogram & \normalfont\bfseries name & \bfseries pictogram \\
  \midrule\endhead
  \bottomrule\endfoot
  explos              & \ghspic{explos}          & explos-1            & \ghspic{explos-1} \\
  explos-2            & \ghspic{explos-2}        & explos-3            & \ghspic{explos-3} \\
  explos-4            & \ghspic{explos-4}        & explos-5            & \ghspic{explos-5} \\
  explos-6            & \ghspic{explos-6}        & & \\
  flame               & \ghspic{flame}           & flame-2-white       & \ghspic{flame-2-white} \\
  flame-2-black       & \ghspic{flame-2-black}   & flame-3-white       & \ghspic{flame-3-white} \\
  flame-3-black       & \ghspic{flame-3-black}   & flame-4-1           & \ghspic{flame-4-1} \\
  flame-4-2           & \ghspic{flame-4-2}       & flame-4-3-white     & \ghspic{flame-4-3-white} \\
  flame-4-3-black     & \ghspic{flame-4-3-black} & flame-5-2-white     & \ghspic{flame-5-2-white} \\
  flame-5-2-black     & \ghspic{flame-5-2-black} & & \\
  flame-O             & \ghspic{flame-O}         & flame-O-5-1         & \ghspic{flame-O-5-1} \\
  bottle              & \ghspic{bottle}          & bottle-2-black      & \ghspic{bottle-2-white} \\
  bottle-2-white      & \ghspic{bottle-2-black}  & & \\
  acid                & \ghspic{acid}            & acid-8              & \ghspic{acid-8} \\
  skull               & \ghspic{skull}           & skull-2             & \ghspic{skull-2} \\
  skull-6             & \ghspic{skull-6}         & & \\
  exclam              & \ghspic{exclam}          & & \\
  health              & \ghspic{health}          & & \\
  aqpol               & \ghspic{aqpol}           & & \\
\end{longtable}

\subsection{Picture Type Depending on Engine}\label{ssec:picture_type}
As you probably know you can't use every picture type with every compiler
engine.  \pdfTeX{} in \acs{dvi} mode \emph{needs} \code{eps} pictures while
\pdfTeX{} in \acs{pdf} mode, \XeTeX{} and \LuaTeX{} convert \code{eps}
pictures into \code{pdf} files, given they have the rights to write in the
directory the pictures are saved in.

However, the latter can include \code{jpg} and \code{png} without any
problems, while \pdfTeX{} in \acs{dvi} mode can't.

To resolve this \ghsystem tests which engine is used and if \pdfTeX{} which
mode is used and then chooses either \code{eps} or \code{pdf} for the
pictograms.  You are free to choose the picture type yourself with the option
\begin{beschreibung}
 \Option{pic-type}{eps|pdf|jpg|png}
\end{beschreibung}
\secidx*{Pictograms}

\section{Available Languages}\label{sec:ghsystem_language}
Right now the H and P statements are only available in English, German or
Italian.  The package adapts \chemmacros' option \key[option]{language} or if
the option hasn't been used recognizes the language settings made with
\paket{babel} or \paket{polyglossia}.  To be more precise: the language
selected at begin document is recognized.  Later changes won't affect
\ghsystem.  If you want to use different languages you have to use
\ghsystem's language option then.

You can also choose the language explicitly.
\begin{beschreibung}
 \Option{language}{english|german|italian}\Default{english}
   Selects and loads language file.  Falls back to \code{english} if the
   chosen file doesn't exist.
\end{beschreibung}
\begin{beispiel}
 \ghs{h}{201}

 \chemsetup[ghsystem]{language=german}
 \ghs{h}{201}
\end{beispiel}

% TODO: \loadghsystemlanguage

I will add other languages some time in future.  This may take a while,
though.  If you would be willing to contribute and write the statements of
another language please feel free to contact
me\footnote{\href{mailto:contact@mychemistry.eu}{contact@mychemistry.eu}}.  I
would provide you with a template file, a \acs{pdf} containing the official
translations, and help to all your questions.

\section{List of All Statements}\secidx{List of All Statements}
If for some reason you want to list all sentences you can use
\begin{beschreibung}
 \Befehl{ghslistall}[<options>]
\end{beschreibung}

This command has a number of options to customize the table, which is created with
the \lstinline=longtable= environment of the \paket{longtable} package.
\begin{beschreibung}
 \Option{table-head-number}{<text>}\Default{Identifier}
 \Option{table-head-text}{<text>}\Default{Statement}
 \Option{table-next-page}{<text>}\Default{continues on next page}
 \Option{table-caption}{<text>}\Default{All H, EUH, and P Statements.}
   As \code{<text>} in \lstinline=\caption{<text>}=.
 \Option{table-caption-short}{<text>}\Default{}
   As \code{<short>} in \lstinline=\caption[<short>]{<text>}=.
 \Option{table-label}{<text>}\Default{tab:ghs-hp-statements}
   The label to refer to the table with \lstinline=\ref= and similar
   commands.
 \Option{table-row-sep}{<dim>}\Default{3pt}
   The separation of the table rows. A \TeX\ dimension.
 \Option{table-rules}{\default{default}|booktabs|none}\Default{default}
   The style of the horizontal rules in the table.  \code{default} uses
   \lstinline=\hline=, \code{booktabs} uses \lstinline=\toprule=,
   \lstinline=\midrule= or \lstinline=\bottomrule=, resp.  This option needs
   the \paket{booktabs} package which you have to load yourself then.
 \Option{table-top-head-rule}{\default{default}|booktabs|none}\Default{default}
   Change top rule explicitly.
 \Option{table-head-rule}{\default{default}|booktabs|none}\Default{default}
   Change rule below head explicitly.
 \Option{table-foot-rule}{\default{default}|booktabs|none}\Default{default}
   Change foot rule explicitly.
 \Option{table-last-foot-rule}{\default{default}|booktabs|none}\Default{default}
   Change last foot rule explicitly.
\end{beschreibung}

The code below shows how table~\ref{tab:ghs-hp-statements} was created:
\begin{beispiel}[code only]
 \ghslistall[fill-in,table-rules=booktabs]
\end{beispiel}

\ghslistall[fill-in,table-rules=booktabs]
\secidx*{List of All Statements}

\appendix

\printbibliography

{\catcode`\^=11 \catcode`\#=11
\printindex}

\end{document}