diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-23 22:17:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-23 22:17:22 +0000 |
commit | ce96f93eee04e6c89a60b819a43ec27e85fce25e (patch) | |
tree | dea2dab0e57066d3db2ceefd7d96364f42ab9b9d /Master/texmf-dist/doc/latex/chemmacros | |
parent | 1ea90739d1ab4cbc99996063321d8d94f05a7ab9 (diff) |
chemmacros (21apr13)
git-svn-id: svn://tug.org/texlive/trunk@30082 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/chemmacros')
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemformula_test_sub_and_superscripts.tex | 51 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf | bin | 828677 -> 848597 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex | 50 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf | bin | 816311 -> 836231 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex | 90 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf | bin | 820074 -> 841281 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex | 49 |
8 files changed, 178 insertions, 66 deletions
diff --git a/Master/texmf-dist/doc/latex/chemmacros/README b/Master/texmf-dist/doc/latex/chemmacros/README index 8342f05b70d..8cf1cfdf0af 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.6 +the CHEMMACROS bundle v3.6b -> 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/02/26 +2013/03/19 -------------------------------------------------------------------------- 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 d7119b1e199..f08d1764bc0 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 @@ -138,5 +138,54 @@ $ A^{\ch{SO4^2-}}$ \ch{!( $2n-1$ )( H2O )} \quad \ch{!( H2O )( H2O )} \quad \ch{!(oxonium)( H3O+ )} - + +\ch{O2^{.-}} + +\ch[radical-vshift=.4ex]{O2^{.-}} + +\ch{.5 H2O} + +\ch{,5 H2O} + +\ch{1.5 H2O} + +\ch{1,5 H2O ->[a][ b2+ ] ?? <=>> CH2+CH2 == SO4^2- + Ca^2+} + +\ch{1/2 H2O} + +\ch{(1.5) H2O} \ch{( H2O )} \ch{!( bla )( H2O )} + +\ch{(1/5) H2O} + +\chemsetup[chemformula]{stoich-paren-parse = true} +\ch{(1/5) H2O} + +\ch{3_1/2 H2O} + +\Hpl + +\ghspic{skull} + +\Sconf + +\p{H} + +\pH{} \pOH + +\pKa{} \pKb + +\newman{1,2,3} + +\orbital{s} \orbital{p} \orbital{sp} \orbital{sp2} \orbital{sp3} + +\bigskip + +\OX{a,Na} $\rightarrow$ \OX{b,Na}\pch +\redox(a,b)[->,red]{ox} +\redox(a,b)[<-,blue][-1]{red} + +\bigskip + +\ch{"->"} + \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 Binary files differindex f5b8f369199..d1f6d89a1db 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.pdf diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex index 0fd1dcf1fab..d9363e0dadb 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_de.tex @@ -50,10 +50,10 @@ language = de, subtitle = {Pakete \Chemmacros, \Chemformula\ und \Ghsystem}, modules = true, - code-box = {skipabove=1ex,skipbelow=1ex} + code-box = {skipabove=1ex,skipbelow=1ex}, + label = {}, } -% \usepackage[varioref=false]{chemstyle} \usepackage{chemfig,upgreek,textgreek,booktabs,cancel} \usepackage[version=3]{mhchem} \usepackage{hologo} @@ -102,6 +102,12 @@ \chemsetup[option]{synchronize,language=german} \colorlet{chemformula}{darkgray} +\sisetup{ + detect-mode=false, + mode=text, + text-rm=\addfontfeatures{Numbers={Proportional,Lining}} +} + \usepackage{filecontents} \begin{filecontents*}{\jobname.ist} @@ -112,10 +118,11 @@ heading_prefix "{\\bfseries " heading_suffix "\\hfil}\\nopagebreak\n" headings_flag 1 - delim_0 "\\ \\dotfill\\ " - delim_1 "\\ \\dotfill\\ " - delim_2 "\\ \\dotfill\\ " - delim_r "\\textendash" + delim_0 "\\dotfill\\hyperpage{" + delim_1 "\\dotfill\\hyperpage{" + delim_2 "\\dotfill\\hyperpage{" + delim_r "}\\textendash\\hyperpage{" + delim_t "}" suffix_2p "\\nohyperpage{\\,f.}" suffix_3p "\\nohyperpage{\\,ff.}" \end{filecontents*} @@ -167,7 +174,9 @@ denominator-bot-sep = -.2ex , denominator-format = \scriptsize #1 , numerator-top-sep = -.2ex , - numerator-format = \scriptsize #1 + numerator-format = \scriptsize #1 , + slash-right-kern = .05em , + slash-left-kern = .05em } \newcommand*\chemformula{{\scshape\textcolor{cnpkgblue}{chemformula}}\xspace} @@ -217,6 +226,7 @@ w,xspace,Z} \usepackage{imakeidx} +\indexsetup{othercode=\footnotesize} \makeindex[columns=3,intoc,options={-sl \jobname.ist}] \begin{document} @@ -564,6 +574,7 @@ Bei der Sprachwahl \code{italian} werden zusätzliche IUPAC-Befehle definiert: sie fehlt. \item Neue Option: \key{stoich-paren-parse}. \item Zahlreiche interne Änderungen am Code. + \item Neue Option: \key{arrow-min-length}. \end{itemize} \secidx*{Neues}\secidx*{BEVOR ES LOS GEHT} @@ -766,7 +777,6 @@ Tabelle~\ref{tab:iupac_modes} demonstriert die verschiedenen Modi. \caption{Demonstration der verschiedenen \protect\key{iupac}-Modi.}\label{tab:iupac_modes} \end{table} -% TODO : Text umbrechen \subsubsection{Vordefinierte Befehle}\secidx[vordefiniert]{IUPAC-Namen}\secidx{Stereodeskriptoren und Nomenklatur} \paragraph{Griechische Buchstaben}\label{par:greek_letters}\secidx[griechische Buchstaben]{IUPAC-Namen} Griechische Buchstaben in Verbindungsnamen werden aufrecht geschrieben. Dafür gibt @@ -1018,7 +1028,11 @@ Ladungssymbolen, siehe auch Abschnitt \ref{sec:optionen}. Alle Befehle, die formale Ladungen ausgeben, starten mit einem \code{f}. \subsection{Ionenladungen}\label{ssec:ionen}\secidx{Ionenladungen} -Einfache Verwendung von (realen) Ladungen: +Einfache Verwendung von (realen) Ladungen. Man sollte anmerken, dass diese +Befehle aus der Zeit stammen, als \chemmacros sich stark bemühte, mit +\paket{mhchem} kompatibel zu sein, und es \Chemformula noch nicht gab. Sie +werden weiterhin zur Verfügung gestellt, aber meine Empfehlung wäre, \cmd{ch} +(siehe~\ref{part:chemformula}) zu verwenden und diese Befehle zu vergessen: \begin{beschreibung} \befehl{pch}[<number>] positive Ladung (\textbf{p}lus + \textbf{ch}arge) \befehl{mch}[<number>] negative Ladung (\textbf{m}inus + \textbf{ch}arge) @@ -1255,7 +1269,6 @@ 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 @@ -2285,7 +2298,7 @@ eigenen Bedarf umdefiniert werden kann. Default ist folgendes: slash-right-kern = -.15em } \end{beispiel} -Dieses Dokument verwendet den Font \textsc{Linux Libertine O} und folgende Definition: +Dieses Dokument verwendet den Font Linux Libertine~O und folgende Definition: \begin{beispiel}[code only] \DeclareInstance{xfrac}{chemformula-text-frac}{text} { @@ -2293,7 +2306,9 @@ Dieses Dokument verwendet den Font \textsc{Linux Libertine O} und folgende Defin denominator-bot-sep = -.2ex , denominator-format = \scriptsize #1 , numerator-top-sep = -.2ex , - numerator-format = \scriptsize #1 + numerator-format = \scriptsize #1 , + slash-right-kern = .05em , + slash-left-kern = .05em } \end{beispiel} @@ -2799,7 +2814,10 @@ Mit folgenden Optionen können Sie das Erscheinungsbild der Pfeile anpassen: \begin{beschreibung} \option{arrow-offset}{<dim>} Die Länge, die ein Pfeil links und rechts über die Beschriftung hinausragt. Die Länge eines leeren Pfeils beträgt zwei mal - \code{arrow-offset}. Eine \TeX-Länge. Default = \code{.75em} + \code{arrow-offset}. Eine \TeX-Länge. Default = \code{.75em} + \option{arrow-min-length}{<dim>} Die minimale Länge, die ein Pfeil hat, wenn + zwei mal \key{arrow-offset} plus die Breite der Beschriftung nicht größer ist. + Default = \code{0pt} \option{arrow-yshift}{<dim>} Verschiebt einen Pfeil nach oben (positiver Wert) oder nach unten (negativer Wert). Eine \TeX-Länge. Default = \code{0pt} \option{arrow-ratio}{<factor>} Das Verhältnis der Pfeillängen der ver unbalancierten @@ -3294,7 +3312,7 @@ Sie können die Sprache auch explizit wählen. Ich werde in irgendwann in der Zukunft weitere Sprachen implementieren. Das kann aber eine Weile dauern. Wenn Sie gerne zu \ghsystem beisteuern möchten und die Sätze in einer anderen Sprache tippen wollen, kontaktieren Sie mich\footnote{% -\href{mailto:contac@mychemistry.eu}{contact@mychemistry.eu}} gerne. Ich stelle +\href{mailto:contact@mychemistry.eu}{contact@mychemistry.eu}} gerne. Ich stelle Ihnen dann eine Template-Datei, ein \acs{pdf} mit den offiziellen Übersetzungen sowie jede weitere Hilfe, die sie benötigen. @@ -3509,7 +3527,7 @@ auf \url{https://bitbucket.org/cgnieder/chemmacros/} melden. Vielen Dank an alle, die mir schon Feedback zukommen ließen, vor allem (in alphabetischer Reihenfolge): \begin{itemize} - \item \href{http://www.mathannotated.com/}{Peter Cao} + \item Peter Cao \item Christina Lüdigk \item Dr.\ Paul King \item Jonas Rivetti (Besonderen Dank für seine Übersetzung der H- und P-Sätze @@ -3518,7 +3536,7 @@ alphabetischer Reihenfolge): \item Timo Stein \end{itemize} -{\EmbracOff\printbibliography[title=Quellen]} +\printbibliography[title=Quellen] {\catcode`\^=11 \catcode`\#=11 \catcode`\|=11 \printindex} diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf Binary files differindex f93f05024fe..9bef3059b5e 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex index b1743cf1432..77c85e11dca 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex @@ -1,7 +1,7 @@ % arara: xelatex % arara: biber % arara: xelatex -% !arara: xelatex +% arara: xelatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ----------------------------------------------------------------------------- % - the CHEMMACROS bundle @@ -49,11 +49,10 @@ title = the \Chemmacros\ bundle, subtitle = {packages \Chemmacros, \Chemformula\ and \Ghsystem}, modules = true, - code-box = {skipabove=1ex,skipbelow=1ex} + code-box = {skipabove=1ex,skipbelow=1ex}, + label = {}, } -% \usepackage{scrhack} -% \usepackage[varioref=false,floats=float]{chemstyle} \usepackage{chemfig,upgreek,textgreek,booktabs,cancel} \usepackage[version=3]{mhchem} \usepackage{hologo} @@ -102,6 +101,12 @@ \chemsetup[option]{synchronize} \colorlet{chemformula}{darkgray} +\sisetup{ + detect-mode=false, + mode=text, + text-rm=\addfontfeatures{Numbers={Proportional,Lining}} +} + \usepackage{filecontents} \begin{filecontents*}{\jobname.ist} @@ -112,10 +117,11 @@ heading_prefix "{\\bfseries " heading_suffix "\\hfil}\\nopagebreak\n" headings_flag 1 - delim_0 "\\ \\dotfill\\ " - delim_1 "\\ \\dotfill\\ " - delim_2 "\\ \\dotfill\\ " - delim_r "\\textendash" + delim_0 "\\dotfill\\hyperpage{" + delim_1 "\\dotfill\\hyperpage{" + delim_2 "\\dotfill\\hyperpage{" + delim_r "}\\textendash\\hyperpage{" + delim_t "}" suffix_2p "\\nohyperpage{\\,f.}" suffix_3p "\\nohyperpage{\\,ff.}" \end{filecontents*} @@ -166,7 +172,9 @@ denominator-bot-sep = -.2ex , denominator-format = \scriptsize #1 , numerator-top-sep = -.2ex , - numerator-format = \scriptsize #1 + numerator-format = \scriptsize #1 , + slash-right-kern = .05em , + slash-left-kern = .05em } \newcommand*\chemformula{{\scshape\textcolor{cnpkgblue}{chemformula}}\xspace} @@ -218,6 +226,7 @@ w,xspace,Z} \usepackage{imakeidx} +\indexsetup{othercode=\footnotesize} \makeindex[columns=3,intoc,options={-sl \jobname.ist}] \begin{document} @@ -230,9 +239,10 @@ \part{Preliminaries}\secidx{PRELIMINARIES} \section{Licence, Requirements and README} -The \chemmacros bundle underlies the \LaTeX\ project public license (lppl) -version 1.3 or later (\url{http://www.latex-project.org/lppl.txt}) and has the -status ``maintained.'' +Permission is granted to copy, distribute and/or modify this software under the +terms of the \LaTeX\ project public license (lppl) version 1.3 or later +(\url{http://www.latex-project.org/lppl.txt}). The package has the status +``maintained.'' The \chemmacros bundle needs the bundles \paket{l3kernel} and \paket{l3packages}. It also needs the packages \paket{siunitx}, \paket{mathtools}, \paket{bm}, @@ -384,14 +394,14 @@ be set using the setup command. \emph{This option can only be chosen in the preamble}. % ghsystem \option[option]{ghsystem}{\default{true}|false} Disable the use of the \ghsystem - package. Setting \key{ghs}{false} will prevent \chemmacros from loading \ghsystem. - (default = \code{true}) + package. Setting \key{ghsystem}{false} will prevent \chemmacros from loading + \ghsystem. (default = \code{true}) % greek \option[option]{greek}{\default{auto}|math|textgreek|upgreek} This Option determines how the letters \cmd{Chemalpha} and friends are typeset. See page~\pageref{desc:upgreek} for more information. \emph{This option can only be chosen in the preamble}. Please note that this options \emph{does not load either \paket{upgreek} nor - \paket{textgreek}}! It only determines which one to choose if available. The + \paket{textgreek}!} It only determines which one to choose if available. The option will detect if either \paket{upgreek} or \paket{textgreek} have been loaded and use them if available. If you explicitly choose \code{upgreek} or \code{textgreek} you also have to load the corresponding package. @@ -420,8 +430,9 @@ be set using the setup command. % synchronize \option[option]{synchronize}{\default{true}|false} The setting \code{true} will tell \chemmacros the adapt the font settings of \chemformula if that method has - been chosen (default = \code{false}). In order to demonstrate this feature this - document is set with \key{synchronize}{true} and the \chemformula setting + been chosen (default = \code{false}). In order to demonstrate this feature the + first part of this document is set with \key{synchronize}{true} and the + \chemformula setting \lstinline+\chemsetup[chemformula]{font-spec={[Color=darkgray]Latin Modern Sans}}+. % xspace \option[option]{xspace}{\default{true}|false} With this option most commands are @@ -456,7 +467,7 @@ The package options can also be seen as keys belonging to the module Keys \emph{not} belonging to a module \emph{cannot} be used with \cmd{chemsetup}! All options of \chemformula belong to the module \textcolor{module}{\code{chemformula}} -and all of \ghsystem's options belong to the module \textcolor{module}{\code{ghs}}. +and all of \ghsystem's options belong to the module \textcolor{module}{\code{ghsystem}}. \secidx*{Setup} \section{Language Settings}\label{sec:languages}\secidx{Language Settings} @@ -547,6 +558,7 @@ Choosing the language \code{italian} defines two additional \ac{iupac} commands: \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. + \item New option: \key{arrow-min-length}. \end{itemize} \secidx*{News}\secidx*{PRELIMINARIES} @@ -556,7 +568,9 @@ Choosing the language \code{italian} defines two additional \ac{iupac} commands: \chemmacros defines some simple macros for displaying often needed particles and symbols. Please note, that they're displayed differently depending on the package options used, see section~\ref{sec:optionen}. These commands can be used in text -as well as in math mode. +as well as in math mode. Note that they are not meant to be used in \Chemformula's +\cmd{ch}. + \begin{beschreibung} \befehl{Hpl} \Hpl (proton) \befehl{Hyd} \Hyd (hydroxide) @@ -641,7 +655,8 @@ compliance. \ac{iupac} recommends to use upright greek letters in nomenclature. symbols for physical quantities. \end{zitat} -\chemmacros uses these commands now to defined nomenclature commands, see page~\pageref{par:greek_letters}. +\chemmacros uses these commands now to define nomenclature commands, see +page~\pageref{par:greek_letters}. \subsection{Own Particles}\secidx[own]{Particles, Ions and Symbols} Surely sometimes it can be handy to have other particle macros defined such as @@ -695,7 +710,7 @@ The \cmd{iupac} command is more of a semantic command. Most times you can achiev (nearly) the same thing by using \cmd{-} instead of \cmd{|}, \code{-} instead of \cmd{-} and \lstinline=\textsuperscript= instead of {\catcode`\^=11\relax\cmd{^}}. -There are some subtleties: \cmd{-} inserts a small space before the hyphen a +There are some subtleties: \cmd{-} inserts a small space before the hyphen and removes a small space after it. The command \cmd{|} not only prevents ligatures but also inserts a small space. \begin{beispiel} @@ -874,8 +889,8 @@ Two options allow customization: \subsubsection{Own Naming Commands}\secidx[own]{IUPAC Names} If you find any commands missing you can define them using \begin{beschreibung} - \befehl{DeclareChemIUPAC}{<cmd>}\ma{<declaration>} - \befehl{RenewChemIUPAC}{<cmd>}\ma{<declaration>} + \Befehl{DeclareChemIUPAC}{<cmd>}\ma{<declaration>} + \Befehl{RenewChemIUPAC}{<cmd>}\ma{<declaration>} \end{beschreibung} A command defined in this way will obey the setting of the option \key[option]{iupac}. This means any existing command is only overwritten with \key{iupac}{strict}. However, @@ -994,8 +1009,13 @@ There is one option which changes the style the \p{} is typeset: \chemmacros distinguishes between real ($+$/$-$) and formal (\fplus/\fminus) charge symbols, also see section~\ref{sec:optionen}. All commands using formal charge symbols start with a \code{f}. + \subsection{Ion Charges}\label{ssec:ionen}\secidx{Ion Charges} -Simple displaying of (real) charges: +Simple displaying of (real) charges. It is worth noting that these commands +really are relicts from a time when \chemmacros tried hard to be compliant +with \paket{mhchem} and \Chemformula didn't exist, yet. They are still provided +for backwards compatibility but my recommendation is to use \cmd{ch} +(see~\ref{part:chemformula}) and forget about these commands: \begin{beschreibung} \befehl{pch}[<number>] positive charge (\textbf{p}lus + \textbf{ch}arge) \befehl{mch}[<number>] negative charge (\textbf{m}inus + \textbf{ch}arge) @@ -1242,7 +1262,6 @@ Examples:% TODO: watch pagebreaks! \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}}" @@ -1261,6 +1280,7 @@ Examples:% TODO: watch pagebreaks! \end{beispiel} \secidx*{Redox Reactions} +\newpage \section{(Standard) State, Thermodynamics}\label{sec:standardstate}\secidx{Thermodynamics} \subsection{Thermodynamic Variables}\label{ssec:siunitx} The following commands use \paket{siunitx}: @@ -2055,7 +2075,6 @@ Additionally there are two options, with which the \TikZ behaviour can be change \vspace{7mm} \end{beispiel} -\newpage \bspmidlength{dist}{10mm} \begin{beispiel}[dist] \hspace{2cm} @@ -2112,7 +2131,7 @@ The usage will seem very familiar to you if you're familiar with \paket{mhchem}: \end{beispiel} However, there are differences. The most notable one: \chemformula distinguishes -between different types of input. These different parts \emph{have} to be seperated +between different types of input. These different parts \emph{have} to be separated with blanks: \begin{beschreibung} \Befehl{ch}{part1 part2 part3 part4} @@ -2216,7 +2235,7 @@ The default definition is this: slash-right-kern = -.15em } \end{beispiel} -This document uses the font Linux Libertine and the following definition: +This document uses the font Linux Libertine~O and the following definition: \begin{beispiel}[code only] \DeclareInstance{xfrac}{chemformula-text-frac}{text} { @@ -2224,7 +2243,9 @@ This document uses the font Linux Libertine and the following definition: denominator-bot-sep = -.2ex , denominator-format = \scriptsize #1 , numerator-top-sep = -.2ex , - numerator-format = \scriptsize #1 + numerator-format = \scriptsize #1 , + slash-right-kern = .05em , + slash-left-kern = .05em } \end{beispiel} @@ -2719,6 +2740,9 @@ These are the options which enable you to customize the arrows: \option{arrow-offset}{<dim>} This is the length that an arrow protrudes a label on both sides. This means an empty arrow's length is two times \code{arrow-offset}. Default = \code{.75em} + \option{arrow-min-length}{<dim>} The minimal length an error must have unless + two times \key{arrow-offset} plus the width of the label is larger. + Default = \code{0pt} \option{arrow-yshift}{<dim>} Shifts an arrow up (positive value) or down (negative value). Default = \code{0pt} \option{arrow-ratio}{<factor>} The ratio of the arrow lengths of the unbalanced @@ -3191,7 +3215,7 @@ You can also choose the language explicitly. I will add other languages some time in future. This may take a while, though. If you would be willing to contribute and write the statements of another language -please feel free to contact me\footnote{\href{mailto:contac@mychemistry.eu}{contact@mychemistry.eu}}. +please feel free to contact me\footnote{\href{mailto:contact@mychemistry.eu}{contact@mychemistry.eu}}. I would provide you with a template file, a \acs{pdf} containing the official translations, and help to all your questions. @@ -3389,7 +3413,7 @@ Quite a number of commands has been presented with which the possibilities of \end{beschreibung} \secidx*{Option Overview (chemmacros)} -\addsec{Suggestions and Bug Reports}\addcontentsline{toc}{section}{Suggestions and Bug Reports} +\addsec{Suggestions and Bug Reports} Feedback on \chemmacros, \chemformula and \ghsystem is highly appreciated and welcome! Especially \chemformula and \ghsystem are still in beta testing phase so even if I repeat myself: feedback is highly welcome. @@ -3406,7 +3430,7 @@ which I can reproduce the bug. You can also submit an issue on Many thanks to all the people who already provided me with feedback, especially (in alphabetical order): \begin{itemize} - \item \href{http://www.mathannotated.com/}{Peter Cao} + \item Peter Cao \item Christina Lüdigk \item Dr.\ Paul King \item Jonas Rivetti (Special thanks for his translation of the hazard and @@ -3415,7 +3439,7 @@ Many thanks to all the people who already provided me with feedback, especially \item Timo Stein \end{itemize} -{\EmbracOff\printbibliography} +\printbibliography {\catcode`\^=11 \catcode`\#=11 \printindex} diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf Binary files differindex 4e3e48c6081..58bb3daf1c9 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.pdf diff --git a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex index 39b8ded627e..5b88b4c684d 100644 --- a/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex +++ b/Master/texmf-dist/doc/latex/chemmacros/chemmacros_it.tex @@ -49,10 +49,10 @@ language = it, subtitle = {I pacchetti \Chemmacros, \Chemformula\ e \Ghsystem}, modules = true, - code-box = {skipabove=1ex,skipbelow=1ex} + code-box = {skipabove=1ex,skipbelow=1ex}, + label = {}, } -% \usepackage[varioref=false]{chemstyle} \usepackage{chemfig,upgreek,textgreek,booktabs,cancel} \usepackage[version=3]{mhchem} \usepackage{hologo} @@ -101,6 +101,12 @@ \chemsetup[option]{synchronize,language=italian} \colorlet{chemformula}{darkgray} +\sisetup{ + detect-mode=false, + mode=text, + text-rm=\addfontfeatures{Numbers={Proportional,Lining}} +} + \usepackage{filecontents} \begin{filecontents*}{\jobname.ist} @@ -112,10 +118,11 @@ heading_prefix "{\\bfseries " heading_suffix "\\hfil}\\nopagebreak\n" headings_flag 1 - delim_0 "\\dotfill " - delim_1 "\\dotfill " - delim_2 "\\dotfill " - delim_r "\\textendash" + delim_0 "\\dotfill\\hyperpage{" + delim_1 "\\dotfill\\hyperpage{" + delim_2 "\\dotfill\\hyperpage{" + delim_r "}\\textendash\\hyperpage{" + delim_t "}" suffix_2p "\\nohyperpage{\\,f.}" suffix_3p "\\nohyperpage{\\,ff.}" \end{filecontents*} @@ -166,7 +173,9 @@ denominator-bot-sep = -.2ex , denominator-format = \scriptsize #1 , numerator-top-sep = -.2ex , - numerator-format = \scriptsize #1 + numerator-format = \scriptsize #1 , + slash-right-kern = .05em , + slash-left-kern = .05em } \newcommand*\chemformula{{\scshape\textcolor{cnpkgblue}{chemformula}}\xspace} @@ -220,7 +229,9 @@ \newcommand*\pes{\mbox{p.\,es.}\xspace} \usepackage{imakeidx} +\indexsetup{othercode=\footnotesize} \makeindex[columns=3,intoc,options={-sl \jobname.ist}] + \begin{document} \chemsetup[chemformula]{ font-spec = @@ -571,6 +582,7 @@ Selezionando come lingua \code{italian} vengono definiti ulteriori comandi \ac{i \item Nei fattori stechiometrici viene inserito uno zero iniziale quando mancante. \item Nuova opzione \key{stoich-paren-parse}. \item Numerose variazioni interne del codice. + \item Nuova opzione \key{arrow-min-length}. \end{itemize} \secidx*{Novità}\secidx*{PRIMA DI COMINCIARE} @@ -1020,7 +1032,11 @@ Esiste un'opzione che varia lo stile di rappresentazione di \p{}: cariche formali iniziano con la lettera \code{f}. \subsection{Cariche ioniche}\label{ssec:ionen}\secidx{Cariche ioniche} -Le cariche (reali) sono di facile impiego: +Le cariche (reali) sono di facile impiego. Si noti che i comandi sono stati +introdotti quando \chemmacros aveva ancora come obbiettivo l'alta compatibilità +con \paket{mhchem}, e \Chemformula non esisteva ancora. Sono ancora disponibili, +anche se personalmente consiglio di usare \cmd{ch} (vedi~ref{part:chemformula}) +e di dimenticare questi comandi. \begin{beschreibung} \befehl{pch}[<number>] carica positiva (\textbf{p}lus + \textbf{ch}arge) \befehl{mch}[<number>] carica negativa (\textbf{m}inus + \textbf{ch}arge) @@ -1202,6 +1218,7 @@ assumere uno dei valori seguenti: \end{beschreibung} \secidx*{Meccanismi di reazione} +% TODO: watch pagebreaks! \section{Reazioni redox}\label{sec:redoxreaktionen}\secidx{Reazioni redox} \chemmacros mette a disposizione due comandi con cui mostrare il trasferimento di elettroni nelle reazioni redox\footnote{Ringrazio~\href{http://www.mathannotated.com/}{Peter Cao}, @@ -1257,7 +1274,6 @@ permette di variare la distanza tra atomo e inizio della linea. \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 @@ -2215,7 +2231,7 @@ adattata alle proprie necessità. Le impostazioni di default sono elencate di se slash-right-kern = -.15em } \end{beispiel} -Questo documento impiega il Font \textsc{Linux Libertine O} e la definizione seguente: +Questo documento impiega il Font Linux Libertine~O e la definizione seguente: \begin{beispiel}[code only] \DeclareInstance{xfrac}{chemformula-text-frac}{text} { @@ -2223,7 +2239,9 @@ Questo documento impiega il Font \textsc{Linux Libertine O} e la definizione seg denominator-bot-sep = -.2ex , denominator-format = \scriptsize #1 , numerator-top-sep = -.2ex , - numerator-format = \scriptsize #1 + numerator-format = \scriptsize #1 , + slash-right-kern = .05em , + slash-left-kern = .05em } \end{beispiel} @@ -2723,6 +2741,9 @@ Con le opzioni seguenti è possibile adattare la resa grafica delle frecce: \option{arrow-offset}{<dim>} La lunghezza della freccia eccedente l'etichetta (a sinistra e destra). La lunghezza di una freccia vuota è il doppio di \code{arrow-offset}. Una lunghezza di \TeX. Default = \code{.75em} +\option{arrow-min-length}{<dim>} La lunghezza minima che deve avere un errore, + se tale lunghezza è inferiore al doppio di \key{arrow-offset} più la larghezza + dell'etichetta. Default = \code{0pt} \option{arrow-yshift}{<dim>} Sposta una freccia verso l'alto (valore positivo) o verso il basso (valore negativo); una dimensione di \TeX. Default = \code{0pt} \option{arrow-ratio}{<factor>} Il rapporto tra le lunghezze delle frecce di equilibrio @@ -3211,7 +3232,7 @@ ma non riconosce (ancora) la lingua impostata con \paket{babel} o \paket{polyglo È mia intenzione implementare ulteriori lingue in futuro; tuttavia potrebbe volerci ancora del tempo. Chi volesse partecipare a \ghsystem e trascrivere le frasi in un'altra lingua, è invitato a contattarmi% -\footnote{\href{mailto:contac@mychemistry.eu}{contact@mychemistry.eu}}; +\footnote{\href{mailto:contact@mychemistry.eu}{contact@mychemistry.eu}}; gli metterò a disposizione un file template, un \acs{pdf} contenenti le traduzioni officiali ed ogni ulteriore aiuto necessario. @@ -3427,7 +3448,7 @@ riprodurre il bug. È anche possibile segnalaro come \enquote{Issue} su Ringrazio tanto anche tutti coloro da cui ho già avuto segnalazioni, in particolare (in ordine alfabetico): \begin{itemize} - \item \href{http://www.mathannotated.com/}{Peter Cao} + \item Peter Cao \item Christina Lüdigk \item Dr.\ Paul King \item Jonas Rivetti (traduzione delle frasi H e P in italiano; molte grazie anche @@ -3436,7 +3457,7 @@ Ringrazio tanto anche tutti coloro da cui ho già avuto segnalazioni, in partico \item Timo Stein \end{itemize} -{\EmbracOff\printbibliography[title=Bibliografia]} +\printbibliography {\catcode`\^=11 \catcode`\#=11 \catcode`\|=11 \printindex} |