summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mhchem
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-13 23:23:06 +0000
committerKarl Berry <karl@freefriends.org>2015-03-13 23:23:06 +0000
commit92c0eccd62a3eb57e56ee44400ebe63fec446bf6 (patch)
tree841103e4b6f8af074da637e3ac5ca53f2aac2759 /Master/texmf-dist/doc/latex/mhchem
parent40a46f311d540329fb7fb15ed97a491a710333d3 (diff)
mhchem (13mar15)
git-svn-id: svn://tug.org/texlive/trunk@36504 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mhchem')
-rw-r--r--Master/texmf-dist/doc/latex/mhchem/README4
-rw-r--r--Master/texmf-dist/doc/latex/mhchem/mhchem.pdfbin202823 -> 206385 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mhchem/mhchem.tex317
3 files changed, 198 insertions, 123 deletions
diff --git a/Master/texmf-dist/doc/latex/mhchem/README b/Master/texmf-dist/doc/latex/mhchem/README
index 797dd509ec4..0fc068570e5 100644
--- a/Master/texmf-dist/doc/latex/mhchem/README
+++ b/Master/texmf-dist/doc/latex/mhchem/README
@@ -1,7 +1,7 @@
-The mhchem Bundle 2015-02-09
+The mhchem Bundle 2015-03-13
containing
-- mhchem v3.19
+- mhchem v3.21
- hpstatement v1.01
- rsphrase v3.11
diff --git a/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf b/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf
index dae451d1870..261398f5f3a 100644
--- a/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf
+++ b/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mhchem/mhchem.tex b/Master/texmf-dist/doc/latex/mhchem/mhchem.tex
index 418bf4f2fe0..e881716ec98 100644
--- a/Master/texmf-dist/doc/latex/mhchem/mhchem.tex
+++ b/Master/texmf-dist/doc/latex/mhchem/mhchem.tex
@@ -35,7 +35,7 @@
% http://www.ctan.org/tex-archive/fonts/tex-gyre/fonts
\addtokomafont{disposition}{\rmfamily}
\linespread{1.1}
-\setmonofont[Mapping=tex-text]{Source Code Pro}
+\setmonofont[Mapping=tex-text,Scale=MatchLowercase]{Source Code Pro}
% http://sourceforge.net/projects/sourcecodepro.adobe/
\usepackage[bookmarks,bookmarksopen,pdfstartview=FitH]{hyperref}
\usepackage[alwaysadjust]{paralist}
@@ -62,7 +62,7 @@
The mhchem Bundle\\[0.3em]
\Large\textmd{%
Documentation for the Packages\\
- mhchem v3.19,\\% check
+ mhchem v3.21,\\% check
hpstatement v1.01 and\\
rsphrase v3.11}%
}
@@ -71,7 +71,7 @@
mhchem\makebox[0pt][l]{\textcolor{white}{NOSPAM}}@MartinHensel\makebox[1pt][l]{\textcolor{white}{.}}.de%
}
\date{%
- 2015-02-09% check
+ 2015-03-13% check
}
\maketitle
@@ -81,7 +81,7 @@
\noindent
The \textbf{mhchem} package provides commands for typesetting chemical molecular formulae and equations.
\medskip
-
+
\noindent The \textbf{hpstatement} package provides commands for the official hazard statements and precautionary statements (H and P statements) that are used to label chemicals.
\medskip
@@ -102,13 +102,11 @@
\section{Work in Progress}
-\begin{annotation}
The mhchem package is still work in progress. Admittedly, very slow progress with large breaks in between, but still progressing. Version 4 will be a major rewrite of the code with some new features and slight syntax changes (this will be the reason for the new number). While I try to support the old syntaxes via the \verb|version| option, please note that slight changes in spacing (and therefore changed line breaks and page breaks) can occur from release to release.
-\end{annotation}
-\section{Why that package?}
+\section{Why this package?}
\noindent
For typesetting a single chemical formula from time to time, one can use \LaTeX's math mode, manually setting the letters in an upright font.
@@ -149,19 +147,19 @@ mhchem is here to assist you. To mention a few of its features:
\begin{compactitem}
\item Adaptation to the surrounding environment\\
If used inside normal text or a section header, the formula is displayed using the current text font. If used inside a math environment, the current math font is used in the appropriate size.
-
+
\item More natural input\\
I am convinced that (when expecting a chemical formula) it is easier to read and write \verb|H3PO4| than \verb|H_3PO_4|. The latter is grouped wrongly according to the Gestalt rules. Furthermore, you can copy formulas from text e-mails and even Word documents and save a lot of time as you do not have to insert underscores. (One could argue that this is inconsistend with math mode and could lead to confusions. I believe, however that \verb|O2| and \verb|x_2| are sufficiently distinct concepts.)
-
+
\item Easy input of amount numbers\\
with automatic spacing; easy input of fractions
-
+
\item Fine typographic corrections\\
- fine correction of the height of subscripts and superscripts; right-aligned left-side sub- and superscripts
+ fine correction of the height of subscripts and superscripts; right-aligned left-side subscripts and superscripts
\end{compactitem}
\noindent
-\ldots{} and a lot more. But let us end the ad block here and see ourselves how easy it can be to typeset chemical formulae.
+\ldots{} and a lot more. But let me end the ad block here and see for yourself how easy it can be to typeset chemical formulae.
\section{Preamble}
@@ -178,75 +176,71 @@ In order to use all of mhchem's features, request it in your document's preamble
\begin{annotation}
\noindent
-What about the \verb|version=3|? During development, I became aware that additional functionality could not be added without changing the user-interface slightly. But what about backward compatibility? I could, of course, have freezed mhchem and published an mhchem2 package. However, I decided to use an option in order to switch to the new interface. One can use \verb|version=3| for the most-recent version of mhchem, but \verb|version=2| and \verb|version=1| (or no option at all, but this will yield a warning) are still there for existing documents that use an old user-interface of mhchem. Those old documents should still produce the same results. However, spacing might differ slightly.
+What about the \verb|version=3|? During development, I became aware that additional functionality could not be added without changing the user-interface slightly. But what about backward compatibility? I could, of course freeze mhchem and publish an mhchem2 package. However, I decided to use a parameter in order to switch to the new interface. One can use \verb|version=3| for the most-recent version of mhchem, but \verb|version=2| and \verb|version=1| and \verb|0| are still there for existing documents that use an old user-interface of mhchem. Those old documents should still produce the same results. However, spacing might differ slightly.
\end{annotation}
\medskip
\noindent
-mhchem includes the following packages: amsmath, calc, graphics, ifthen, keyval, pdftexcmds, twoopt.
+mhchem needs a couple of other packages. For instance, expl3, amsmath and calc.
\section{Basics}
\noindent
-\begin{SideBySideExample}[xrightmargin=2cm]
+\begin{SideBySideExample}[xrightmargin=2.5cm]
\ce{H2O}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
+\begin{SideBySideExample}[xrightmargin=2.5cm]
\ce{Sb2O3}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
+\begin{SideBySideExample}[xrightmargin=2.5cm]
\ce{H+}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
+\begin{SideBySideExample}[xrightmargin=2.5cm]
\ce{CrO4^2-}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
- \ce{AgCl2-}
-\end{SideBySideExample}
-
-\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
+\begin{SideBySideExample}[xrightmargin=2.5cm]
\ce{[AgCl2]-}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
- \ce{Y^{99}+}
+\begin{SideBySideExample}[xrightmargin=2.5cm]
+ \ce{(NH4)2S}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
- \ce{Y^{99+}}
+\begin{SideBySideExample}[xrightmargin=2.5cm]
+ \ce{Y^99+}
\end{SideBySideExample}
+\fromversion{3.21}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
- \ce{H2_{(aq)}}
+\begin{SideBySideExample}[xrightmargin=2.5cm]
+ \ce{Y^{99+}}
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
- \ce{NO3-}
+\begin{SideBySideExample}[xrightmargin=2.5cm]
+ \ce{H2(aq)} % IUPAC
\end{SideBySideExample}
\medskip
-\begin{SideBySideExample}[xrightmargin=2cm]
- \ce{(NH4)2S}
+\begin{SideBySideExample}[xrightmargin=2.5cm]
+ \ce{CO3^2-{}_{(aq)}} % not according to IUPAC
\end{SideBySideExample}
-\subsection{Amounts}
+\subsection{Amounts}
Place amounts directly in front of a formula. A small space will be inserted
automatically.
@@ -275,52 +269,6 @@ automatically.
\end{SideBySideExample}
-\subsection{Fonts}
-
-A few words about fonts. LaTeX distinguishes between text fonts and math fonts. In general, the math fonts have much more glyphs: alphas, nabla operators and all that kind of suff. Ideally, the math font looks very similar to the text font and that is why many LaTeX users do not know about the two kinds of fonts. However, the distinction is important for the use of mhchem.
-
-\medskip
-
-\noindent
-In the following examples, I will switch the text font to sans serif. This way, one can easily distinguish \textsf{text font (sans serif)} from $\mathrm{math\ font\ (with\ serifs)}$.
-
-\medskip
-
-\noindent
-When you are in a math environment (e.g. opened and closed with a \$), you could simply use \macro{ce}. Its content will be set in an upright math font. (Remember: all variables---like $V$ for volume---are set using an italic font, physical units and chemical elements are set using an upright font.)
-
-\medskip
-
-\begin{SideBySideExample}[xrightmargin=5cm]
- $V_{\ce{H2O}}$
-\end{SideBySideExample}
-
-\medskip
-
-\noindent
-When used in text mode, \macro{ce} adapts to the current text font. You could simply write a formula in one of your section titles it would be set with the correct font, no matter where is appears (section title, header, table of contents, references, \dots).
-
-\medskip
-
-\begin{SideBySideExample}[xrightmargin=5cm]
- £\sffamily
- \ce{H2O}, $\ce{H2O}$
-\end{SideBySideExample}
-
-\medskip
-
-\begin{SideBySideExample}[xrightmargin=5cm]
- £\sffamily
- \ce{Ce^{IV}}, $\ce{Ce^{IV}}$
-\end{SideBySideExample}
-\fromversion{2.04}
-
-\medskip
-
-\noindent
-There are some special cases. A negative charge in text mode is replaced with a dash (--, normally input as \verb|--|), because a text minus sign is often too short (compare $\text{Cl}^{\text{-}}$ and \ce{Cl-}). All `operators' in equations, e.g. `+' and reaction arrows, are taken from the math font.
-
-
\subsection{Special Symbols}
\begin{SideBySideExample}[xrightmargin=5cm]
@@ -342,12 +290,6 @@ There are some special cases. A negative charge in text mode is replaced with a
\end{SideBySideExample}
\fromversion{2}
-\medskip
-\begin{SideBySideExample}[xrightmargin=5cm]
- \ce{$\mu\hyphen$Cl}
-\end{SideBySideExample}
-\fromversion{3.05}
-
\subsection{Bonds}
@@ -363,8 +305,8 @@ Horizontal \fromversion{2} bonds can be set using the characters \verb|-|, \verb
\medskip
\begin{SideBySideExample}[xrightmargin=5cm]
- \ce{X=Y#Z}
-\end{SideBySideExample}
+ \ce{X=Y#Z}
+\end{SideBySideExample}
\medskip
@@ -413,11 +355,58 @@ The \macro{bond} \fromversion{3} command allows you to typeset special bonds.
Please be aware, that the dashed bonds use the \macro{scalebox} macro internally, which may not be visualised correctly by some DVI viewers. If you switch to another math font, the sidebearing of the minus sign may vary, which would cause the dashed bonds to align badly (in \verb|\bond{~--}|, for instance). In that case, you may want to adjust the layout by using the command \verb|\mhchemoptions{minus-sidebearing-left=0.06em,| \verb|minus-sidebearing-right=0.11em}| with the appropriate values.
+\subsection{Fonts}
+
+A few words about fonts. LaTeX distinguishes between text fonts and math fonts. In general, the math fonts have much more glyphs: alphas, nabla operators and all that kind of suff. Ideally, the math font looks very similar to the text font and that is why many LaTeX users do not know about the two kinds of fonts. However, the distinction is important for the use of mhchem.
+
+\medskip
+
+\noindent
+When you are in a math environment (e.g. opened and closed with a \$), \macro{ce}'s content will be set in an upright math font. (Remember: all variables---like $V$ for volume---are set using an italic font, physical units and chemical elements are set using an upright font.)
+
+\medskip
+
+\begin{SideBySideExample}[xrightmargin=5cm]
+ $V_{\ce{H2O}}$
+\end{SideBySideExample}
+
+\medskip
+
+\noindent
+When used in text mode, \macro{ce} adapts to the current text font. You could simply write a formula in one of your section titles. It would be set with the correct font, no matter where is appears (section title, header, table of contents, references, \dots).
+
+\medskip
+
+\begin{SideBySideExample}[xrightmargin=5cm]
+ £\sffamily\textbf
+ This is text with \ce{H2O} and $\ce{H2O}$.
+\end{SideBySideExample}
+
+\medskip
+
+\begin{SideBySideExample}[xrightmargin=5cm]
+ £\sffamily
+ \ce{Ce^{IV}}, $\ce{Ce^{IV}}$
+\end{SideBySideExample}
+\fromversion{2.04}
+
+\medskip
+
+\noindent
+There are some special cases. A negative charge in text mode is replaced with a dash (--, normally input as \verb|--|), because a text minus sign is often too short (compare $\text{Cl}^{\text{-}}$ and \ce{Cl-}). All `operators' in equations, e.g. `+' and reaction arrows, are taken from the math font.
+
+
\subsection{Using Math}
-To
+To
+\fromversion{3.05}
+use math commands inside \macro{ce}, these commands can be enclosed by \verb|$|. Please be aware that a math font will be used for these parts, i.\,e., this might not look good in text that differs from math, like headlines.
+
+\medskip
+\begin{SideBySideExample}[xrightmargin=5cm]
+ \ce{$\mu\hyphen$Cl}
+\end{SideBySideExample}
\fromversion{3.05}
-use math commands inside \macro{ce}, these commands can be enclosed by \verb|$|.
\medskip
\begin{SideBySideExample}[xrightmargin=5cm]
@@ -457,7 +446,6 @@ use math commands inside \macro{ce}, these commands can be enclosed by \verb|$|.
\noindent
\makebox[5cm][l]{\ce{H+ + OH- <=>> H2O}}\verb|\ce{H+ + OH- <=>> H2O}|
-
\medskip
\begin{SideBySideExample}[xrightmargin=5cm]
\ce{$A$ <-> $A'$}
@@ -485,7 +473,7 @@ The content above and below reaction arrows is set in math font. When you want t
\medskip
\begin{SideBySideExample}[xrightmargin=5cm]
- \ce{CO2 + C
+ \ce{CO2 + C
->[\text{above}][\text{below}] 2CO}
\end{SideBySideExample}
@@ -536,7 +524,7 @@ Both, \verb|\left| and \verb|\right| macros, need to be in the same math environ
\ce{Zn^2+
<=>[\ce{+ 2OH-}][\ce{+ 2H+}]
$\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$
- <=>C[+2OH-][{+ 2H+}]
+ <=>C[+2OH-][{+ 2H+}]
$\underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}$
}
\end{Example}
@@ -550,7 +538,7 @@ Both, \verb|\left| and \verb|\right| macros, need to be in the same math environ
\medskip
\begin{Example}[xrightmargin=5cm]
- \ce{Hg^2+ ->[\ce{I-}]
+ \ce{Hg^2+ ->[\ce{I-}]
$\underset{\mathrm{red}}{\ce{HgI2}}$
->C[I-]
$\underset{\mathrm{red}}{\ce{[Hg^{II}I4]^2-}}$
@@ -559,9 +547,11 @@ Both, \verb|\left| and \verb|\right| macros, need to be in the same math environ
\fromversion{3.05}
-\subsection{Tips and Tricks}
+\section[Equation Environments]{Equation Environments\fromversion{2}}
+
+\subsection{Own Equation Command}
-When you use equation environments contining a \macro{ce} very often, you may want to create your own command. Then you could (in your preamble, preferably) define the following two commands
+When you use equation environments containing a \macro{ce} very often, you might want to create your own command. You could---preferably in your preamble---define the following two commands
\begin{Verbatim}
\newcommand\reaction[1]{\begin{equation}\ce{#1}\end{equation}}
@@ -578,7 +568,7 @@ and then use them as follows.
£ {\begin{equation*}\ce{#1}\end{equation*}}
\reaction{CO2 + C}
\reactionnonumber{CO2 + C}
-\end{SideBySideExample}
+\end{SideBySideExample}
\bigskip
@@ -607,7 +597,7 @@ and then write
\smallskip
\noindent
-for the same result.
+for the same result.
\minisec{}
@@ -638,7 +628,7 @@ So far, so good. All reactions will be labelled exactly as all the equations. A
\noindent
With that, all reactions will be labelled independently of the equations.
-
+
\begin{SideBySideExample}[xrightmargin=6.5cm]
£\makeatletter
£\newcounter{reaction}
@@ -668,8 +658,7 @@ With that, all reactions will be labelled independently of the equations.
\end{SideBySideExample}
-
-\section[Equation Environments]{Equation Environments\fromversion{2}}
+\subsection{Aligning Equations}
When using equation environments, you can use the \macro{cee} command. The advantage is, that \macro{cee} can take the \verb|&| and \verb|\\| macros as input and passes them on to the surrounding environment.
@@ -682,9 +671,74 @@ When using equation environments, you can use the \macro{cee} command. The advan
\end{SideBySideExample}
+
+\section[Splitting the \macro{ce} command]{Splitting the \macro{ce} command\fromversion{3.21}}
+
+\noindent
+As mentioned before, you can use \verb|$| to switch to math mode inside \macro{ce}. But maybe, you want to `escape' to outside of \macro{ce}.
+
+
+\subsection{Comma Example}
+
+\noindent
+Assume, you are getting tired of typing
+
+\medskip
+\begin{SideBySideExample}[xrightmargin=4cm]
+ \ce{N2}, \ce{O2}, \ce{CO2}
+\end{SideBySideExample}
+
+\medskip
+
+\noindent
+Then you could define your own command that splits at commas (plus space).
+
+\medskip
+\begin{SideBySideExample}[xrightmargin=4cm]
+ \newcommand*\cec[1]{\cesplit{{\,\ }{\0}}{#1}}
+ \cec{N2, O2, CO2}
+\end{SideBySideExample}
+
+\medskip
+
+\noindent
+\macro{cesplit} takes two parameters. The first one is a list of search-and-replace pairs, the second parameter is the chemistry string as you would put into \macro{ce}. The search-and-replace list uses the syntax of \verb|l3regex|. As a rule of thumb, precede every non-letter with a backslash. You can replace it with some other text, or use \verb|\0| to retain the match. If you want to replace with a macro, write \verb|\c{macroname}|. For furhter details, refer to the \verb|l3regex| manual.
+
+\medskip
+
+\noindent
+You could even re-define \macro{ce} with \verb|\newcommand*\ce{\cesplit{...}{#1}}|.
+
+
+\subsection{Layer Stacks}
+
+\noindent
+Another example shows how physicists can use mhchem to write layer stacks.
+
+\medskip
+\begin{SideBySideExample}[xrightmargin=4cm]
+ \newcommand*\stackslash{\text{/}\allowbreak}
+ \newcommand*\stackdash{\text{-}\allowbreak}
+ \newcommand\stack[1]{%
+ \cesplit{%
+ {\/}{\c{stackslash}}%
+ {-}{\c{stackdash}}%
+ }{#1}%
+ }
+ \ldots\ structure of
+ \stack{Co-Fe-B/HfO2/Co-Fe-B} is resp\ldots
+\end{SideBySideExample}
+
+\medskip
+
+\noindent
+By the way, mhchem's \macro{cee} command is similarly defined.
+
+
+
\section{Fine Tuning}
-In this section, several option switches will be explained. For instance,
+In this section, several option switches will be explained. You can use them in the form
\begin{Verbatim}[commandchars=+\[\]]
\mhchemoptions{+textbf[option=abc]}
@@ -721,7 +775,7 @@ in order to get sanf-serif fonts in both, text mode and math mode. There are two
\end{Verbatim}
\noindent
-Only the latter options can be used with the \macro{usepackage} command when loading mhchem (as an optional argument in brackets), because the font commands are not properly defined in the preamble yet.
+Only the latter options can be used with the \macro{usepackage} command, because the font commands are not properly defined in the preamble, yet.
\medskip
@@ -733,14 +787,14 @@ Furthermore, there are two shortcuts:
\end{Verbatim}
\noindent
-sets the two fonts to sans-serif, as mentioned above,
+sets the two fonts to sans-serif, as mentioned above, and
\begin{Verbatim}[commandchars=+\[\]]
\mhchemoptions{+textbf[font=]}
\end{Verbatim}
\noindent
-switches back to the default, which is
+switches back to the default, which is equivalent to
\begin{Verbatim}[commandchars=+\[\]]
\mhchemoptions{+textbf[textfontcommand=, mathfontcommand=\mathrm]}
@@ -749,14 +803,14 @@ switches back to the default, which is
\subsection{Arrows}
-By default, mhchem uses arrows that are composed of different font characters (as does the \verb|amsmath| package. This may lead to undesirable effects when dislayed on a screen. Helmut Hänsel kindly provided a patch that used the pgf graphics package instead. pgf arrows are activated by
+By default, mhchem uses arrows that are composed of different font characters, because it uses some features of the \verb|amsmath| package. This may lead to undesirable effects when dislayed on a screen. Helmut Hänsel kindly provided a patch that used the pgf graphics package instead. pgf arrows are activated by
\begin{Verbatim}[commandchars=+\[\]]
- \mhchemoptions{+textbf[arrows=pgf]}
+ \usepackage[version=3,+textbf(arrows=pgf)]{mhchem}
\end{Verbatim}
\noindent
-As explained, you can set this option in the \macro{usepackage} as well. If you don't, please do not forget to load the \verb|tikz| package by hand. The \verb|tikz| package is a wrapper for (and included in) the pgf bundle. The default setting is
+If you use this switch inside your document with \macro{mhchemoptions}, don't forget to load the \verb|tikz| package manually. (The \verb|tikz| package is a wrapper for---and included in---the pgf bundle. The default setting is
\begin{Verbatim}[commandchars=+\[\]]
\mhchemoptions{+textbf[arrows=font]}
@@ -776,7 +830,7 @@ Here is how it looks:
\mhchemoptions{arrows=pgf}%
\ce{$A$ <->T[description] $A'$}
\end{SideBySideExample}
-
+
\subsubsection{Arrow Tips}
@@ -796,6 +850,18 @@ The same considerations as for the \verb|pgf| option apply.
\end{SideBySideExample}
+\subsection{Stacked Superscripts}
+
+If you do not like the IUPAC recommendation, you could switch to stacked superscripts
+
+\medskip
+\begin{SideBySideExample}[xrightmargin=5cm]
+ \ce{CrO4^2-}\\
+ \mhchemoptions{superscripts=stacked} \ce{CrO4^2-}
+\end{SideBySideExample}
+
+
+
\clearpage
\section{Major Changes}
\label{sec:WhatSNew}
@@ -812,6 +878,15 @@ Meaning and usage of \macro{bond} changed.
\section{Most Recent Changes}% check
+\minisec{2015-03-13 mhchem v3.21}
+\begin{compactitem}
+\item rewrote further large parts using \LaTeX3
+\item introduced \macro{cesplit}
+\item simplified creation two-digit superscripts and subscripts (less braces needed)
+\end{compactitem}
+
+% 3.20 revoked
+
\minisec{2015-02-09 mhchem v3.19}
\begin{compactitem}
\item fixed an incompatibility when running without (implicit) pdftexcmds
@@ -826,7 +901,7 @@ Meaning and usage of \macro{bond} changed.
\minisec{2014-03-27 mhchem v3.17}
\begin{compactitem}
-\item fix of the 3.16 expansion fix -- sorry, my quality control failed
+\item fix of the 3.16 expansion fix -- sorry, my quality control failed
\end{compactitem}
\minisec{2014-03-20 mhchem v3.16}
@@ -837,7 +912,7 @@ Meaning and usage of \macro{bond} changed.
\minisec{2014-02-01 mhchem v3.15}
\begin{compactitem}
-\item follow the IUPAC Red Book more closely (staggered superscripts, \ce{NO3-})
+\item follow the IUPAC Red Book more closely (staggered superscripts, \ce{NO3-})
\item rewrote large parts using \LaTeX3, needs package expl3
\item added: \verb|\bond{1}|, \verb|\bond{2}|, \verb|\bond{3}| (because \verb|#| cannot be used in all contexts)
\end{compactitem}
@@ -876,9 +951,9 @@ Meaning and usage of \macro{bond} changed.
The \textbf{hpstatement} package contains all official
hazard statements and precautionary statements (H and P) of the
Globally Harmonized System of Classification and Labeling of Chemicals (GHS)
-and of the CLP Regulation of the European Union.
+and of the CLP Regulation of the European Union.
-The statements are available in
+The statements are available in
English
German.
If you are a native speaker of either
@@ -916,7 +991,7 @@ available in Danish, Englisch, French, German (current spelling), Spanish, and I
\bigskip
Please be advised that, as stated in the license, the authors provide no warranty of correctness.
-
+
\section{Usage}
@@ -1494,7 +1569,7 @@ turn were linked from
\rs{R23/24}
\rs{R23/25}
\rs{R23/24/25}
- \rs{R24/25}
+ \rs{R24/25}
\rs{R26/27}
\rs{R26/28}
\rs{R26/27/28}
@@ -1543,7 +1618,7 @@ turn were linked from
\rs{R68/21/22}
\rs{R68/20/21/22}
\rsskip
- \rs{S1}
+ \rs{S1}
\rs{S2}
\rs{S3}
\rs{S4}
@@ -1560,7 +1635,7 @@ turn were linked from
\rs{S17}
\rs{S18}
\rs{S20}
- \rs{S21}
+ \rs{S21}
\rs{S22}
\rs[\ldots]{S23}
\rs{S23.0}
@@ -1594,14 +1669,14 @@ turn were linked from
\rs[\ldots]{S48}
\rs{S49}
\rs[\ldots]{S50}
- \rs{S51}
+ \rs{S51}
\rs{S52}
\rs{S53}
\rs{S56}
\rs{S57}
\rs{S59}
\rs{S60}
- \rs{S61}
+ \rs{S61}
\rs[\ldots]{S62}
\rs{S63}
\rs{S64}
@@ -1639,7 +1714,7 @@ Thanks to the extensive help of Rasmus Villemoes, the Danish phrases could be in
\selectlanguage{UKenglish}
\subsection{French}
-Dominique Richard helped with the French phrases. Many thanks to him!
+Dominique Richard helped with the French phrases. Many thanks to him!
\selectlanguage{french}
\allrsphrases
\selectlanguage{UKenglish}