summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros_en.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros_en.tex')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros_en.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros_en.tex b/macros/latex/contrib/chemmacros/chemmacros_en.tex
index d4928256f3..feb89102c4 100644
--- a/macros/latex/contrib/chemmacros/chemmacros_en.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros_en.tex
@@ -16,7 +16,7 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-% Copyright 2011-2017 Clemens Niederberger
+% Copyright 2011-2019 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -114,7 +114,7 @@
ominus, oplus,
percent, pgfarrowsdeclarealias, pgfarrowsrenewalias,
renewtagform, rightarrow,
- sample, scriptscriptstyle, setatomsep, setbondoffset, sfrac, shade,
+ sample, scriptscriptstyle, setchemfig, sfrac, shade,
shadedraw, shorthandoff, si, SI, sisetup, square, subsection,
textcolor, textendash, textsuperscript, tikz, tikzpicture, tiny, toprule,
upbeta, upeta, upgamma, usetikzlibrary,
@@ -1032,6 +1032,8 @@ and \cs*{textsuperscript} instead of \sym{\textasciicircum} without
\item The characters \sym{(} and \sym{)} allow the word to be hyphenated and
don't prevent further hyphenation, likewise \sym{[} and \sym{]}.
\item \sinceversion{5.3}The character \sym{'} is printed as \cs{chemprime}.
+ \item \sinceversion{5.8c}The character \sym{=} is printed ad
+ \cs{nonbreakinghyphen}.
\end{itemize}
\begin{example}[side-by-side]
\huge\iupac{2,4-Di|chlor|pentan} \par
@@ -1041,6 +1043,9 @@ and \cs*{textsuperscript} instead of \sym{\textasciicircum} without
\command{chemprime}
Prints\sinceversion{5.3} a prime character in superscript position. It is
defined as \verbcode+\ensuremath{{}^{\prime}}+.
+ \command{nonbreakinghyphen}
+ Prints\sinceversion{5.8c} a hyphen which doesn't allow a linebreak after
+ it. It is defined as \verbcode+\mbox{-}\nobreak\hspace{0pt}+.
\end{commands}
The spaces inserted by \sym{-} and \sym{\textbar} can be
@@ -1983,7 +1988,7 @@ preamble:
% No error will be raised if a translation of \meta{key} already exists.
% This command can only be used in the preamble and is defined by the
% \pkg{translations} package.
- \command{DeclareChemTranslation}[\marg{language}\marg{key}\marg{translation}]
+ \command{DeclareChemTranslation}[\marg{key}\marg{language}\marg{translation}]
\sinceversion{5.6}A command which makes an abstraction from the
\pkg{translations} package. It should be used in documents for adding
missing translations that are needed. This command can only be used in
@@ -2262,7 +2267,7 @@ changed.
overlay,
p/color = black!70
}
- \setbondoffset{0pt}
+ \setchemfig{bond offset=0pt}
\chemfig{
?\orbital{p}
-[,1.3]{\orbital[phase=-]{p}}
@@ -2276,7 +2281,7 @@ changed.
\begin{example}
\vspace{7mm}
- \setbondoffset{0pt}
+ \setchemfig{bond offset = 0pt}
\chemsetup[orbital]{
overlay ,
opacity = .75 ,
@@ -2352,7 +2357,7 @@ implements the following macro based on the same idea:
\end{options}
\begin{example}
- \setatomsep{2em}
+ \setchemfig{atom sep=2em}
\chemfig{-[@{op,.75}]CH_2-CH(-[6]Cl)-[@{cl,0.25}]}
\makepolymerdelims{5pt}[27pt]{op}{cl}
\chemfig{-[@{op,.75}]CH_2-CH(-[6]Cl)-[@{cl,0.25}]}