diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex index 1d719c2f66a..8fc970a5562 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex @@ -4,7 +4,7 @@ % - macros and commands for chemists - % % --------------------------------------------------------------------------- % % - Clemens Niederberger - % -% - 2011/10/28 - % +% - 2011/11/03 - % % --------------------------------------------------------------------------- % % - http://www.mychemistry.eu/ - % % - contact@mychemistry.eu - % @@ -34,7 +34,7 @@ \newcommand*\CMname{\textsf{chemmacros}\xspace} \newcommand*\CMversion{2.0\xspace} -\newcommand*\CMdate{2011/10/28\xspace} +\newcommand*\CMdate{2011/11/03\xspace} % changing some tufte-handout settings \titleformat{\section}[hang]{\normalfont\Large\bfseries}{\thesection}{1em}{}[] @@ -117,6 +117,7 @@ \group_end: } +% Key[<default>][<module>](<label prefix>){<key>}{<val>} \NewDocumentCommand \Key { o o d() m m } { \IfNoValueTF { #3 } @@ -173,7 +174,7 @@ \begin{titlepage} \begin{fullwidth} \centering - \Huge chemmacros v\CMversion + \Huge chemmacros v\CMversion{}a \vskip.5cm \Large\CMdate \vskip.5cm @@ -250,6 +251,7 @@ Some simple macros for displaying often needed particles and a symbol. Please no \item\cmd{ntr} \ntr (neutron) \item\cmd{Nu} \Nu (nucleophile) \item\cmd{El} \El (electrophile) + \item\cmd{ba} \ba (base) \item\cmd{fplus} \fplus \item\cmd{fminus} \fminus \item\cmd{transitionstatesymbol} \transitionstatesymbol\ (uses \TikZ) @@ -262,6 +264,22 @@ There is another command which allows to typeset radicals with charges and subsc \begin{LTXexample} \R[+]{tert} \R[-]{sek} \R{prim} \end{LTXexample} +The two particles \cmd{Nu} and \cmd{ba} can be modified. To do that you use the key \code{elpair}\Key[false][particle]{elpair}{false/\uline{dots}/dash}. It only has any effect, if the package \paket{chemfig} is loaded, since it uses it's command \cmd{Lewis}. +\begin{LTXexample} + \documentclass{article} + \usepackage{chemmacros,chemfig} + \begin{document} + \ba[elpair] \Nu[elpair=dash] + \end{document} +\end{LTXexample} +\begin{LTXexample} + \documentclass{article} + \usepackage{chemmacros,chemfig} + \begin{document} + \chemsetup[particle]{elpair} + \ba \Nu + \end{document} +\end{LTXexample} \section{Stereo Descriptors, Nomenclature, Latin Phrases}\label{sec:stereo} \subsection{Stereo Descriptors and Nomenclature} @@ -298,6 +316,7 @@ absolute configuration (uses \TikZ): \cmd{Sconf\oa{<letter>}} \cmd{Sconf}: \Sconf \quad\cmd{Sconf\oa{}}: \Sconf[] \end{framed} +\newpage Examples:\marginnote{Of course the appearance depends on the font you chose:\par\cip{2S,3R} \E \Z \Dfi \Lfi\par\fontfamily{ptm}\selectfont\cip{2S,3R} \E \Z \Dfi \Lfi\par\fontfamily{ppl}\selectfont\cip{2S,3R} \E \Z \Dfi \Lfi} \begin{LTXexample}[pos=b] \Dfi-Weins\"aure = \cip{2S,3S}-Weins\"aure \\ @@ -308,7 +327,6 @@ Examples:\marginnote{Of course the appearance depends on the font you chose:\par \IUPAC{\Dfi\-Wein\|s\"aure} = \IUPAC{\cip{2S,3S}\-Wein\|s\"aure}, \IUPAC{\Dfi\-($-$)\-Threose} = \IUPAC{\cip{2S,3R}\-($-$)\-2,3,4\-Tri\|hydroxy\|butanal} \end{LTXexample} -\newpage \subsection{Latin Phrases} At last there are two commands for common latin phrases. \begin{framed} @@ -464,7 +482,9 @@ The following macros are useful together with \paket{chemfig}, too. \cmd{scrp} \scrp (\textbf{scr}iptstyle + \textbf{p}lus) \\ \cmd{scrm} \scrm (\textbf{scr}iptstyle + \textbf{m}inus) \\ \cmd{fscrp} \fscrp \\ - \cmd{fscrm} \fscrm + \cmd{fscrm} \fscrm \\ + \cmd{fsscrp} \fsscrp (using \cmd{scriptscriptstyle})\\ + \cmd{fsscrm} \fsscrm \end{framed} \begin{LTXexample}[pos=b,rframe=] \setatomsep{1.8em}\chemfig{CH_3-\chemabove{C}{\scrp}(-[6]C|H_3)-\vphantom{H_3}CH_3} @@ -550,7 +570,6 @@ Examples: In v1.1 there was the command \cmd{setredoxdist\ma{<dim>}}\formercmd{setredoxdist\ma{<dim>}}. By using the package option \code{version=1} it is provided again. -\newpage \section{(Standard) State, Thermodynamics}\label{sec:standardstate} \subsection{Thermodynamic Variables}\label{ssec:siunitx} The following commands use \paket{siunitx}:\changed{Enthalpy}\changed{Entropy}\changed{Gibbs} @@ -844,6 +863,7 @@ One can think of other uses, too: C\sld[graphite] \end{LTXexample} +\newpage \subsection{Text Under Compounds}\label{ssec:mhchem_beschriftung} \CMname provides a command, with which you can place text below of compounds.\changed{mhName}\Key[\cmd{centering}][mhName]{align}{<alignment>}\Key[][mhName]{fontattr}{<commands>}\Key[\cmd{tiny}][mhName]{fontsize}{<fontsize>}\Key[][mhName]{width}{<dim>} \begin{framed} @@ -923,6 +943,7 @@ There are the following types available for \code{<type>}: \orbital{s} \orbital{p} \orbital{sp} \orbital{sp2} \orbital{sp3} \end{LTXexample} +\newpage Depending on the type you have different keys to modify the orbitals:\Key[+][orbital/<type>](orbital){phase}{\uline{+}/-}\Key[1][orbital/<type>](orbital){scale}{<factor>}\Key[black][orbital/<type>](orbital){color}{<color>}\Key[90][orbital/<type>](orbital){angle}{<angle>}\Key[false][orbital/<type>](orbital){half}{\uline{true}/false} \begin{itemize} \item\code{phase = \uline{+}/-} changes the phase of the orbital (all types) @@ -988,6 +1009,8 @@ Some keys can be set without value. Then the \uline{underlined} value is used. german & option & \uline{true}/false & false & page \pageref{key:option_german} \\ version & option & 1/2 & 2 & page \pageref{key:option_version} \\ xspace & option & \uline{true}/false & true & page \pageref{key:option_xspace} \\ + \multicolumn{5}{l}{\cmd{ba}, \cmd{Nu}:} \\ + elpair & base & \uline{dots}/dash/false & false & page \pageref{key:particle_elpair} \\ \multicolumn{5}{l}{\cmd{pch}, \cmd{mch}, \cmd{fpch}, \cmd{fmch}:} \\ append & charges & \uline{true}/false & false & Seite \pageref{key:charges_append} \\ \multicolumn{5}{l}{\cmd{ox}:} \\ |