summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-20 21:35:31 +0000
committerKarl Berry <karl@freefriends.org>2012-09-20 21:35:31 +0000
commitcf8bee7c30b33ba8a8a6f8646b6e072e345d1a44 (patch)
tree336f435186e0b98dd913e7bbc93692e4f789555c /Master/texmf-dist/tex
parent1289605ec141e7ea09909ac31c112ef4a07ebe29 (diff)
mychemistry (20sep12)
git-svn-id: svn://tug.org/texlive/trunk@27754 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/mychemistry/mychemistry.sty20
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/mychemistry/mychemistry.sty b/Master/texmf-dist/tex/latex/mychemistry/mychemistry.sty
index 4314ff99de9..6d595e3df45 100644
--- a/Master/texmf-dist/tex/latex/mychemistry/mychemistry.sty
+++ b/Master/texmf-dist/tex/latex/mychemistry/mychemistry.sty
@@ -28,7 +28,7 @@
% This work consists of the files mychemistrysty, mychemistry_en.tex,
% README and the derived file mychemistry_en.pdf.
% --------------------------------------------------------------------------
-\ProvidesPackage{mychemistry}[2012/07/27 v1.99 create reaction schemes with LaTeX and chemfig]
+\ProvidesPackage{mychemistry}[2012/09/20 v1.99a create reaction schemes with LaTeX and chemfig]
\RequirePackage{etoolbox,float,xkeyval,chemfig,chemmacros}
\usetikzlibrary{
arrows,
@@ -1307,11 +1307,15 @@
\mCh@new@variable\elmove@default@tikz
\mCh@new@variable\elmove@tikz
-\mCh@set@variable\elmove@default@tikz{->,red,shorten <=3pt,shorten >=1pt}
+\tikzset{mCh@elmove/.style={->,red,shorten <=3pt,shorten >=1pt}}
+\mCh@set@variable\elmove@default@tikz{mCh@elmove}
\mCh@let@variable\elmove@tikz\elmove@default@tikz
-\newrobustcmd\elmove[5][\mCh@elmove@tikz]{%
- \chemmove{\expandafter\draw\expandafter[#1](#2).. controls +(#3) and +(#5)..(#4);}}
+\newrobustcmd\elmove[5][]{%
+ \chemmove{
+ \expandafter\draw\expandafter[\mCh@elmove@tikz,#1]
+ (#2).. controls +(#3) and +(#5)..(#4);
+ }}
\newrobustcmd\setelmove[1]{%
\ifblank{#1}
@@ -1526,7 +1530,9 @@ HISTORY:
environments
2012/07/27 version 1.99 - conflict with `pdfpages' resolved, LaTeXified various
parts in order to minimize conflicts with other
- packages; \elmove and \merge are also only defined
- inside the scheme environments
+ packages; \merge is also only defined inside the scheme
+ environments
+2012/09/20 version 1.99a - small adjustments to \elmove
+
% ----------------------------------------------------------------------------
-% TODO
+% TODO \ No newline at end of file