From ce848307e04b27ffca160248cee7b6e864fcef1d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 1 Aug 2021 20:36:01 +0000 Subject: chemfig (1aug21) git-svn-id: svn://tug.org/texlive/trunk@60135 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/chemfig/README | 4 ++-- .../texmf-dist/doc/generic/chemfig/chemfig-en.pdf | Bin 1091080 -> 1123098 bytes .../texmf-dist/doc/generic/chemfig/chemfig-en.tex | 6 ++++-- .../texmf-dist/doc/generic/chemfig/chemfig-fr.pdf | Bin 1118501 -> 1152787 bytes .../texmf-dist/doc/generic/chemfig/chemfig-fr.tex | 8 +++++--- 5 files changed, 11 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/doc/generic') diff --git a/Master/texmf-dist/doc/generic/chemfig/README b/Master/texmf-dist/doc/generic/chemfig/README index 29671ba13ef..593d70bf7c7 100644 --- a/Master/texmf-dist/doc/generic/chemfig/README +++ b/Master/texmf-dist/doc/generic/chemfig/README @@ -2,9 +2,9 @@ ___________________________________ The Chemfig package - v1.6a + v1.6b - 2021/02/28 + 2021/08/01 ___________________________________ Maintainer: Christian Tellechea diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf index a9ba585b85a..0173183489e 100644 Binary files a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf and b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf differ diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex index aded31ec95e..79c40243597 100644 --- a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex +++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex @@ -117,7 +117,7 @@ \newcommand\falseverb[1]{{\ttfamily\detokenize\expandafter{\string#1}}} -\def\CFengdate@i#1/#2/#3\@nil{\number#3\relax\ifnum#3=1 \ier{}\fi\space \ifcase#2 \or january\or february\or march\or april\or may\or june\or july\or august\or september\or october\or november\or december\fi\space#1} +\def\CFengdate@i#1/#2/#3\@nil{\number#3\relax\ifnum#3=1 \space\fi\space \ifcase#2 \or january\or february\or march\or april\or may\or june\or july\or august\or september\or october\or november\or december\fi\space#1} \edef\CFengdate{\expandafter\CFengdate@i\CFdate\@nil} \DeclareRobustCommand\CF{% @@ -403,7 +403,9 @@ If one bond is followed immediately by another, then \CF inserts an empty group \label{bond style}The \chevrons{key} \CFkv{bond style}{tikz code} sets the style for all the bonds drawn thereafter. The \CFval{tikz code} is empty by default. To custom a single bond, see page~\pageref{perso-liaisons}. \exemple{Style of bonds}/\chemfig[bond style={line width=1pt,red}]{A-B=C>|D:F}/ -\label{modif.retrait} The spacing $\delta$ for just one bond can be specified with the character \verb-#-. This character must be placed \emph{immediately} after the bond symbol and has one required argument between parentheses of the form ``\Verb-#(,)-'', where \Verb-- is the spacing $\delta$ at the beginning of the bond and \Verb-- is the that at the end. If \Verb-- is omitted, the spacing at the end of the bond takes the value of $\delta$ in effect at that time. One can see in the example how the shortening, set to 4pt to be more visible, is nullified for the bond arriving at ``B'', then for the one leaving ``B'', and finally for both: +\label{modif.retrait} The spacing $\delta$ for just one bond can be specified with either the character \verb-#-, the macro \verb|\#| or \verb|\CFhash|. It is important to notice that if the macro \verb|\chemfig| is in the argument of a macro, \verb-#- must \emph{not} be used and in that case, \verb|\#| or \verb|\CFhash| must be prefered. + +The token \verb-#-, \verb|\#| or \verb|\CFhash| must be placed \emph{immediately} after the bond symbol and has one required argument between parentheses of the form ``\Verb-(,)-'', where \Verb-- is the spacing $\delta$ at the beginning of the bond and \Verb-- is the that at the end. If \Verb-- is omitted, the spacing at the end of the bond takes the value of $\delta$ in effect at that time. One can see in the example how the shortening, set to 4pt to be more visible, is nullified for the bond arriving at ``B'', then for the one leaving ``B'', and finally for both: \begingroup \catcode`\#12 \exemple{Fine adjustment of bond shortening}/\setchemfig{bond offset=4pt} diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf index 57fa60fb01d..1232ef95e0e 100644 Binary files a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf and b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf differ diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex index b9c25cc5f06..72fbf7b70c4 100644 --- a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex +++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex @@ -31,7 +31,7 @@ \newcommand\exemple{% \begingroup \parskip\z@ - \@makeother\;\@makeother\!\@makeother\?\@makeother\:% neutralise frenchb + \@makeother\;\@makeother\!\@makeother\?\@makeother\:% neutralise french \@ifstar{\@exstartrue\exemple@}{\@exstarfalse\exemple@}} \newcommand\exemple@[2][65]{% @@ -117,7 +117,7 @@ \newcommand\falseverb[1]{{\ttfamily\detokenize\expandafter{\string#1}}} -\def\CFfrdate@i#1/#2/#3\@nil{\number#3\relax\ifnum#3=1 \ier{}\fi\space \ifcase#2 \or janvier\or février\or mars\or avril\or mai\or juin\or juillet\or aout\or septembre\or octobre\or novembre\or décembre\fi\space#1} +\def\CFfrdate@i#1/#2/#3\@nil{\number#3\relax\ifnum#3=1 \noexpand\ier{}\fi\space \ifcase#2 \or janvier\or février\or mars\or avril\or mai\or juin\or juillet\or aout\or septembre\or octobre\or novembre\or décembre\fi\space#1} \edef\CFfrdate{\expandafter\CFfrdate@i\CFdate\@nil} \DeclareRobustCommand\CF{% @@ -403,7 +403,9 @@ Si deux liaisons se suivent, alors \CF insère un groupe vide \verb-{}-, et auto \label{bond style}La \chevrons{clé} \CFkv{bond style}{code tikz} définit le style de toutes les liaisons qui seront dessinées par la suite. Le \CFval{code tikz} est vide par défaut. Pour personnaliser les liaisons une par une, voir page~\pageref{perso-liaisons}. \exemple{Style des liaisons}/\chemfig[bond style={line width=1pt,red}]{A-B=C>|D:F}/ -\label{modif.retrait}On peut spécifier l'espacement $\delta$ pour une seule liaison avec le caractère \verb-#-. Ce caractère doit se situer \emph{immédiatement} après le signe de liaison et dispose d'un argument obligatoire entre parenthèses de la forme «\Verb-#(,)-», où \Verb-- représente l'espacement $\delta$ au début de la liaison et \Verb-- celui de la fin. Si \Verb-- est omis, l'espacement en fin de liaison prend la valeur de $\delta$ en vigueur à ce moment. On peut observer sur cet exemple comment le retrait, réglé à 4pt pour être plus visible, est rendu nul pour la liaison arrivant sur «B», puis partant de «B» et enfin pour les deux à la fois : +\label{modif.retrait}On peut spécifier l'espacement $\delta$ pour une seule liaison avec un marqueur qui est, au choix, le caractère \verb-#-, la macro \verb|\#| ou \verb|\CFhash|. Attention, si la macro \verb|\chemfig| se trouve dans l'argument d'une autre macro, il \emph{faut} utiliser la macro \verb|\#| ou \verb|\CFhash| au lieu du caractère \verb|#|. + +Ce marqueur doit se situer \emph{immédiatement} après le signe de liaison et dispose d'un argument obligatoire entre parenthèses de la forme «\Verb-(,)-», où \Verb-- représente l'espacement $\delta$ au début de la liaison et \Verb-- celui de la fin. Si \Verb-- est omis, l'espacement en fin de liaison prend la valeur de $\delta$ en vigueur à ce moment. On peut observer sur cet exemple comment le retrait, réglé à 4pt pour être plus visible, est rendu nul pour la liaison arrivant sur «B», puis partant de «B» et enfin pour les deux à la fois : \begingroup \catcode`\#12 \exemple{Réglage fin du retrait des liaisons}/\setchemfig{bond offset=4pt} -- cgit v1.2.3