summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/chemmacros
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-02 01:13:28 +0000
committerKarl Berry <karl@freefriends.org>2013-03-02 01:13:28 +0000
commite77fff9dbd365d2a2cf838b2a1f3d71ef5ecfad7 (patch)
treeca85b1713d99d96141cdba28d336ada6e762b581 /Master/texmf-dist/doc/latex/chemmacros
parentb979b6977fcd5d334404b254bba05601f4fd0bcb (diff)
chemmacros (28feb13)
git-svn-id: svn://tug.org/texlive/trunk@29263 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemmacros')
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/README4
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex34
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdfbin829839 -> 828677 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex52
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdfbin813811 -> 816311 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex51
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdfbin816900 -> 820074 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex52
8 files changed, 153 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/chemmacros/README b/Master/texmf-dist/doc/latex/chemmacros/README
index c0afb66d15b..8342f05b70d 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/README
+++ b/Master/texmf-dist/doc/latex/chemmacros/README
@@ -1,10 +1,10 @@
--------------------------------------------------------------------------
-the CHEMMACROS bundle v3.5
+the CHEMMACROS bundle v3.6
-> chemmacros package -> macros and commands for chemists
-> chemformula package -> typeset chemical compounds and reactions
-> ghsystem package -> typeset H & P statements and pictograms
from the globally harmonised system (GHS)
-2013/01/28
+2013/02/26
--------------------------------------------------------------------------
This bundle succeeds the chemmacros package which is now part of the
bundle
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex b/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
index 82e0636e67b..d7119b1e199 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex
@@ -108,19 +108,21 @@ no shift:\chemsetup[chemformula]{charge-hshift=0pt}\\
\verb|\ch{NH4+}| \ch{NH4+} \\
\verb|\ch{SO4^2-}| \ch{SO4^2-}
- \ch{A^{x-}} \\
- \ch{A^x-} \\
- \ch{A^{x}-} \\
- \ch{A^{$x-$}} \\
- \ch{RNO2^{-.}} \\
- \ch{^31H} \\
- \ch{^{14}6C} \\
- \ch{^{58}_{26}Fe} \\
- \ch{NO^*} \\
- \ch{SO4^2-} \ch{Ca^2+ SO4^2-}
+Other tests:
+
+\ch{A^{x-}} \\
+\ch{A^x-} \\
+\ch{A^{x}-} \\
+\ch{A^{$x-$}} \\
+\ch{RNO2^{-.}} \\
+\ch{^31H} \\
+\ch{^{14}6C} \\
+\ch{^{58}_{26}Fe} \\
+\ch{NO^*} \\
+\ch{SO4^2-} \ch{Ca^2+ SO4^2-}
\chemsetup[option]{circled=all}
- \ch{H+ + OH- <=> H2O}
+\ch{H+ + OH- <=> H2O}
\chemsetup{option/circled=formal,chemformula/charge-hshift=.5ex}
\ch{H^2} \ch[charge-vshift=.2ex]{H^2} H$^2$
@@ -131,10 +133,10 @@ no shift:\chemsetup[chemformula]{charge-hshift=0pt}\\
$ A^{\ch{SO4^2-}}$
- \ch{!(water)(H2O)} \quad
- \ch{!( "\textcolor{blue}{water}" )( H2O )} \quad
- \ch{!( $2n-1$ )( H2O )} \quad
- \ch{!( H2O )( H2O )} \quad
- \ch{!(oxonium)( H3O+ )}
+\ch{!(water)(H2O)} \quad
+\ch{!( "\textcolor{blue}{water}" )( H2O )} \quad
+\ch{!( $2n-1$ )( H2O )} \quad
+\ch{!( H2O )( H2O )} \quad
+\ch{!(oxonium)( H3O+ )}
\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf
index 00043c24734..f5b8f369199 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex
index 93ac08a9092..0fd1dcf1fab 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex
@@ -550,6 +550,21 @@ Bei der Sprachwahl \code{italian} werden zusätzliche IUPAC-Befehle definiert:
\item ein paar Änderungen am Aussehen des Radikalpunktes und neue Optionen, um es
anzupassen, siehe Abschnitt~\ref{ssec:compounds:customization}.
\end{itemize}
+
+\subsection{Versionen 3.5 und 3.6}
+\begin{itemize}
+ \item Zeilenumbrüche vor und nach Bindungen in Formeln sind nicht mehr möglich.
+ \item Zeilenumbrüche nach Pfeilen in Formeln sind erlaubt.
+ \item Einige der horizontalen Leerräume in Formeln haben jetzt dehnbare Anteile.
+ \item In Formeln ist geschützte Methe-EIngabe jetzt auch mit \cmd*{(} und
+ \cmd*{)} möglich.
+ \item Neue Optionen: \key{radical-vshift}, \key{radical-hshift} und
+ \key{radical-space} erlauben Feinkontrolle über den Radikalpunkt.
+ \item In stöchiometrischen Faktoren wird eine führende Null hinzugefügt, wenn
+ sie fehlt.
+ \item Neue Option: \key{stoich-paren-parse}.
+ \item Zahlreiche interne Änderungen am Code.
+\end{itemize}
\secidx*{Neues}\secidx*{BEVOR ES LOS GEHT}
\part{\texorpdfstring{\Chemmacros}{chemmacros}}\secidx{CHEMMACROS}
@@ -1240,6 +1255,7 @@ den Abstand zwischen Atom und Anfang der Linie zu verändern.
\OX{a,Na} $\rightarrow$ \OX{b,Na}\pch\redox(a,b)[->,red]{ox}
\end{beispiel}
+\newpage
Beispiele:% TODO: watch pagebreaks!
\begin{beispiel}[dist]
\ch{ 2 "\OX{o1,Na}" + "\OX{r1,Cl}" {}2 -> 2 "\OX{o2,Na}" \pch{} + 2
@@ -1274,6 +1290,7 @@ Beispiele:% TODO: watch pagebreaks!
\end{beispiel}
\secidx*{Redoxreaktionen}
+\newpage % TODO: watch pagebreaks
\section{(Standard) Zustand, Thermodynamik}\label{sec:standardstate}\secidx{Thermodynamik}
\subsection{Thermodynamische Größen}\label{ssec:siunitx}
Die folgenden Befehle verwenden \paket{siunitx}:
@@ -2203,14 +2220,20 @@ bestehen.
\ch{12}
% decimals:
- \ch{3.5} \\
+ \ch{.5} \\
\ch{5,75}
% fractions:
\ch{3/2} \\
\ch{1_1/2}
+
+ % ``iupac'':
+ \ch{(1/2)}
\end{beispiel}
+Wie Sie sehen können, wird bei Dezimalbrüchen eine führende Null ergänzt, wenn
+sie in der Eingabe fehlt.
+
Sie müssen bei dem Input ein wenig auf die richtige Syntax achten, aber ich denke,
sie ist recht intuitiv.
\begin{beispiel}[code only]
@@ -2218,7 +2241,8 @@ sie ist recht intuitiv.
\end{beispiel}
Wenn die stöchiometrischen Faktoren in Klammern geschrieben werden, werden die Brüche
-nicht umgewandelt. Was in den Klammern steht, wird genauso geschrieben.
+nicht umgewandelt und führende Nullen nicht ergänzt. Was in den Klammern steht,
+wird genauso geschrieben.
\begin{beispiel}
\ch{(1/2) H2O} \ch{1/2 H2O} \ch{0.5 H2O}
\end{beispiel}
@@ -2236,6 +2260,10 @@ Der Output kann mit diesen Optionen angepasst werden:
Default = \code{math}
\option{stoich-space}{<skip>} Der Leerraum nach einem stöchiometrischen Faktor.
Eine elastische Länge. Default = \code{.1667em plus .0333em minus .0117em}
+ \option{stoich-paren-parse}{\default{true}|false} Wenn die Option auf
+ \code{true} gesetzt ist, werden auch stöchiometrische Faktoren, die in Klammern
+ stehen, verarbeitet, d.h. Brüche umgewandelt und führende Nullen ergänzt.
+ Default = \code{false}
\end{beschreibung}
\begin{beispiel}
\ch[decimal-marker={,}]{3.5} \ch[decimal-marker={$\cdot$}]{3,5}
@@ -2514,6 +2542,12 @@ Diese Optionen ermöglichen Ihnen, den Output anzupassen:
undefiniert.
\option{radical-radius}{<dim>} Der Radius des Radikalpunktes. Default =
\code{.2ex}
+ \option{radical-hshift}{<dim>} Horizontaler Leerraum vor dem Radikalpunkt.
+ Default = \code{.15em}
+ \option{radical-vshift}{<dim>} Vertikale Position des Radikalpunktes relativ zur
+ aktuellen Grundlinie. Default = \code{.5ex}
+ \option{radical-space}{<dim>} Horizontaler Leerraum nach dem Radikalpunkt.
+ Default = \code{.15em}
\end{beschreibung}
Vielleicht ist Ihnen aufgefallen, dass bei manchen Ionen die Ladungen nach rechts
@@ -2663,15 +2697,19 @@ einen Befehl innerhalb von \cmd{ch} zu verwenden, versuchen Sie die geschützte
Methode.
\subsection{Mathematik}\secidx[math]{Geschützter Input}[Geschuetzter Input]
-Wenn Sie speziell Mathematik-Input haben, setzen Sie ihn einfach zwischen \lstinline+$ $+.
-Der Output unterscheidet sich vom geschützten Text (abgesehen von Mathe-Layout)
-darin, dass ihm ein Leerraum folgt.
-\begin{beschreibung}\catcode`\$=11
- \Befehl{ch}{ $<escaped math>$ }
+Wenn Sie speziell Mathematik-Input haben, setzen Sie ihn einfach zwischen
+\lstinline+$ $+. Der Output unterscheidet sich vom geschützten Text (abgesehen
+von Mathe-Layout) darin, dass ihm ein Leerraum folgt. Der Grund dafür ist, dass
+ich davon ausgehe, das Mathe-Eingabe vor allem an Stelle von stöchiometrischen
+Faktoren eingesetzt wird.
+\begin{beschreibung}
+ \Befehl{ch}{ \string$<escaped math>\string$ }
+ \Befehl{ch}{ \string\(<escaped math>\string\) }
\end{beschreibung}
\begin{beispiel}
escaped text: \ch{"$x$" H2O} \\
escaped math: \ch{$x$ H2O} \\
+ also escaped math: \ch{\(x\) H2O} \\
\ch{$2n$ Na + $n$ Cl2 -> $2n$ NaCl}
\end{beispiel}
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf
index 1a7e2f67837..f93f05024fe 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex
index 45d723691b3..b1743cf1432 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex
@@ -530,12 +530,24 @@ Choosing the language \code{italian} defines two additional \ac{iupac} commands:
\item \chemmacros got an Italian manual, many thanks to Jonas Rivetti who
volunteered to not only translate the H \&\ P statements but also this
documentation!
- \item the command \cmd{bond} which allows to use other bonds than single, double
+ \item The command \cmd{bond} which allows to use other bonds than single, double
and triple, see section~\ref{ssec:bonds}. I wanted to add this for a long time!
- \item a few changes to the looks of the radical point and new options to customize
+ \item A few changes to the looks of the radical point and new options to customize
it, see section~\ref{ssec:compounds:customization}.
\end{itemize}
+\subsection{Versions 3.5 and 3.6}
+\begin{itemize}
+ \item Line breaks at bonds in formulas are no longer possible.
+ \item Line breaks after arrows in formulas are possible.
+ \item Some of the horizontal spaces in formulas are now stretch- and shrinkable.
+ \item In formulas math escaping is also via \cmd*{(} and \cmd*{)} possible.
+ \item New options: \key{radical-vshift}, \key{radical-hshift} and
+ \key{radical-space} allow finer control over the radical dot.
+ \item In stoichiometric factors a leading 0 is added if missing.
+ \item New option: \key{stoich-paren-parse}.
+ \item Various internal changes to the code.
+\end{itemize}
\secidx*{News}\secidx*{PRELIMINARIES}
\part{\texorpdfstring{\Chemmacros}{chemmacros}}\secidx{CHEMMACROS}\label{part:chemmacros}
@@ -1224,11 +1236,13 @@ Examples:% TODO: watch pagebreaks!
\end{beispiel}
\begin{beispiel}[dist]
\ch{ 2 "\OX{o1,\ox{0,Na}}" + "\OX{r1,\ox{0,Cl}}" {}2 -> 2 "\OX{o2,\ox{+1,Na}}"
-\pch{} + 2 "\OX{r2,\ox{-1,Cl}}" \mch }
+ \pch{} + 2 "\OX{r2,\ox{-1,Cl}}" \mch }
\redox(o1,o2){\small OX: $- 2\el$}
\redox(r1,r2)[][-1]{\small RED: $+ 2\el$}
\vspace{7mm}
\end{beispiel}
+
+\newpage
\bspmidlength{dist}{15mm}
\begin{beispiel}[dist]
\ch{ 2 "\OX{o1,\ox{0,Na}}" + "\OX{r1,\ox{0,Cl}}" {}2 -> 2 "\OX{o2,\ox{+1,Na}}"
@@ -1237,11 +1251,10 @@ Examples:% TODO: watch pagebreaks!
\redox(r1,r2)[draw=blue,->]{\small RED: $+ 2\el$}
\end{beispiel}
-\newpage
\bspmidlength{dist}{7mm}
\begin{beispiel}[dist]
\ch{ 2 "\OX{o1,\ox{0,Na}}" + "\OX{r1,\ox{0,Cl}}" {}2 -> 2 "\OX{o2,\ox{+1,Na}}"
-\pch{} + 2 "\OX{r2,\ox{-1,Cl}}" \mch }
+ \pch{} + 2 "\OX{r2,\ox{-1,Cl}}" \mch }
\redox(o1,o2)[green,-stealth]{\small OX}
\redox(r1,r2)[purple,-stealth][-1]{\small RED}
\vspace{7mm}
@@ -2142,14 +2155,19 @@ A stoichiometric factor may only contain of numbers and the signs \lstinline+.,_
\ch{12}
% decimals:
- \ch{3.5} \\
+ \ch{.5} \\
\ch{5,75}
% fractions:
\ch{3/2} \\
\ch{1_1/2}
+
+ % ``iupac'':
+ \ch{(1/2)}
\end{beispiel}
+As you can see if you input decimal numbers a missing leading zero is added.
+
You have to be a little bit careful with the right syntax but I believe it is
rather intuitive.
\begin{beispiel}[code only]
@@ -2157,7 +2175,8 @@ rather intuitive.
\end{beispiel}
If stoichiometric factors are enclosed with parentheses the fractions are not
-recognized. What's inside the parenthesis is typeset as is.
+recognized and missing leading zeros are not added. What's inside the parentheses
+is typeset as is.
\begin{beispiel}
\ch{(1/2) H2O} \ch{1/2 H2O} \ch{0.5 H2O}
\end{beispiel}
@@ -2175,6 +2194,8 @@ There are a few possibilities to customize the output.
Default = \code{math}
\option{stoich-space}{<skip>} The space that is placed after the stoichiometric
factor. A rubber length. Default = \code{.1667em plus .0333em minus .0117em}
+ \option{stoich-paren-parse}{\default{true}|false} If set to true stoichiometric
+ factors enclosed by parentheses also are parsed. Default = \code{false}
\end{beschreibung}
\begin{beispiel}
\ch[decimal-marker={,}]{3.5} \ch[decimal-marker={$\cdot$}]{3,5}
@@ -2446,6 +2467,12 @@ These options allow you to customize the ouptut of the compounds:
empty.
\option{radical-radius}{<dim>} The radius of the radical point. Default =
\code{.2ex}
+ \option{radical-hshift}{<dim>} Horizontal shift before the radical point is
+ drawn. Default = \code{.15em}
+ \option{radical-vshift}{<dim>} Vertical shift relative to the current baseline.
+ Default = \code{.5ex}
+ \option{radical-space}{<dim>} Horizontal shift after the radical point is
+ drawn. Default = \code{.15em}
\end{beschreibung}
Maybe you have noticed that charges of certain ions are shifted to the right.\secidx[charges!shift]{Compounds}
@@ -2594,13 +2621,17 @@ when using a command inside \cmd{ch} try hiding it.
\subsection{Math}\secidx[math]{Escaped Input}
If you especially want to input math you just enclose it with \lstinline+$ $+.
-This output is different from the escaped text as it is followed by a space.
-\begin{beschreibung}\catcode`\$=11
- \Befehl{ch}{ $<escaped math>$ }
+This output is different from the escaped text as it is followed by a space. The
+reasoning behind this is that I assume math will mostly be used to replace
+stoichiometric factors.
+\begin{beschreibung}
+ \Befehl{ch}{ \string$<escaped math>\string$ }
+ \Befehl{ch}{ \string\(<escaped math>\string\) }
\end{beschreibung}
\begin{beispiel}
escaped text: \ch{"$x$" H2O} \\
escaped math: \ch{$x$ H2O} \\
+ also escaped math: \ch{\(x\) H2O} \\
\ch{$2n$ Na + $n$ Cl2 -> $2n$ NaCl}
\end{beispiel}
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf
index 7e405f77614..4e3e48c6081 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex
index d0649f7bba5..39b8ded627e 100644
--- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex
+++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex
@@ -555,6 +555,23 @@ Selezionando come lingua \code{italian} vengono definiti ulteriori comandi \ac{i
\item Alcuni cambiamenti all'aspetto del punto radicalico e nuove opzioni per la
sua personalizzazione (vedi il sottoparagrafo~\ref{ssec:compounds:customization}).
\end{itemize}
+
+\subsection{Versioni 3.5 e 3.6}
+\begin{itemize}
+ \item Le interruzioni di riga che precedono o seguono i legami nelle formule non
+ sono più possibili.
+ \item Le interruzioni di riga seguenti le frecce di reazione nelle formule sono
+ ora permesse.
+ \item Alcuni degli spazi orizzontali nelle formule ora hanno dei componenti
+ elastici.
+ \item È ora possibile inserire un ambiente matematico protetto all'interno
+ delle formule anche con \cmd*{(} e \cmd*{)}.
+ \item Le nuove opzioni \key{radical-vshift}, \key{radical-hshift} e
+ \key{radical-space} permettono un controllo fine sul punto di radicale.
+ \item Nei fattori stechiometrici viene inserito uno zero iniziale quando mancante.
+ \item Nuova opzione \key{stoich-paren-parse}.
+ \item Numerose variazioni interne del codice.
+\end{itemize}
\secidx*{Novità}\secidx*{PRIMA DI COMINCIARE}
\part{\texorpdfstring{\Chemmacros}{chemmacros}}\secidx{CHEMMACROS}
@@ -1239,6 +1256,8 @@ permette di variare la distanza tra atomo e inizio della linea.
\OX{a,Na} $\rightarrow$ \OX{b,Na}\pch\redox(a,b)[->,red]{ox}
\end{beispiel}
+% TODO: watch pagebreaks!
+\newpage
Esempi:
\begin{beispiel}[dist]
\ch{ 2 "\OX{o1,Na}" + "\OX{r1,Cl}" {}2 -> 2 "\OX{o2,Na}" \pch{} + 2
@@ -1273,6 +1292,8 @@ Esempi:
\end{beispiel}
\secidx*{Reazioni redox}
+% TODO: watch pagebreaks!
+\newpage
\section{Stati (standard), termodinamica}\label{sec:standardstate}\secidx{Termodinamica}
\subsection{Grandezze termodinamiche}\label{ssec:siunitx}
I comandi seguenti impiegano \paket{siunitx}:
@@ -2128,14 +2149,20 @@ Un fattore stechiometrico deve contenere solo cifre e simboli tra i seguenti: \l
\ch{12}
% decimals:
- \ch{3.5} \\
+ \ch{.5} \\
\ch{5,75}
% fractions:
\ch{3/2} \\
\ch{1_1/2}
+
+ % ``iupac'':
+ \ch{(1/2)}
\end{beispiel}
+Come nell'esempio per le frazioni decimali viene introdotto uno zero iniziale
+quando manca nell'input.
+
Nell'input è necessario badare alla sintassi giusta, anche se ritengo che sia
piuttosto intuitiva.
\begin{beispiel}[code only]
@@ -2143,7 +2170,8 @@ piuttosto intuitiva.
\end{beispiel}
Quando i fattori stechiometrici sono scritti tra parentesi le frazioni non vengono
-convertite. Il testo inserito tra parentesi viene reso allo stesso modo.
+convertite e gli eventuali zeri iniziali non vengono aggiunti.
+Il testo inserito tra parentesi viene reso allo stesso modo dell'input.
\begin{beispiel}
\ch{(1/2) H2O} \ch{1/2 H2O} \ch{0.5 H2O}
\end{beispiel}
@@ -2162,6 +2190,10 @@ L'output può essere adattato utilizzando le opzioni seguenti:
le frazioni. Default = \code{math}
\option{stoich-space}{<skip>} La dimensione dello spazio dopo un fattore stechiometrico.
Una lunghezza elastica. Default = \code{.1667em plus .0333em minus .0117em}
+ \option{stoich-paren-parse}{\default{true}|false} Quando l'opzione è impostata
+ a \code{true} anche i fattori stechiometrici compresi tra parentesi vengono
+ elaborati, cioè le frazioni convertite e gli zeri iniziali inseriti.
+ Default = \code{false}
\end{beschreibung}
\begin{beispiel}
\ch[decimal-marker={,}]{3.5} \ch[decimal-marker={$\cdot$}]{3,5}
@@ -2436,6 +2468,12 @@ Le seguenti opzioni permettono di adattare l'output:
\option{radical-style}{<tikz>} Opzioni di \TikZ\ per il punto radicalico.
Inizialmente vuoto.
\option{radical-radius}{<dim>} Il raggio del punto radicalico. Default = \code{.2ex}
+ \option{radical-hshift}{<dim>} Spazio orizzontale precedente il punto
+ radicalico. Default = \code{.15em}
+ \option{radical-vshift}{<dim>} Posizione verticale del punto radicalico
+ riferita all'attuale linea di base. Default = \code{.5ex}
+ \option{radical-space}{<dim>} Spazio orizzontale seguente il punto radicalico.
+ Default = \code{.15em}
\end{beschreibung}
Forse l'utente si sarà accorto che per alcuni ioni le cariche sono spostate a
@@ -2584,13 +2622,17 @@ impiegare un comando all'interno di \cmd{ch} può essere utile applicare il modo
\subsection{Matematica}\secidx[math]{Input protetto}
Quando si ha dell'input matematico, è sufficiente porlo tra \lstinline+$ $+.
L'output si distingue dal testo protetto (oltre che per il modo matematico)
-anche per la presenza di uno spazio in seguito.
-\begin{beschreibung}\catcode`\$=11
- \Befehl{ch}{ $<escaped math>$ }
+anche per la presenza di uno spazio in seguito. Il motivo è che suppongo che
+l'input matematico venga utilizzato soprattutto in luogo dei fattori
+stechiometrici.
+\begin{beschreibung}
+ \Befehl{ch}{ \string$<escaped math>\string$ }
+ \Befehl{ch}{ \string\(<escaped math>\string\) }
\end{beschreibung}
\begin{beispiel}
escaped text: \ch{"$x$" H2O} \\
escaped math: \ch{$x$ H2O} \\
+ also escaped math: \ch{\(x\) H2O} \\
\ch{$2n$ Na + $n$ Cl2 -> $2n$ NaCl}
\end{beispiel}