summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-01 22:52:30 +0000
committerKarl Berry <karl@freefriends.org>2015-12-01 22:52:30 +0000
commitb0b0abb47a597afaa93d69e687e8b6aaaf4fc5c3 (patch)
tree42d41d32a11ac57827f10e1a989fac4e677d5db3 /Master/texmf-dist
parent4173dbc53c26152eb3735fe791c532e182d01b48 (diff)
chemfig (1dec15)
git-svn-id: svn://tug.org/texlive/trunk@38991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/README4
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf (renamed from Master/texmf-dist/doc/generic/chemfig/chemfig_doc_en.pdf)bin1047364 -> 1048352 bytes
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex (renamed from Master/texmf-dist/doc/generic/chemfig/chemfig_doc_en.tex)11
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf (renamed from Master/texmf-dist/doc/generic/chemfig/chemfig_doc_fr.pdf)bin1072996 -> 1076274 bytes
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex (renamed from Master/texmf-dist/doc/generic/chemfig/chemfig_doc_fr.tex)11
-rw-r--r--Master/texmf-dist/tex/generic/chemfig/chemfig.sty4
-rw-r--r--Master/texmf-dist/tex/generic/chemfig/chemfig.tex40
-rw-r--r--Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex4
8 files changed, 50 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/generic/chemfig/README b/Master/texmf-dist/doc/generic/chemfig/README
index 13c91679b25..98e0a5a9538 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.2c
+ v1.2d
- 2015/11/20
+ 2015/12/01
___________________________________
Maintainer: Christian Tellechea
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_en.pdf b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf
index 3a96eb0088e..c13e8f891f2 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_en.pdf
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_en.tex b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex
index 9894da95894..44225ff78d2 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_en.tex
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex
@@ -1,9 +1,9 @@
% __________________________________________________________________
% | |
% | |
-% | chemfig v1.2c |
+% | chemfig v1.2d |
% | |
-% | 20 november 2015 |
+% | 1 december 2015 |
% | |
% |__________________________________________________________________|
%
@@ -321,6 +321,13 @@ delim_2 "\\dotfill"
\paragraph{Librairy «external»}
Taking into account the limitations pointed in the documentation of the "external" librairy, the \verb|\chemfig| macro is now compatible with this librairy.
+\paragraph{Starred macro \texttt{\string\setcrambond*}}
+When the \verb|\setcrambond| is starred, the dashed Cram bonds are drawn with a rectangle instead of a triangle.
+
+\exemple{Dashed Cram bonds}/No starred: \setcrambond{1ex}{.5pt}{.5pt}\chemfig{A>:B<:C}
+
+Starred: \setcrambond*{1ex}{.5pt}{.5pt}\chemfig{A>:B<:C}/
+
\section{Presenting \protect\CF}
To use this package, start by adding the following code to the preamble:
\begin{itemize}
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_fr.pdf b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf
index cd3b49191c5..d2a0481c015 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_fr.pdf
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_fr.tex b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex
index 76fbb7dbffa..29edb67ec86 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig_doc_fr.tex
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex
@@ -1,9 +1,9 @@
% __________________________________________________________________
% | |
% | |
-% | chemfig v1.2c |
+% | chemfig v1.2d |
% | |
-% | 20 novembre 2015 |
+% | 1 decembre 2015 |
% | |
% |__________________________________________________________________|
%
@@ -321,6 +321,13 @@ Incrément de 30 :
\paragraph{Librairie «external»}
En tenant compte des limitation exposées dans la documentation de la librairie «external», la macro \verb|\chemfig| est maintenant compatible avec cette librairie.
+\paragraph{Macro étoilée \texttt{\string\setcrambond*}}
+Lorsque la macro \verb|\setcrambond| est étoilée, les liaisons de Cram arrière sont tracées sous forme de rectangle et non pas sous forme de triangle.
+
+\exemple{Liaisons de Cram arrière}/Non étoilée : \setcrambond{1ex}{.5pt}{.5pt}\chemfig{A>:B<:C}
+
+Étoilée : \setcrambond*{1ex}{.5pt}{.5pt}\chemfig{A>:B<:C}/
+
\section{Présentation}
Pour charger \CF, il faut écrire :
\begin{itemize}
diff --git a/Master/texmf-dist/tex/generic/chemfig/chemfig.sty b/Master/texmf-dist/tex/generic/chemfig/chemfig.sty
index 6237bcd0055..f4f5b3b2b4e 100644
--- a/Master/texmf-dist/tex/generic/chemfig/chemfig.sty
+++ b/Master/texmf-dist/tex/generic/chemfig/chemfig.sty
@@ -1,9 +1,9 @@
% __________________________________________________________________
% | |
% | |
-% | chemfig v1.2c |
+% | chemfig v1.2d |
% | |
-% | 20 november 2015 |
+% | 1 december 2015 |
% | |
% |__________________________________________________________________|
%
diff --git a/Master/texmf-dist/tex/generic/chemfig/chemfig.tex b/Master/texmf-dist/tex/generic/chemfig/chemfig.tex
index 69157ae4049..675cc865bab 100644
--- a/Master/texmf-dist/tex/generic/chemfig/chemfig.tex
+++ b/Master/texmf-dist/tex/generic/chemfig/chemfig.tex
@@ -1,9 +1,9 @@
% __________________________________________________________________
% | |
% | |
-% | chemfig v1.2c |
+% | chemfig v1.2d |
% | |
-% | 20 november 2015 |
+% | 1 december 2015 |
% | |
% |__________________________________________________________________|
%
@@ -65,10 +65,10 @@
\def#1%
}
-\CF@def\CF@ver {1.2c}
-\CF@def\CF@date {2015/11/20}
-\CF@def\CF@fr@date {20 novembre 2015}
-\CF@def\CF@en@date {20 november 2015}
+\CF@def\CF@ver {1.2d}
+\CF@def\CF@date {2015/12/01}
+\CF@def\CF@fr@date {1 d\'ecembre 2015}
+\CF@def\CF@en@date {1 december 2015}
\CF@def\CF@package@name{chemfig}
\CF@def\CF@error#1{\errmessage{Package \CF@package@name\space Error: #1.}}
@@ -265,8 +265,14 @@
\CF@def\CF@cycle@inraduiscoeff{0.75}% coeff multiplicateur du rayon des arcs dans les cycles
-\CF@def\setcrambond#1#2#3{%
- \def\CF@cram@basewidth{#1}%
+\CF@def\CF@donoclip#1;{}
+\CF@def\setcrambond{%
+ \@ifstar
+ {\let\CF@clipcramornot\CF@donoclip\CF@setcrambond}
+ {\def\CF@clipcramornot{\clip}\CF@setcrambond}%
+}
+\CF@def\CF@setcrambond#1#2#3{%
+ \CF@ifempty{#1}{\def\CF@cram@basewidth{1.5ex}}{\def\CF@cram@basewidth{#1}}%
\CF@ifempty{#2}{\def\CF@cram@dashlength{1pt}}{\def\CF@cram@dashlength{#2}}%
\CF@ifempty{#3}{\def\CF@cram@dashsep{2pt}}{\def\CF@cram@dashsep{#3}}%
}
@@ -922,14 +928,14 @@
\or% 6 = liaison Cram pointill\'ee de #2 vers #3
\scope
\CF@create@normnodes{#2@@}{#3@@}{\CF@cram@basewidth/2}{}%
- \clip(#2@@1)--(#2@@2)--(#3@@)--(#2@@1);
+ \CF@clipcramornot(#2@@1)--(#2@@2)--(#3@@)--(#2@@1);
\expandafter\draw\expandafter[\CF@current@bondstyle,dash pattern=on \CF@cram@dashlength off \CF@cram@dashsep,line width=\CF@cram@basewidth](#2@@)--(#3@@);
\endscope
\let\CF@joinbond\z@
\or% 7 = liaison Cram pointill\'ee de #3 vers #2
\scope
\CF@create@normnodes{#3@@}{#2@@}{\CF@cram@basewidth/2}{}%
- \clip(#3@@1)--(#3@@2)--(#2@@)--(#3@@1);
+ \CF@clipcramornot(#3@@1)--(#3@@2)--(#2@@)--(#3@@1);
\expandafter\draw\expandafter[\CF@current@bondstyle,dash pattern=on \CF@cram@dashlength off \CF@cram@dashsep,line width=\CF@cram@basewidth](#3@@)--(#2@@);
\endscope
\let\CF@joinbond\z@
@@ -2077,10 +2083,10 @@
\CF@ifempty{#5}%
{\def\CF@Uarrow@absangle{60}}
{\pgfmathsetmacro\CF@Uarrow@absangle{abs(#5)}}% ne prendre en compte que la valeur absolue de l'angle
- \edef\CF@tmp@str{[\CF@ifempty{#1}{draw=none}{\unexpanded\expandafter{\CF@arrow@current@style}}]}%
+ \edef\CF@tmp@str{[\CF@ifempty{#1}{draw=none}{\unexpanded\expandafter{\CF@arrow@current@style}},-]}%
\expandafter\draw\CF@tmp@str (Uarrow@arctangent)%
arc[radius=\CF@compound@sep*\CF@current@arrow@length*\CF@Uarrow@radius,start angle=\CF@arrow@current@angle-90,delta angle=-\CF@Uarrow@absangle]node(Uarrow@start){};
- \edef\CF@tmp@str{[\CF@ifempty{#2}{draw=none}{\unexpanded\expandafter{\CF@arrow@current@style}}]}%
+ \edef\CF@tmp@str{[\CF@ifempty{#2}{draw=none}{\unexpanded\expandafter{\CF@arrow@current@style}}]}%
\expandafter\draw\CF@tmp@str (Uarrow@arctangent)%
arc[radius=\CF@compound@sep*\CF@current@arrow@length*\CF@Uarrow@radius,start angle=\CF@arrow@current@angle-90,delta angle=\CF@Uarrow@absangle]node(Uarrow@end){};
\pgfmathsetmacro\CF@tmp@str{\CF@Uarrow@radius*cos(\CF@arrow@current@angle)<0?"-":"+"}%
@@ -2421,5 +2427,11 @@ v1.2c 2015/11/20
- Correction d'un bug dans \CF@set@bondangle : l'angle renvoy\'e
pouvait \^etre n\'egatif
- Correction d'un bug dans \CF@direct@arrow : la macro \CF@ifempty
- n'est pas correctement développée dans l'argument de
- \pgfpointanchor \ No newline at end of file
+ n'est pas correctement d\'evelopp\'ee dans l'argument de
+ \pgfpointanchor
+----------------------------------------------------------------------
+v1.2d 2015/12/01
+ - correction d'un bug dans la fl\`eche "-U"
+ - la version \'etoil\'ee de \setcrambond dessine les liaisons de
+ Cram en pointill\'es sous forme de trait large et non pas sous
+ forme de triangle. \ No newline at end of file
diff --git a/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex b/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex
index 29b76e4aed8..dc5d2d78238 100644
--- a/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex
+++ b/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex
@@ -1,9 +1,9 @@
% __________________________________________________________________
% | |
% | |
-% | chemfig v1.2c |
+% | chemfig v1.2d |
% | |
-% | 20 november 2015 |
+% | 1 december 2015 |
% | |
% |__________________________________________________________________|
%