From cf8bee7c30b33ba8a8a6f8646b6e072e345d1a44 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 20 Sep 2012 21:35:31 +0000 Subject: mychemistry (20sep12) git-svn-id: svn://tug.org/texlive/trunk@27754 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/mychemistry/mychemistry.sty | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex') 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 -- cgit v1.2.3