summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/chemformula
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-22 22:53:48 +0000
committerKarl Berry <karl@freefriends.org>2020-12-22 22:53:48 +0000
commit8d021cbb6243d66933bc5dde5a0ff77a4237fa03 (patch)
tree4f17add33bad55ff3993ab8c635acbcc87c48792 /Master/texmf-dist/doc/latex/chemformula
parenta34e5457024d24ce0d381d6a3ba80979ee412331 (diff)
chemformula (22dec20)
git-svn-id: svn://tug.org/texlive/trunk@57206 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemformula')
-rw-r--r--Master/texmf-dist/doc/latex/chemformula/README8
-rw-r--r--Master/texmf-dist/doc/latex/chemformula/chemformula-manual.cls61
-rw-r--r--Master/texmf-dist/doc/latex/chemformula/chemformula-manual.pdfbin859314 -> 899303 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chemformula/chemformula-manual.tex107
4 files changed, 97 insertions, 79 deletions
diff --git a/Master/texmf-dist/doc/latex/chemformula/README b/Master/texmf-dist/doc/latex/chemformula/README
index d539688182f..c25182cc825 100644
--- a/Master/texmf-dist/doc/latex/chemformula/README
+++ b/Master/texmf-dist/doc/latex/chemformula/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-the CHEMFORMULA package v4.15j 2020/03/07
+the CHEMFORMULA package v4.16 2020/12/22
typeset chemical compounds and reactions
@@ -11,12 +11,12 @@ E-Mail: contact@mychemistry.eu
Copyright 2011--2020 Clemens Niederberger
This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
+conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
+and version 1.3c or later is part of all distributions of LaTeX
+version 2008/05/04 or later.
This work has the LPPL maintenance status `maintained'.
diff --git a/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.cls b/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.cls
index 1935e5d8b36..e9da59b2c57 100644
--- a/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.cls
+++ b/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.cls
@@ -239,10 +239,68 @@
\RequirePackage{csquotes,varioref}
\defbibheading{bibliography}{\section{References}}
+\newpackagename\chemmacros{chemmacros}
+
+\newidxcmd\manual{\textsf{#1}}[\ (manual)]
+\newidxcmd\arrowtype{\code{#1}}[\ (arrow type)]
+
+\newcommand*\cf@arrow{%
+ \@ifstar
+ {\cf@arrow@star}
+ {\cf@arrow@nostar}%
+}
+\newrobustcmd*\cf@arrow@star[1]{%
+ \@ifnextchar[
+ {\cf@arrow@star@opt{#1}}
+ {\cf@arrow@star@opt{#1}[]}%
+}
+\newrobustcmd*\cf@arrow@nostar[1]{%
+ \@ifnextchar[
+ {\cf@arrow@nostar@opt{#1}}
+ {\cf@arrow@nostar@opt{#1}[]}%
+}
+\def\cf@arrow@star@opt#1[#2]{%
+ \ifblank{#2}
+ {\item\arrowtype*{#1}}
+ {\item\arrowtype*{#1}#2}%
+ \cnltx@checkdefault{\hfill\newline}%
+}
+\def\cf@arrow@nostar@opt#1[#2]{%
+ \ifblank{#2}
+ {\item\arrowtype{#1}}
+ {\item\arrowtype{#1}#2}%
+ \cnltx@checkdefault{\hfill\newline}%
+}
+
+\newenvironment{codedesc}
+ {%
+ \def\Code##1{\item\code{##1}\hfill\newline}%
+ \cnltxlist
+ }
+ {\endcnltxlist}
+
+\newenvironment{arrows}
+ {%
+ \let\arrow\cf@arrow
+ \cnltxlist
+ }
+ {\endcnltxlist}
+
+\renewcommand*\AmS{\hologo{AmS}}
+
+\newcommand*\TikZ{Ti\textit{k}Z}
+
+\newname\hensel{Martin Hensel}
+
\RequirePackage[biblatex]{embrac}[2012/06/29]
\ChangeEmph{[}[,.02em]{]}[.055em,-.08em]
\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em]
+\newenvironment{changes}[1]{%
+ \subsection*{Version #1 (\csuse{chemformula@ver@#1})}
+ \itemize\let\change\item
+}{\enditemize}
+
\chemformula@add@version{2012-01-28}{3.0}
\chemformula@add@version{2012-01-30}{3.0a}
\chemformula@add@version{2012-02-03}{3.0b}
@@ -299,5 +357,8 @@
\chemformula@add@version{2019-09-27}{4.15g}
\chemformula@add@version{2019-10-13}{4.15h}
\chemformula@add@version{2020-02-01}{4.15i}
+\chemformula@add@version{2020-03-07}{4.15j}
+\chemformula@add@version{2020-03-15}{4.15k}
+\chemformula@add@version{2020-12-22}{4.16}
\endinput
diff --git a/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.pdf b/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.pdf
index 6e3c49e1af8..6ce31cd5de6 100644
--- a/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.pdf
+++ b/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.tex b/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.tex
index 6ceb89003d8..00b7b2aa89a 100644
--- a/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.tex
+++ b/Master/texmf-dist/doc/latex/chemformula/chemformula-manual.tex
@@ -19,12 +19,12 @@
% Copyright 2011--2020 Clemens Niederberger
%
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2008/05/04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
@@ -36,21 +36,20 @@
\chemsetup{
greek = newtx ,
- modules = {redox,reactions,units} ,
formula = chemformula ,
chemformula/format = \libertineLF
}
-\usepackage[accsupp]{acro}
+\usepackage{acro}
\acsetup{
- long-format = \scshape ,
- short-format = \scshape
+ format/long = \scshape ,
+ format/short = \scshape
}
\DeclareAcronym{iupac}{
short = iupac ,
long = International Union of Pure and Applied Chemistry ,
pdfstring = IUPAC ,
- accsupp = IUPAC
+ short-acc = IUPAC
}
\sisetup{
@@ -59,9 +58,6 @@
text-rm=\libertineLF
}
-\usepackage{filecontents}
-
-\defbibheading{bibliography}{\section{References}}
\addbibresource{\jobname.bib}
\begin{filecontents*}{\jobname.bib}
@book{iupac:greenbook,
@@ -90,61 +86,6 @@
slash-left-kern = .05em
}
-\newpackagename\chemmacros{chemmacros}
-
-\newidxcmd\manual{\textsf{#1}}[\ (manual)]
-\newidxcmd\arrowtype{\code{#1}}[\ (arrow type)]
-
-\makeatletter
-\newcommand*\cf@arrow{%
- \@ifstar
- {\cf@arrow@star}
- {\cf@arrow@nostar}%
-}
-\newrobustcmd*\cf@arrow@star[1]{%
- \@ifnextchar[
- {\cf@arrow@star@opt{#1}}
- {\cf@arrow@star@opt{#1}[]}%
-}
-\newrobustcmd*\cf@arrow@nostar[1]{%
- \@ifnextchar[
- {\cf@arrow@nostar@opt{#1}}
- {\cf@arrow@nostar@opt{#1}[]}%
-}
-\def\cf@arrow@star@opt#1[#2]{%
- \ifblank{#2}
- {\item\arrowtype*{#1}}
- {\item\arrowtype*{#1}#2}%
- \cnltx@checkdefault{\hfill\newline}%
-}
-\def\cf@arrow@nostar@opt#1[#2]{%
- \ifblank{#2}
- {\item\arrowtype{#1}}
- {\item\arrowtype{#1}#2}%
- \cnltx@checkdefault{\hfill\newline}%
-}
-
-\newenvironment{codedesc}
- {%
- \def\Code##1{\item\code{##1}\hfill\newline}%
- \cnltxlist
- }
- {\endcnltxlist}
-
-\newenvironment{arrows}
- {%
- \let\arrow\cf@arrow
- \cnltxlist
- }
- {\endcnltxlist}
-\makeatother
-
-\renewcommand*\AmS{\hologo{AmS}}
-
-\newcommand*\TikZ{Ti\textit{k}Z}
-
-\newname\hensel{Martin Hensel}
-
\begin{document}
\section{Introduction}
@@ -612,9 +553,13 @@ The usage is best described with an example. So let's see how the
}
\NewChemBondAlias{co>}{coordright}
\end{sourcecode}
-Two points are important: the names of the starting and the ending
-coordinates, \code{chemformula-bond-start} and \code{chemformula-bond-end},
-and the \TikZ\ style of the bonds \code{chembond}.
+
+Two points are important:
+\begin{itemize}
+ \item the names of the starting and the ending coordinates, \\
+ \code{chemformula-bond-start} and \code{chemformula-bond-end},
+ \item and the \TikZ\ style of the bonds \code{chembond}.
+\end{itemize}
So, let's say you want to define a special kind of dashed bond. You could do
this:
@@ -645,15 +590,23 @@ It only exists so you can use it to access the bond length as set with
These options allow you to customize the ouptut of the compounds:
\begin{options}
\keyval{subscript-vshift}{dim}\Default{0pt}
- Extra vertical shift of the subscripts.
+ Extra vertical shift of the subscripts. This only works when
+ \keyis{math-scripts}{false} is in effect.
\keychoice{subscript-style}{text,math}\Default{text}
Style that is used to typeset the subscripts.
\keyval{charge-hshift}{dim}\Default{.25em}
Shift of superscripts when following a subscript.\label{desc:charge-hshift}
\keyval{charge-vshift}{dim}\Default{0pt}
- Extra vertical shift of the superscripts.
+ Extra vertical shift of the superscripts. This only works when
+ \keyis{math-scripts}{false} is in effect.
\keychoice{charge-style}{text,math}\Default{text}
Style that is used to typeset the superscripts.
+ \keybool{math-scripts}\Default{false}
+ \sinceversion{4.16}Switches to \TeX's native subscript and superscript
+ mechanism which might be your option of choice for the sake of
+ typographical consistency. \emph{This option is experimental. Please
+ report any problems you experience with this option to \chemformula's
+ bug tracker.}
\keychoice{circled}{formal,\default{all},none}\Default{formal}
\sinceversion{4.6}Like \chemmacros' package option but local to
\chemformula's \cs{ch}. That is: since \chemmacros' macros use
@@ -1516,10 +1469,6 @@ There are a number of options for customizations:
\end{options}
\appendix
-\newenvironment{changes}[2][]{%
- \subsection*{Version #2\ifblank{#1}{}{ (#1)}}
- \itemize\let\change\item
-}{\enditemize}
\section{History Since Version~4.0}
@@ -1623,4 +1572,12 @@ There are a number of options for customizations:
\change Various bug fixes.
\end{changes}
+\begin{changes}{4.16}
+ \change New option \option{math-scripts}
+ \change Use \LaTeX's new hooks and get rid of redundant package dependencies
+ and code.
+\end{changes}
+
+\printbibliography
+
\end{document}