From a5e307fda7603294be920676f6214104743fbea4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 9 Aug 2016 22:39:41 +0000 Subject: mhchem (9aug16) git-svn-id: svn://tug.org/texlive/trunk@41829 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mhchem/README | 4 ++-- Master/texmf-dist/doc/latex/mhchem/mhchem.pdf | Bin 420336 -> 439182 bytes Master/texmf-dist/doc/latex/mhchem/mhchem.tex | 28 +++++++++++++++++--------- 3 files changed, 20 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/doc/latex/mhchem') diff --git a/Master/texmf-dist/doc/latex/mhchem/README b/Master/texmf-dist/doc/latex/mhchem/README index 52466398541..2d1b59ee88f 100644 --- a/Master/texmf-dist/doc/latex/mhchem/README +++ b/Master/texmf-dist/doc/latex/mhchem/README @@ -1,7 +1,7 @@ -The mhchem Bundle 2016-02-09 +The mhchem Bundle 2016-08-08 containing -- mhchem v4.04 +- mhchem v4.05 - hpstatement v1.02 - rsphrase v3.11 diff --git a/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf b/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf index 92a486c4403..274bf479488 100644 Binary files a/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf and b/Master/texmf-dist/doc/latex/mhchem/mhchem.pdf differ diff --git a/Master/texmf-dist/doc/latex/mhchem/mhchem.tex b/Master/texmf-dist/doc/latex/mhchem/mhchem.tex index 432ce388b24..acb79daef52 100644 --- a/Master/texmf-dist/doc/latex/mhchem/mhchem.tex +++ b/Master/texmf-dist/doc/latex/mhchem/mhchem.tex @@ -67,7 +67,7 @@ The mhchem Bundle\\[0.3em] \Large\textmd{% Documentation for the \LaTeX{} Packages\\ - mhchem v4.04,\\% check + mhchem v4.05,\\% check hpstatement v1.02 and\\ rsphrase v3.11}% } @@ -76,7 +76,7 @@ mhchem\makebox[0pt][l]{\textcolor{white}{NOSPAM}}@MartinHensel\makebox[1pt][l]{\textcolor{white}{.}}.de% } \date{% - 2016-02-09% check + 2016-08-08% check } \maketitle @@ -268,7 +268,7 @@ Small parenthesis etc. work in both, text mode and math mode. Large parenthesis Both, \macro{left} and \macro{right} macros, need to be in the same math environment, so you might have to put \macro{ce} into \verb|$| into \macro{ce}, but that's fine. $\displaystyle\ce{CH4 + 2 $\left( \ce{O2 + 79/21 N2} \right)$}$\par -{\raggedleft\verb|\[\ce{CH4 + 2 $\left( \ce{O2 + 79/21 N2} \right)$}\]|\par} +{\raggedleft\verb|\ce{CH4 + 2 $\left( \ce{O2 + 79/21 N2} \right)$}|\par} \section{States of Aggregation} @@ -303,7 +303,7 @@ This superscript-only feature works in text mode and math mode. A math bullet is \section {Variables like x, n, 2n+1} -Typographical conventions say that variables are typeset in italic font, while othes (like chemical element) are typeset in an upright font. +Typographical conventions say that variables are typeset in italic font, while other entities (like chemical elements) are typeset in an upright font. mhchem tries to recognize common patterns and use the correct (italic) font, like the $x$ and $2n$ in the following examples. @@ -325,9 +325,9 @@ If a more complex term is not properly recognized, you can switch to math mode ( Just write \macro{alpha} etc. This works in text mode and math mode. -Typographical conventions say that variables are typeset in italic font, while othes (like chemical element) are typeset in an upright font. +Typographical conventions say that variables are typeset in italic font, while other entities (like chemical elements) are typeset in an upright font. -Here, the Greek character is \emph{not} a variable that stands for a number, therefore an unright-font is used. +Here, the Greek character is \emph{not} a variable that stands for a number, therefore an upright font is used. \begin{SideBySideExample}[xrightmargin=4cm] \ce{\mu-Cl} @@ -359,7 +359,6 @@ By using \verb|$...$|, you can esacpe to `font-corrected math mode'. \end{SideBySideExample} In font-corrected math mode, mhchem regonizes some common patterns and prints them font-corrected (e.\,g. for use in headings). Otherwise, it will fall back to `full math mode'. -It is a full math mode. \begin{SideBySideExample}[xrightmargin=4cm] $\ce{NO_$x$}$ \sffamily\bfseries \ce{NO_$x$} @@ -430,7 +429,7 @@ The centered dot is taken from math font. \ce{A-B=C#D} \end{SideBySideExample} -mhchem tries to differentiate if \verb|\ce{-}| should be a bond, a charge or even a hyphen. +mhchem tries to differentiate whether \verb|\ce{-}| should be a bond, a charge or a hyphen. The \verb|#| bond might not work if you pass it through other commands. In this case, use \verb|\bond{3}| instead. @@ -470,8 +469,9 @@ If you switch to another font, the sidebearing of the minus sign may vary, which \makebox[3cm][l]{\ce{A -> B}}\verb|\ce{A -> B}|\\ \makebox[3cm][l]{\ce{A <- B}}\verb|\ce{A <- B}|\\ -\makebox[3cm][l]{\ce{A <-> B}}\verb|\ce{A <-> B}% should not be used according to IUPAC|\\ % Green Book p.52 +\makebox[3cm][l]{\ce{A <-> B}}\verb|\ce{A <-> B}% not to be used according to IUPAC|\\ % Green Book p.52 \makebox[3cm][l]{\ce{A <--> B}}\verb|\ce{A <--> B}|\\ +\makebox[3cm][l]{\ce{A <=> B}}\verb|\ce{A <=> B}|\\ \makebox[3cm][l]{\ce{A <=>> B}}\verb|\ce{A <=>> B}|\\ \makebox[3cm][l]{\ce{A <<=> B}}\verb|\ce{A <<=> B}| @@ -871,7 +871,7 @@ You can select other pre-defined PGF arrows (see PGF manual) or even define your \begin{SideBySideExample}[xrightmargin=3cm] \mhchemoptions{layout=stacked} - \ce{CrO4^2-}% not according to IUPAC + \ce{CrO4^2-}% not IUPAC-conform \end{SideBySideExample} @@ -899,6 +899,14 @@ Meaning and usage of \macro{bond} changed. \section{Most Recent Changes}% check +\minisec{2016-08-07 mhchem v4.05} +\begin{compactitem} +\item extended variable recognition -- single lower-case letters in superscripts/subscripts are typeset in an italic font +\item improved bond/charge/hyphen distinction +\item fixed error handling for nonstopmode +\end{compactitem} + + \minisec{2016-02-07 mhchem v4.04} \begin{compactitem} \item support for negative subscripts, \verb|\ce{^0_-1n-}| -- cgit v1.2.3