diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2012-10-06 10:03:53 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2012-10-06 10:03:53 +0000 |
commit | 6fe101375538291dd611816c6d8b7d8107450090 (patch) | |
tree | a6ad95facac500a5796e1108351fdef8ce32f5a3 /Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex | |
parent | 8246c07a9c6185f4629628850b137d08e2a1a415 (diff) |
chemmacros update
git-svn-id: svn://tug.org/texlive/trunk@27904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex index ece445209b7..fd3bbee867d 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex @@ -45,13 +45,13 @@ \documentclass[DIV11,toc=index,toc=bib]{cnpkgdoc} \docsetup{ pkg = chemmacros, + language = en, title = the \Chemmacros\ bundle, subtitle = {packages \Chemmacros, \Chemformula\ and \Ghsystem}, modules = true, code-box = {skipabove=1ex,skipbelow=1ex} } -\usepackage{polyglossia} - \setmainlanguage{english} + \usepackage[varioref=false]{chemstyle} \usepackage{chemfig,upgreek,textgreek,booktabs,cancel} \usepackage[version=3]{mhchem} @@ -148,7 +148,7 @@ \renewcommand*\AmS{\hologo{AmS}} \newcommand*\pdfTeX{\hologo{pdfTeX}} -\newcommand*\LuaTeX{\hologo{LuaTeX}} +\renewcommand*\LuaTeX{\hologo{LuaTeX}} \TitlePicture{% \ch[font-spec={[Color=chemformula]Augie}]{ 2 "\OX{o1,\ox{0,Na}}" + "\OX{r1,\ox{0,Cl}}" {}2 -> 2 "\OX{o2,\ox{+1,Na}}" {}+ + 2 "\OX{r2,\ox{-1,Cl}}" {}- } @@ -180,7 +180,10 @@ \makeindex[columns=3,intoc,options={-sl \jobname.ist}] \begin{document} -\chemsetup[chemformula]{font-spec={[Color=chemformula]Latin Modern Sans}} +\chemsetup[chemformula]{ + font-spec = + {[Color=chemformula,Numbers={Proportional,Lining}]Latin Modern Sans} +} \renewcommand*\glqq{„} \renewcommand*\grqq{“} @@ -1479,7 +1482,13 @@ course options can also be chosen with \cmd{chemsetup}. Output with these options: \lstinline+<optionen>: delta=(ppm),pos-number=sub,use-equal+ \bigskip -\begin{experimental}[delta=(ppm),pos-number=sub,use-equal]\sisetup{separate-uncertainty,per-mode=symbol,detect-all,range-phrase=--}\chemsetup[chemformula]{format=} +\begin{experimental}[delta=(ppm),pos-number=sub,use-equal] + \sisetup{separate-uncertainty,per-mode=symbol,detect-all,range-phrase=--} + \chemsetup[chemformula]{ + font-spec = + {[Numbers={Proportional,Lining}]Linux Libertine O} + } + % \data*{yield} \SI{17}{\milli\gram} yellow needles (\SI{0.04}{\milli\mole}, \SI{13}{\percent}). % @@ -1521,7 +1530,13 @@ Output with these options: \lstinline+<optionen>: delta=(ppm),pos-number=sub,use Output with these options: \lstinline+<optionen>: format=\bfseries,delta=(ppm),list=true,use-equal+ \bigskip -\begin{experimental}[format=\bfseries,delta=(ppm),list=true,use-equal]\sisetup{separate-uncertainty,per-mode=symbol,detect-all,range-phrase=--}\chemsetup[chemformula]{format=} +\begin{experimental}[format=\bfseries,delta=(ppm),list=true,use-equal] + \sisetup{separate-uncertainty,per-mode=symbol,detect-all,range-phrase=--} + \chemsetup[chemformula]{ + font-spec = + {[Numbers={Proportional,Lining}]Linux Libertine O} + } + % \data*{yield} \SI{17}{\milli\gram} yellow needles (\SI{0.04}{\milli\mole}, \SI{13}{\percent}). % @@ -1577,7 +1592,13 @@ Output for these options: \code{<optionen>}: delta=\textcolor{green}{\ch{M+ + H2O}}, pos-number=side, coupling-unit=\mega\gram\per\square\second, - list-setup=,use-equal]\sisetup{separate-uncertainty,per-mode=symbol,detect-all,range-phrase=--}\chemsetup[chemformula]{format=} + list-setup=,use-equal] + \sisetup{separate-uncertainty,per-mode=symbol,detect-all,range-phrase=--} + \chemsetup[chemformula]{ + font-spec = + {[Numbers={Proportional,Lining}]Linux Libertine O} + } + % \data*{yield} \SI{17}{\milli\gram} yellow needles (\SI{0.04}{\milli\mole}, \SI{13}{\percent}). % @@ -1999,7 +2020,11 @@ Additionally there are two options, with which the \TikZ behaviour can be change \bspmidlength{dist}{7mm} \secidx*{Orbitals}\secidx*{CHEMMACROS} -\part{\texorpdfstring{\Chemformula}{chemformula}}\chemsetup[chemformula]{format=}\secidx{CHEMFORMULA}\label{part:chemformula} +\part{\texorpdfstring{\Chemformula}{chemformula}}\secidx{CHEMFORMULA}\label{part:chemformula} +\chemsetup[chemformula]{ + font-spec = + {[Numbers={Proportional,Lining}]Linux Libertine O} +} \section{Setup} All of \chemformula's options belong to the module \textcolor{module}{\code{chemformula}}. This means they can be setup with @@ -3309,7 +3334,7 @@ Many thanks to all the people who already provided me with feedback, especially \begin{itemize} \item \href{http://www.mathannotated.com/}{Peter Cao} \item Christina Lüdigk - \item Dr.\@ Paul King + \item Dr.\ Paul King \item Jonas Rivetti (Special thanks for his translation of the hazard and precautionary statements into Italian!) \item Christoph Schäfer |