diff options
author | Karl Berry <karl@freefriends.org> | 2007-07-26 18:16:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-07-26 18:16:23 +0000 |
commit | 5ee1c4ab13ff3f7fd6d32a14822ef38a10e50e38 (patch) | |
tree | dc9f562f2b2b6e069ac0a2ba5aab21b0604a9dd9 | |
parent | 02acb9dcec1b3f64653e1aebd74589f5da3e8d5d (diff) |
new latex package chemscheme (21jul07)
git-svn-id: svn://tug.org/texlive/trunk@4660 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Build/tools/tpm-ctan-check | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/README | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/chemscheme.cdx | bin | 0 -> 6093 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf | bin | 0 -> 60013 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/scheme-one.eps | 660 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/scheme-two.eps | 662 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx | 1150 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/chemscheme/chemscheme.ins | 36 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty | 80 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/chemscheme.tlpsrc | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-science.tlpsrc | 1 |
11 files changed, 2607 insertions, 1 deletions
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check index ecd9bc83f4a..c2e2a6362e9 100755 --- a/Build/tools/tpm-ctan-check +++ b/Build/tools/tpm-ctan-check @@ -22,7 +22,8 @@ my @WorkingTPM = qw( bookest booklet bophook boxhandler breakurl bullcntr bussproofs bytefield caption carlisle cbcoptic ccaption cdpbundl cellspace - changebar chappg chem-journal chemcompounds cherokee circ + changebar chappg chem-journal chemcompounds chemscheme + cherokee circ citeref cjhebrew classicthesis clefval cleveref clock clrscode cmap cmdstring cmdtrack cmll colorinfo diff --git a/Master/texmf-dist/doc/latex/chemscheme/README b/Master/texmf-dist/doc/latex/chemscheme/README new file mode 100644 index 00000000000..6736aec19ff --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemscheme/README @@ -0,0 +1,14 @@ +The chemscheme package - Support for chemical schemes
+----------------------------------------------------------------
+Maintained by Joseph A. Wright
+E-mail: joseph.wright@morningstar2.co.uk
+Released under the GNU General Public License
+See http://www.gnu.org/licenses/gpl.txt
+----------------------------------------------------------------
+
+The chemscheme package consists of two parts, both related to
+chemical schemes. The package adds a scheme float type to the
+LaTeX default types figure and table. The scheme float type
+acts in the same way as those defined by the LaTeX kernel, but
+is intended for chemical schemes. The package also provides a
+method for adding automatic chemical numbering to schemes.
diff --git a/Master/texmf-dist/doc/latex/chemscheme/chemscheme.cdx b/Master/texmf-dist/doc/latex/chemscheme/chemscheme.cdx Binary files differnew file mode 100644 index 00000000000..801f3037d6f --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemscheme/chemscheme.cdx diff --git a/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf b/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf Binary files differnew file mode 100644 index 00000000000..034d219ae2d --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf diff --git a/Master/texmf-dist/doc/latex/chemscheme/scheme-one.eps b/Master/texmf-dist/doc/latex/chemscheme/scheme-one.eps new file mode 100644 index 00000000000..04a837031c2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemscheme/scheme-one.eps @@ -0,0 +1,660 @@ +%%Creator: ChemDraw Std(tm) 10.0 +%%Title: scheme-one.eps +%%CreationDate: 21/07/2007 12:00 +%%DocumentSuppliedProcSets: chemdict30 24 13 +%%DocumentFonts: Helvetica Helvetica-Oblique +%%BoundingBox: 30 78 288 144 +%%EndComments +%%BeginProcSet: chemdict30 24 13 +userdict/chemdict30 210 dict put +chemdict30 begin/version 24 def/sv 13 def +/b{bind def}bind def/L{load def}b/R{null def}b/d/def L/a/add L/al/aload L +/as/astore L/at/atan L/cp/closepath L/cv/curveto L/cw/currentlinewidth L +/cpt/currentpoint L/dv/div L/D/dup L/e/exch L/F/false L/f/fill L/fa/forall L +/g/get L/gi/getinterval L/gr/grestore L/gs/gsave L/ie/ifelse L/ix/index L +/l/lineto L/mt/matrix L/M/moveto L/m/mul L/n/neg L/np/newpath L/pb/pathbbox L +/P/pop L/r/roll L/rl/rlineto L/rm/rmoveto L/ro/rotate L/rp/repeat L +/ru/round L/sc/scale L/sl/setlinewidth L/sm/setmatrix L/st/stroke L +/sp/strokepath L/sq/sqrt L/s/sub L/T/true L/tr/transform L/xl/translate L +/xc/exec L/A R/N R/St R/X R/Y R/aL R/bL R/bS R/bd R/bs R/cX R/cY R/ch R/co R +/fB R/fI R/fS R/fZ R/fl R/ft R/iX R/iY R/idx R/lh R/llx R/lly R/lp R/nH R +/nSq R/newdict R/ps R/rad R/rev R/sL R/sba R/sbl R/sbs R/sn R/spa R/tB R +/typ R/urx R/ury R/w R/wF R/xX R/xY R/rBg R/gBg R/bBg R/gry R/rDst R/gDst R +/bDst R/cpd R/Aeq R/Ath R/Aos R/Ach R/ed R/sf 20 d/cW 20 d/lW 20 d/bW 75 d +/wF 1.5 d/aF 11.875 d/aR 0.263 d/aA 50 d/hS 54 d/pA 32 d/sh F d/S{sf m}b +/dL{[hS] 0 setdash}b/o{1 ix}b/rot{3 -1 r}b/x{e d}b/CMT mt d/TM mt d +/SM{CMT sm}b/XY{X D m Y D m a sq}b/s1 1 string d/fp{T charpath flattenpath}b +/p{tr ru 0.25 a e ru 0.25 a e itransform}b/Wd{65536. dv}b +/C{Wd rot Wd rot Wd rot setrgbcolor}b +/setcmykcolor where{P/sk/setcmykcolor L}{/sk{4 1 r 3{3 ix a D 0 lt{P 0}if D 1\ + gt{P 1}if 1 e s 3 1 r}rp setrgbcolor P}b}ie/sg{D currenthsbcolor P rot seths\ +bcolor currenthsbcolor e P e P o s D m .001 gt{setgray}{P}ie}b +/sBg{65535 dv/bBg x 65535 dv/gBg x 65535 dv/rBg +x}b +/sRmp{currentrgbcolor bBg e s/bDst x gBg e s/gDst x rBg e s/rDst x}b +/dD{np 2 1 r 4 2 r xl 2 dv D sc -1 0 M 0 -1 l 1 0 l 0 1 l cp SM 0 ne{f}{lW 0.\ +8 m sl st}ie}b +/dM{gs np 3 1 r xl D sc 0 4 M 0 -8 rl 3.5 2 rm -7 4 rl 0 -4 rm 7 4 rl SM st g\ +r}b/dQ{gs np 0 360 arc 0.5 sg f gr}b +/dR{lW 0.8 m sl 2 ix s/Y x 2 ix s/X x xl Rr SM st}b +/dT{fp pb 3 1 r s 3 2 r s 2 1 r rm f}b/N 0 d/db{array/bs x/N 0 d}b +/B{bs N rot put/N N 1 a d}b +/SpA{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie +aR aL m n D aL a 0 M 0 o n aA n aA arc cp f gr}b +/SpH{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie +0 cw 2 dv xl +aR aL m n D aL a 0 M 0 o n aA n 0 arc cp f gr}b/Sp{/St x 0.316/aR x gs +aF lW m 0.8 m St 4 and 0 ne{bW m lW dv bW sl}if/aL x +St 8 and 0 ne{8 ix 8 ix 3 ix 3 ix SpA}if +St 16 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpA}if +St 32 and 0 ne{8 ix 8 ix 3 ix 3 ix SpH}if +St 64 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpH}if +St 2 and 0 ne{St 4 and 0 ne{[hS bW m lW dv] 0 setdash}{dL}ie}if +np M{cv}rp St 128 and 0 ne{f}{st}ie gr}b/Ha{gs np 3 1 r +xl D sc -.7 1.4 M 0.7 1.4 l -.7 2.4 M 0.7 2.4 l SM st gr}b +/OP{3 ix 3 ix xl 3 -1 r s 3 1 r +e s o o at ro D m e D m a sq}b +/OB{/bS x OP D bS dv D lW 2 m lt{P lW 2 m}if/bd x}b +/DA{np 0 0 M aL 0 aR aL m 180 aA s 180 aA a arc cp f}b +/OA{np 0 cw -2 dv M aL 0 aR aL m 180 aA s +180 arc 0 cw -2 dv rl cp f}b +/Ast{SM cw 0.8 m sl st}b/SA{aF m lW m/aL x 0.263/aR x aL 1 aR s m np 0 M + rad 0 l gs Ast gr}b +/CA{aF lW m 0.8 m/aL x 0.316/aR x aL 1 aR s m 2 dv rad D m o D m s D 0 le{P +P P}{sq at 2 +m np rad 0 rad 180 6 -1 r s 180 6 -1 r s arc gs Ast gr cpt +e at ro}ie}b/AA{np rad 0 rad 180 180 6 -1 r a arc gs SM st gr}b +/RA{lW m/w x np rad w M w .7 dv w l rad w n M w .7 dv w n l w + .35 dv w 2 m M 0 0 +l w .35 dv w -2 m l st}b +/HA{lW m/w x np 0 0 M w 2 m D l w 2 m w l rad w l rad w n l w 2 m +w n l w 2 m D n l cp st}b +/Ar1{gs 5 1 r OP/rad x{{2.25 SA DA}{1.5 SA DA}{1 SA DA}{lW 4 m sl 4.5 SA DA} +{lW 4 m sl 3 SA DA}{lW 4 m sl 2 SA +DA}{270 CA DA}{180 CA DA}{120 CA DA}{90 CA DA}{2.5 RA}{2.5 +HA}{1 -1 sc 270 CA DA}{1 -1 sc 180 CA DA}{1 -1 sc 120 CA DA}{1 -1 sc 90 CA +DA}{5 RA}{5 HA}{dL 2.25 SA DA}{dL 1.5 SA DA}{dL 1 SA DA}{2.25 SA OA}{1.5 SA +OA}{1 SA OA}{1 -1 sc 2.25 SA OA}{1 -1 sc 1.5 SA OA} +{1 -1 sc 1 SA OA}{270 CA OA}{180 CA OA}{120 CA OA}{90 CA OA}{1 -1 sc 270 CA +OA}{1 -1 sc 180 CA OA}{1 -1 sc 120 CA OA}{1 -1 sc 90 CA OA}{1 -1 sc 270 +AA}{1 -1 sc 180 AA}{1 -1 sc 120 AA}{1 -1 sc 90 AA}}e g xc +gr}b/ac{arcto 4{P}rp}b/rO{4 cw m}b/Cr{0 0 1 0 360 arc}b/Ac{XY D sc Cr SM}b +/OrA{Y X at ro XY D rev{neg}if sc}b/Ov{OrA 1 0.4 sc Cr SM}b +/Asc{OrA 1 27 dv D sc}b/LB{9 -6 M +21 -10 27 -8 27 0 cv +27 8 21 10 9 6 cv +-3 2 -3 -2 9 -6 cv +cp}b/DLB{0 0 M +0 0 -9.51 9.65 -9.51 18.02 cv +-9.51 23.22 -6.75 27 0 27 cv +6.75 27 9.51 23.22 9.51 18.02 cv +9.51 9.65 0 0 0 0 cv +cp}b/ZLB{LB}b +/dt{gs np M SM cpt np rot 4.5 dv 0 360 arc f gr}b +/whf{gs 1 setgray f gr SM st}b/blf{gs f gr SM st}b/Rr{0 rO M +0 Y X Y rO ac +X Y X 0 rO ac +X 0 0 0 rO ac +0 0 0 Y rO ac +cp}b/Rc{0 0 M +0 Y l +X Y l +X 0 l +cp}b/grf{gs 0.5 sg f gr SM st}b/gG{D 32 dv D m 1 e s/gry x +currentrgbcolor bDst gry m a 3 1 r gDst gry m a 3 1 r rDst gry m a 3 1 r +setrgbcolor}b/gS{dtransform CMT idtransform +m D 0 lt{n}if sq n D +CMT dtransform idtransform +e 2 m e +xl +7 m 32 a 256 dv D sc}b/gLB{sh{sRmp +32 -0.5 0.5{gs +gG +13.5 0 xl +D 32 s 64 dv 13.5 m D 7 m 24 dv +gS +-13.5 0 xl +LB f +gr}for +LB SM st}{LB grf}ie}b/gOv{sh{sRmp +32 -0.5 0.5{gs +gG +D 32 s 64 dv 0.65 m D +gS +Cr f +gr}for +Cr SM st}{Cr grf}ie}b/gAc{sh{sRmp +32 -0.5 0.5{gs +gG +D 32 s 64 dv D +gS +Cr f +gr}for +Cr SM st}{Cr grf}ie}b +/gDLB{sh{sRmp +32 -0.5 0.5{gs +gG +0 13.5 xl +D 32 s 64 dv 13.5 m D 7 m 24 dv e +gS +0 -13.5 xl +DLB f +gr}for +DLB SM st}{DLB grf}ie}b/gRr{sh{sRmp +32 -0.5 0.5{gs +gG +X 2 dv Y 2 dv xl +D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D +gS +X -2 dv Y -2 dv xl +Rr f +gr}for +Rr SM st}{Rr grf}ie}b/gRc{sh{sRmp +32 -0.5 0.5{gs +gG +X 2 dv Y 2 dv xl +D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D +gS +X -2 dv Y -2 dv xl +Rc f +gr}for +Rc SM st}{Rc grf}ie}b/gZLB{gLB}b/Ath{Y X at ro XY 2 dv/rad x gs D SA DA gr + rad 2 m 0 xl 180 ro SA DA}b/Aeq{Y X at ro XY/rad x +rev{1 -1 sc}if +gs +0 lW 2 m xl +D SA OA +gr +rad 0 xl +180 ro +0 lW 2 m xl +SA OA}b/Aos{X Y M SM cpt xl XY e dv lW 1.667 m o o lt{e}if P D sc}b/Ach{5 Aos +gs/Helvetica findfont[1 0 0 -1 0 0]makefont 5.5 scalefont setfont +D stringwidth P 2 dv D 1 a/rad x +n 0 M show gr +rad 2 s -5 M +rad n -5 rad n 1 2 ac +rad n 1 rad 1 2 ac +rad 1 rad -5 2 ac +rad -5 rad n -5 2 ac +cp Ast}b/Ar{D 39 lt{Ar1} +{gs 5 1 r o o xl 3 -1 r e s 3 1 r s e +o 0 lt o 0 lt ne/rev x +D 0 lt{1 -1 sc neg}if/Y x D 0 lt{-1 1 sc neg} +if/X x np{{Y 16 div D 2 S lt{P 2 S}if/lp x +lp 0 M 0 0 l 0 Y l lp Y l +X lp s 0 M X 0 l X Y l X lp s Y l SM st}{Y 16 div D 2 S lt{P 2 S}if/lp x +lp 0 M +0 0 0 Y lp ac +0 Y 2 dv lp neg o lp ac +0 Y 2 dv 0 Y lp ac +0 Y lp Y lp ac +X lp s 0 M +X 0 X Y lp ac +X Y 2 dv X lp a o lp ac +X Y 2 dv X Y lp ac +X Y X lp s Y lp ac SM st}{Y D 2 dv Y 180 pA s 180 pA a arc st +np X Y s Y 2 dv +Y pA D neg arcn st}{Rc SM st}{X lW 2 dv a lW -2 dv M +rO D rl +X lW 2 dv a rO a Y lW 2 dv a rO a l +rO lW -2 dv a Y lW 2 dv a rO a l +lW -2 dv Y lW 2 dv a l +0 Y l X Y l X 0 l cp f +0 0 M +0 Y l +X Y l +X 0 l cp +SM st}{Rr SM st}{rO Y M rO rO xl +0 Y X Y rO ac +X Y X 0 rO ac +X 0 0 0 rO ac +rO neg D xl X Y 0 Y rO ac +cp f +Rr st}{Ac st}{OrA gAc}{Ov st}{OrA 1 .4 sc gOv}{Asc LB whf}{Asc gLB} +{Asc gs gLB gr +-1 -1 sc LB whf}{Asc gs gLB gr +-0.4 -0.4 sc LB whf}{Asc LB gs whf gr +np -0.4 -0.4 sc gLB}{Asc DLB -1 -1 sc DLB gs whf gr +np 90 ro gs gDLB gr -1 -1 sc gDLB}{Asc gs -1 -1 sc ZLB whf gr +gs 3.6 12 sc gOv gr +ZLB whf}{Asc gs -1 -1 sc gZLB gr +gs 3.6 12 sc Cr whf gr +gZLB}{0 0 M X Y l SM st}{bW sl 0 0 M X Y l SM st} +{dL 0 0 M X Y l SM st}{OrA 1 16 dv D sc +0 -1 M +0 0 1 0 1 ac +8 0 8 1 1 ac +8 0 16 0 1 ac +16 0 16 -1 1 ac +SM st}{XY D 0 0 dt X Y dt}{XY 2 dv X Y dt}{XY D X Y dt 0 0 M SM cpt xl +2 dv D sc +1 0 M -1 0 l +0 1 M 0 -1 l +Ast}{XY D X Y dt 0 0 M SM cpt xl +2 dv D sc +1 0 M -1 0 l +Ast}{4.5 Aos +1 0 M -1 0 l +0 1 M 0 -1 l +2 0 M 0 0 2 0 360 arc +Ast}{4.5 Aos +1 0 M -1 0 l +2 0 M 0 0 2 0 360 arc +Ast}{2.25 Ath}{1.5 Ath}{1 Ath}{2.25 Aeq}{1.5 Aeq}{1 Aeq}{OrA 1 16 dv D sc +0 -1 M 0 0 l 16 0 l 16 -1 l SM st}{5 Aos +1 -1 M -1 -1 l +0 2 M 0 -2 l +Ast}{5 Aos +1 -1 M -1 -1 l +1 1 M -1 1 l +0 2 M 0 -2 l +Ast}{4.5 Aos +1 0 M -1 0 l +0 1 M 0 -1 l +Ast}{4.5 Aos +1 0 M -1 0 l +Ast}{gRc}{gRr}{Rc blf}{Rr blf}{Ac blf}{Ov blf}{Asc DLB -1 -1 sc DLB gs whf gr +np 90 ro DLB -1 -1 sc DLB blf}{Asc gs -1 -1 sc ZLB blf gr +gs 3.6 12 sc Cr whf gr +ZLB blf}{Asc gs -1 -1 sc ZLB whf gr +gs 3.6 12 sc Cr blf gr +ZLB whf}{Asc LB gs whf gr +np -0.4 -0.4 sc LB blf}{Asc LB gs f gr gs SM st gr +np -0.4 -0.4 sc LB whf}{Asc LB blf}{Asc LB gs f gr gs SM st gr +np -1 -1 sc LB whf}{Ac whf}{OrA gAc}{Ac blf}{Ov whf} +{OrA 1 .4 sc gOv}{Ov blf}{(Rac)Ach}{(Abs)Ach}{(Rel)Ach} +}e 39 s g xc gr}ie}b/DS{np M l st}b +/DD{gs dL DS gr}b/DB{gs 12 OB bW sl np 0 0 M 0 l st gr}b/ap{e 3 ix a +e 2 ix a}b/PT{D 2 4 gi al P OP D 1 sc +o length 6 gt{P 6 g}{e P 8 dv}ie +D lW 2 m lt{P lW 2 m}if +0 e +0 0 +3 -1 r s 3 1 r e s e +0 0 M 1 0 l +0 0 ap M 1 0 ap l +e n e n +0 0 ap M 1 0 ap l +P P}b/DT{gs np PT SM st gr}b +/NH{lW s D hS dv ru +cvi D 0 eq{P 1}if/nH x +D hS nH m s +D 0 lt{P .1 s nH dv}{nH 2 a dv D 0 xl 2 m s nH dv}ie}b +/Bd{D type/arraytype ne{bs e g}if{{P}{{{DS}{DD}{gs 12 OB np +bW 2 dv/bd x +lW 2 dv e D NH e{D bd M bd n l}for +st gr}{gs 12 OB np +lW 2 dv 0 xl NH 1 sc +bW 2 dv wF m nH 1 a dv/bd x +0 1 nH +{D 1 a bd m o o M n l}for SM st gr}{P}{DB}{gs 12 OB +np 0 lW 2 dv o o n M l bW 2 dv +wF m o o l n l +cp f gr}{P}{gs 12 OB/bL x +bW 2 dv D lW lt{P lW}if/bd x np 0 0 M +bL bd 4 m dv ru 2 o o lt{e}if P cvi/nSq x +bL nSq 2 m dv D sc +nSq{.135 .667 .865 .667 1 0 rcurveto +.135 -.667 .865 -.667 1 0 rcurveto}rp SM st gr}{gs 12 OB +np 0 lW 2 dv o o n M l bW 2 dv +wF m o o l n l +cp SM lW 0.8 m sl st gr}{P}{4 2 r gs OP/rad x 1 SA DA gr}{P} +}o 1 g 1 s g e 2 4 gi al P +5 -1 r xc}{al P 8 ix 1 eq{DD}{DS}ie 5 -1 r 2 eq{DB}{DS}ie P}{DT}}o 0 g g xc}b +/ed{gs cpt np cw 2 dv 0 360 arc f gr}b +/SPe{gs 0 e xl 1 1 S dv D n sc CMT currentmatrix P lW sl 4.0 setmiterlimit +np}b/ws{Wd 0 32 4 -1 roll widthshow}b/blank/Times-Roman findfont/CharStrings +g/space g d/mv 256 array d/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT +/FF/CR/SO/SI +/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US +mv 0 32 gi as P +mv 32/Times-Roman findfont/Encoding get +32 96 gi putinterval +mv 39/quotesingle put +mv 96/grave put/unknown/unknown/quotesinglbase/florin/quotedblbase/ellipsis +/dagger/daggerdbl +/circumflex/perthousand/Scaron/guilsinglleft/OE/unknown/unknown/unknown +/unknown/quoteleft/quoteright/quotedblleft/quotedblright/bullet/endash +/emdash +/tilde/trademark/scaron/guilsinglright/oe/unknown/unknown/Ydieresis +/blank/exclamdown/cent/sterling/currency/yen/brokenbar/section +/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered +/macron +/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph +/periodcentered +/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf +/threequarters/questiondown +/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla +/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis +/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply +/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls +/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla +/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis +/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide +/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis +mv 128 128 gi as P/fSt 50 string d(ChemDraw)fSt copy P/fD{D/Symbol eq{ +findfont[1 0 0 -1 0 0]makefont}{D {findfont}stopped{/Helvetica findfont}if +D length dict/newdict x{ +1 index/FID ne{1 index/FontMatrix eq{[1 0 0 -1 0 0]matrix concatmatrix}if +newdict 3 1 r put}{P P}ie}forall +newdict/Encoding mv put +fSt 8 fSt length 8 sub gi cvs length 8 add +fSt 0 rot gi cvn newdict definefont}ie}b/ts{gs xl ro 0 0 M}b +/nl{0 e xl 0 0 M}b/tx{ft e g e sf m rot D 96 and 0 ne{ +64 and 0 ne{-0.5}{0.25}ie e 0.75 m}{P 0 e}ie +D 4 -1 r e scalefont setfont m cpt P e M}b +end +%%EndProcSet +%%EndProlog + +chemdict30 begin +/cW 24 def +/bW 48 def +/lW 12 def +/hS 32 def +/sh true def +222 SPe[ +/Helvetica +fD +/Helvetica-Oblique +fD]/ft x +600 1560 M +5760 1560 l +5760 2880 l +600 2880 l +cp clip np +65535 65535 +65535 sBg +0 1640 2178 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +0 1182 2178 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1619 2364 M +1627 2376 l +1335 2376 l +1344 2364 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1598 2330 M +1598 2342 l +1364 2342 l +1364 2330 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1669 2208 M +1681 2212 l +1627 2376 l +1619 2364 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1481 1941 M +1481 1926 l +1629 2034 l +1622 2043 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1343 2041 M +1336 2032 l +1481 1926 l +1481 1941 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1363 2069 M +1356 2059 l +1478 1971 l +1485 1981 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1344 2364 M +1335 2376 l +1282 2212 l +1293 2209 l +cp +f +gr +0 1033 2091 ts +0.0000 0.0000 0.0000 1.0000 sk +-377 +0 M +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1055 2043 M +1059 2031 +l +1167 2066 l +1163 2078 l +cp +f +gr +0 1897 2091 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1878 2040 M +1882 2051 +l +1802 2077 l +1798 2066 l +cp +f +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +10 D sl/lW x +1228 1973 M +1295 +1973 l st +1261 1940 M +1261 2006 l st +gr +0 2085 2400 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Br)show +64 10 0 tx +(\226)show +gr +0 5084 2247 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +0 4625 2247 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5062 2433 M +5071 2445 l +4778 2445 l +4787 2433 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5042 2399 M +5042 2411 l +4808 2411 l +4808 2399 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5113 2277 M +5124 2281 l +5071 2445 l +5062 2433 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4925 2010 M +4925 1995 l +5072 2102 l +5065 2112 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4787 2110 M +4779 2101 l +4925 1995 l +4925 2010 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4787 2433 M +4778 2445 l +4725 2281 l +4737 2278 l +cp +f +gr +0 4476 2160 ts +0.0000 0.0000 0.0000 1.0000 sk +-377 0 M +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4498 2112 M +4502 2100 +l +4610 2135 l +4606 2147 l +cp +f +gr +0 5340 2160 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5321 2109 M +5325 2120 +l +5246 2146 l +5243 2134 l +cp +f +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +np +4962 1946 17 0 360 arc +cp +f +np +4887 1946 17 0 360 arc +cp +f +gr +0 3236 1785 ts +0.0000 0.0000 0.0000 1.0000 sk +-364.5 0 M +0 10 0 tx +(KO-)show +2 10 1 tx +(t)show +0 10 0 tx +(-Bu)show +201 nl +-114.5 0 M +0 10 0 tx +(thf)show +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +10 D sl/lW x +3597 2130 M +2771 2130 l st +gs +3581 2161 3701 2130 3701 2130 3596 2143 3581 2161 3581 2161 3581 2098 +3596 2116 3596 2130 3701 2130 3581 2098 3581 2098 4 3701 2130 0 Sp +gr +gr +0 +1215 2805 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +gr +0 4642 2805 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +gr +gr end +%%Trailer +showpage diff --git a/Master/texmf-dist/doc/latex/chemscheme/scheme-two.eps b/Master/texmf-dist/doc/latex/chemscheme/scheme-two.eps new file mode 100644 index 00000000000..5b0a0a4a557 --- /dev/null +++ b/Master/texmf-dist/doc/latex/chemscheme/scheme-two.eps @@ -0,0 +1,662 @@ +%%Creator: ChemDraw Std(tm) 10.0 +%%Title: scheme-two.eps +%%CreationDate: 21/07/2007 12:00 +%%DocumentSuppliedProcSets: chemdict30 24 13 +%%DocumentFonts: Helvetica Helvetica-Oblique +%%BoundingBox: 30 78 288 144 +%%EndComments +%%BeginProcSet: chemdict30 24 13 +userdict/chemdict30 210 dict put +chemdict30 begin/version 24 def/sv 13 def +/b{bind def}bind def/L{load def}b/R{null def}b/d/def L/a/add L/al/aload L +/as/astore L/at/atan L/cp/closepath L/cv/curveto L/cw/currentlinewidth L +/cpt/currentpoint L/dv/div L/D/dup L/e/exch L/F/false L/f/fill L/fa/forall L +/g/get L/gi/getinterval L/gr/grestore L/gs/gsave L/ie/ifelse L/ix/index L +/l/lineto L/mt/matrix L/M/moveto L/m/mul L/n/neg L/np/newpath L/pb/pathbbox L +/P/pop L/r/roll L/rl/rlineto L/rm/rmoveto L/ro/rotate L/rp/repeat L +/ru/round L/sc/scale L/sl/setlinewidth L/sm/setmatrix L/st/stroke L +/sp/strokepath L/sq/sqrt L/s/sub L/T/true L/tr/transform L/xl/translate L +/xc/exec L/A R/N R/St R/X R/Y R/aL R/bL R/bS R/bd R/bs R/cX R/cY R/ch R/co R +/fB R/fI R/fS R/fZ R/fl R/ft R/iX R/iY R/idx R/lh R/llx R/lly R/lp R/nH R +/nSq R/newdict R/ps R/rad R/rev R/sL R/sba R/sbl R/sbs R/sn R/spa R/tB R +/typ R/urx R/ury R/w R/wF R/xX R/xY R/rBg R/gBg R/bBg R/gry R/rDst R/gDst R +/bDst R/cpd R/Aeq R/Ath R/Aos R/Ach R/ed R/sf 20 d/cW 20 d/lW 20 d/bW 75 d +/wF 1.5 d/aF 11.875 d/aR 0.263 d/aA 50 d/hS 54 d/pA 32 d/sh F d/S{sf m}b +/dL{[hS] 0 setdash}b/o{1 ix}b/rot{3 -1 r}b/x{e d}b/CMT mt d/TM mt d +/SM{CMT sm}b/XY{X D m Y D m a sq}b/s1 1 string d/fp{T charpath flattenpath}b +/p{tr ru 0.25 a e ru 0.25 a e itransform}b/Wd{65536. dv}b +/C{Wd rot Wd rot Wd rot setrgbcolor}b +/setcmykcolor where{P/sk/setcmykcolor L}{/sk{4 1 r 3{3 ix a D 0 lt{P 0}if D 1\ + gt{P 1}if 1 e s 3 1 r}rp setrgbcolor P}b}ie/sg{D currenthsbcolor P rot seths\ +bcolor currenthsbcolor e P e P o s D m .001 gt{setgray}{P}ie}b +/sBg{65535 dv/bBg x 65535 dv/gBg x 65535 dv/rBg +x}b +/sRmp{currentrgbcolor bBg e s/bDst x gBg e s/gDst x rBg e s/rDst x}b +/dD{np 2 1 r 4 2 r xl 2 dv D sc -1 0 M 0 -1 l 1 0 l 0 1 l cp SM 0 ne{f}{lW 0.\ +8 m sl st}ie}b +/dM{gs np 3 1 r xl D sc 0 4 M 0 -8 rl 3.5 2 rm -7 4 rl 0 -4 rm 7 4 rl SM st g\ +r}b/dQ{gs np 0 360 arc 0.5 sg f gr}b +/dR{lW 0.8 m sl 2 ix s/Y x 2 ix s/X x xl Rr SM st}b +/dT{fp pb 3 1 r s 3 2 r s 2 1 r rm f}b/N 0 d/db{array/bs x/N 0 d}b +/B{bs N rot put/N N 1 a d}b +/SpA{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie +aR aL m n D aL a 0 M 0 o n aA n aA arc cp f gr}b +/SpH{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie +0 cw 2 dv xl +aR aL m n D aL a 0 M 0 o n aA n 0 arc cp f gr}b/Sp{/St x 0.316/aR x gs +aF lW m 0.8 m St 4 and 0 ne{bW m lW dv bW sl}if/aL x +St 8 and 0 ne{8 ix 8 ix 3 ix 3 ix SpA}if +St 16 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpA}if +St 32 and 0 ne{8 ix 8 ix 3 ix 3 ix SpH}if +St 64 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpH}if +St 2 and 0 ne{St 4 and 0 ne{[hS bW m lW dv] 0 setdash}{dL}ie}if +np M{cv}rp St 128 and 0 ne{f}{st}ie gr}b/Ha{gs np 3 1 r +xl D sc -.7 1.4 M 0.7 1.4 l -.7 2.4 M 0.7 2.4 l SM st gr}b +/OP{3 ix 3 ix xl 3 -1 r s 3 1 r +e s o o at ro D m e D m a sq}b +/OB{/bS x OP D bS dv D lW 2 m lt{P lW 2 m}if/bd x}b +/DA{np 0 0 M aL 0 aR aL m 180 aA s 180 aA a arc cp f}b +/OA{np 0 cw -2 dv M aL 0 aR aL m 180 aA s +180 arc 0 cw -2 dv rl cp f}b +/Ast{SM cw 0.8 m sl st}b/SA{aF m lW m/aL x 0.263/aR x aL 1 aR s m np 0 M + rad 0 l gs Ast gr}b +/CA{aF lW m 0.8 m/aL x 0.316/aR x aL 1 aR s m 2 dv rad D m o D m s D 0 le{P +P P}{sq at 2 +m np rad 0 rad 180 6 -1 r s 180 6 -1 r s arc gs Ast gr cpt +e at ro}ie}b/AA{np rad 0 rad 180 180 6 -1 r a arc gs SM st gr}b +/RA{lW m/w x np rad w M w .7 dv w l rad w n M w .7 dv w n l w + .35 dv w 2 m M 0 0 +l w .35 dv w -2 m l st}b +/HA{lW m/w x np 0 0 M w 2 m D l w 2 m w l rad w l rad w n l w 2 m +w n l w 2 m D n l cp st}b +/Ar1{gs 5 1 r OP/rad x{{2.25 SA DA}{1.5 SA DA}{1 SA DA}{lW 4 m sl 4.5 SA DA} +{lW 4 m sl 3 SA DA}{lW 4 m sl 2 SA +DA}{270 CA DA}{180 CA DA}{120 CA DA}{90 CA DA}{2.5 RA}{2.5 +HA}{1 -1 sc 270 CA DA}{1 -1 sc 180 CA DA}{1 -1 sc 120 CA DA}{1 -1 sc 90 CA +DA}{5 RA}{5 HA}{dL 2.25 SA DA}{dL 1.5 SA DA}{dL 1 SA DA}{2.25 SA OA}{1.5 SA +OA}{1 SA OA}{1 -1 sc 2.25 SA OA}{1 -1 sc 1.5 SA OA} +{1 -1 sc 1 SA OA}{270 CA OA}{180 CA OA}{120 CA OA}{90 CA OA}{1 -1 sc 270 CA +OA}{1 -1 sc 180 CA OA}{1 -1 sc 120 CA OA}{1 -1 sc 90 CA OA}{1 -1 sc 270 +AA}{1 -1 sc 180 AA}{1 -1 sc 120 AA}{1 -1 sc 90 AA}}e g xc +gr}b/ac{arcto 4{P}rp}b/rO{4 cw m}b/Cr{0 0 1 0 360 arc}b/Ac{XY D sc Cr SM}b +/OrA{Y X at ro XY D rev{neg}if sc}b/Ov{OrA 1 0.4 sc Cr SM}b +/Asc{OrA 1 27 dv D sc}b/LB{9 -6 M +21 -10 27 -8 27 0 cv +27 8 21 10 9 6 cv +-3 2 -3 -2 9 -6 cv +cp}b/DLB{0 0 M +0 0 -9.51 9.65 -9.51 18.02 cv +-9.51 23.22 -6.75 27 0 27 cv +6.75 27 9.51 23.22 9.51 18.02 cv +9.51 9.65 0 0 0 0 cv +cp}b/ZLB{LB}b +/dt{gs np M SM cpt np rot 4.5 dv 0 360 arc f gr}b +/whf{gs 1 setgray f gr SM st}b/blf{gs f gr SM st}b/Rr{0 rO M +0 Y X Y rO ac +X Y X 0 rO ac +X 0 0 0 rO ac +0 0 0 Y rO ac +cp}b/Rc{0 0 M +0 Y l +X Y l +X 0 l +cp}b/grf{gs 0.5 sg f gr SM st}b/gG{D 32 dv D m 1 e s/gry x +currentrgbcolor bDst gry m a 3 1 r gDst gry m a 3 1 r rDst gry m a 3 1 r +setrgbcolor}b/gS{dtransform CMT idtransform +m D 0 lt{n}if sq n D +CMT dtransform idtransform +e 2 m e +xl +7 m 32 a 256 dv D sc}b/gLB{sh{sRmp +32 -0.5 0.5{gs +gG +13.5 0 xl +D 32 s 64 dv 13.5 m D 7 m 24 dv +gS +-13.5 0 xl +LB f +gr}for +LB SM st}{LB grf}ie}b/gOv{sh{sRmp +32 -0.5 0.5{gs +gG +D 32 s 64 dv 0.65 m D +gS +Cr f +gr}for +Cr SM st}{Cr grf}ie}b/gAc{sh{sRmp +32 -0.5 0.5{gs +gG +D 32 s 64 dv D +gS +Cr f +gr}for +Cr SM st}{Cr grf}ie}b +/gDLB{sh{sRmp +32 -0.5 0.5{gs +gG +0 13.5 xl +D 32 s 64 dv 13.5 m D 7 m 24 dv e +gS +0 -13.5 xl +DLB f +gr}for +DLB SM st}{DLB grf}ie}b/gRr{sh{sRmp +32 -0.5 0.5{gs +gG +X 2 dv Y 2 dv xl +D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D +gS +X -2 dv Y -2 dv xl +Rr f +gr}for +Rr SM st}{Rr grf}ie}b/gRc{sh{sRmp +32 -0.5 0.5{gs +gG +X 2 dv Y 2 dv xl +D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D +gS +X -2 dv Y -2 dv xl +Rc f +gr}for +Rc SM st}{Rc grf}ie}b/gZLB{gLB}b/Ath{Y X at ro XY 2 dv/rad x gs D SA DA gr + rad 2 m 0 xl 180 ro SA DA}b/Aeq{Y X at ro XY/rad x +rev{1 -1 sc}if +gs +0 lW 2 m xl +D SA OA +gr +rad 0 xl +180 ro +0 lW 2 m xl +SA OA}b/Aos{X Y M SM cpt xl XY e dv lW 1.667 m o o lt{e}if P D sc}b/Ach{5 Aos +gs/Helvetica findfont[1 0 0 -1 0 0]makefont 5.5 scalefont setfont +D stringwidth P 2 dv D 1 a/rad x +n 0 M show gr +rad 2 s -5 M +rad n -5 rad n 1 2 ac +rad n 1 rad 1 2 ac +rad 1 rad -5 2 ac +rad -5 rad n -5 2 ac +cp Ast}b/Ar{D 39 lt{Ar1} +{gs 5 1 r o o xl 3 -1 r e s 3 1 r s e +o 0 lt o 0 lt ne/rev x +D 0 lt{1 -1 sc neg}if/Y x D 0 lt{-1 1 sc neg} +if/X x np{{Y 16 div D 2 S lt{P 2 S}if/lp x +lp 0 M 0 0 l 0 Y l lp Y l +X lp s 0 M X 0 l X Y l X lp s Y l SM st}{Y 16 div D 2 S lt{P 2 S}if/lp x +lp 0 M +0 0 0 Y lp ac +0 Y 2 dv lp neg o lp ac +0 Y 2 dv 0 Y lp ac +0 Y lp Y lp ac +X lp s 0 M +X 0 X Y lp ac +X Y 2 dv X lp a o lp ac +X Y 2 dv X Y lp ac +X Y X lp s Y lp ac SM st}{Y D 2 dv Y 180 pA s 180 pA a arc st +np X Y s Y 2 dv +Y pA D neg arcn st}{Rc SM st}{X lW 2 dv a lW -2 dv M +rO D rl +X lW 2 dv a rO a Y lW 2 dv a rO a l +rO lW -2 dv a Y lW 2 dv a rO a l +lW -2 dv Y lW 2 dv a l +0 Y l X Y l X 0 l cp f +0 0 M +0 Y l +X Y l +X 0 l cp +SM st}{Rr SM st}{rO Y M rO rO xl +0 Y X Y rO ac +X Y X 0 rO ac +X 0 0 0 rO ac +rO neg D xl X Y 0 Y rO ac +cp f +Rr st}{Ac st}{OrA gAc}{Ov st}{OrA 1 .4 sc gOv}{Asc LB whf}{Asc gLB} +{Asc gs gLB gr +-1 -1 sc LB whf}{Asc gs gLB gr +-0.4 -0.4 sc LB whf}{Asc LB gs whf gr +np -0.4 -0.4 sc gLB}{Asc DLB -1 -1 sc DLB gs whf gr +np 90 ro gs gDLB gr -1 -1 sc gDLB}{Asc gs -1 -1 sc ZLB whf gr +gs 3.6 12 sc gOv gr +ZLB whf}{Asc gs -1 -1 sc gZLB gr +gs 3.6 12 sc Cr whf gr +gZLB}{0 0 M X Y l SM st}{bW sl 0 0 M X Y l SM st} +{dL 0 0 M X Y l SM st}{OrA 1 16 dv D sc +0 -1 M +0 0 1 0 1 ac +8 0 8 1 1 ac +8 0 16 0 1 ac +16 0 16 -1 1 ac +SM st}{XY D 0 0 dt X Y dt}{XY 2 dv X Y dt}{XY D X Y dt 0 0 M SM cpt xl +2 dv D sc +1 0 M -1 0 l +0 1 M 0 -1 l +Ast}{XY D X Y dt 0 0 M SM cpt xl +2 dv D sc +1 0 M -1 0 l +Ast}{4.5 Aos +1 0 M -1 0 l +0 1 M 0 -1 l +2 0 M 0 0 2 0 360 arc +Ast}{4.5 Aos +1 0 M -1 0 l +2 0 M 0 0 2 0 360 arc +Ast}{2.25 Ath}{1.5 Ath}{1 Ath}{2.25 Aeq}{1.5 Aeq}{1 Aeq}{OrA 1 16 dv D sc +0 -1 M 0 0 l 16 0 l 16 -1 l SM st}{5 Aos +1 -1 M -1 -1 l +0 2 M 0 -2 l +Ast}{5 Aos +1 -1 M -1 -1 l +1 1 M -1 1 l +0 2 M 0 -2 l +Ast}{4.5 Aos +1 0 M -1 0 l +0 1 M 0 -1 l +Ast}{4.5 Aos +1 0 M -1 0 l +Ast}{gRc}{gRr}{Rc blf}{Rr blf}{Ac blf}{Ov blf}{Asc DLB -1 -1 sc DLB gs whf gr +np 90 ro DLB -1 -1 sc DLB blf}{Asc gs -1 -1 sc ZLB blf gr +gs 3.6 12 sc Cr whf gr +ZLB blf}{Asc gs -1 -1 sc ZLB whf gr +gs 3.6 12 sc Cr blf gr +ZLB whf}{Asc LB gs whf gr +np -0.4 -0.4 sc LB blf}{Asc LB gs f gr gs SM st gr +np -0.4 -0.4 sc LB whf}{Asc LB blf}{Asc LB gs f gr gs SM st gr +np -1 -1 sc LB whf}{Ac whf}{OrA gAc}{Ac blf}{Ov whf} +{OrA 1 .4 sc gOv}{Ov blf}{(Rac)Ach}{(Abs)Ach}{(Rel)Ach} +}e 39 s g xc gr}ie}b/DS{np M l st}b +/DD{gs dL DS gr}b/DB{gs 12 OB bW sl np 0 0 M 0 l st gr}b/ap{e 3 ix a +e 2 ix a}b/PT{D 2 4 gi al P OP D 1 sc +o length 6 gt{P 6 g}{e P 8 dv}ie +D lW 2 m lt{P lW 2 m}if +0 e +0 0 +3 -1 r s 3 1 r e s e +0 0 M 1 0 l +0 0 ap M 1 0 ap l +e n e n +0 0 ap M 1 0 ap l +P P}b/DT{gs np PT SM st gr}b +/NH{lW s D hS dv ru +cvi D 0 eq{P 1}if/nH x +D hS nH m s +D 0 lt{P .1 s nH dv}{nH 2 a dv D 0 xl 2 m s nH dv}ie}b +/Bd{D type/arraytype ne{bs e g}if{{P}{{{DS}{DD}{gs 12 OB np +bW 2 dv/bd x +lW 2 dv e D NH e{D bd M bd n l}for +st gr}{gs 12 OB np +lW 2 dv 0 xl NH 1 sc +bW 2 dv wF m nH 1 a dv/bd x +0 1 nH +{D 1 a bd m o o M n l}for SM st gr}{P}{DB}{gs 12 OB +np 0 lW 2 dv o o n M l bW 2 dv +wF m o o l n l +cp f gr}{P}{gs 12 OB/bL x +bW 2 dv D lW lt{P lW}if/bd x np 0 0 M +bL bd 4 m dv ru 2 o o lt{e}if P cvi/nSq x +bL nSq 2 m dv D sc +nSq{.135 .667 .865 .667 1 0 rcurveto +.135 -.667 .865 -.667 1 0 rcurveto}rp SM st gr}{gs 12 OB +np 0 lW 2 dv o o n M l bW 2 dv +wF m o o l n l +cp SM lW 0.8 m sl st gr}{P}{4 2 r gs OP/rad x 1 SA DA gr}{P} +}o 1 g 1 s g e 2 4 gi al P +5 -1 r xc}{al P 8 ix 1 eq{DD}{DS}ie 5 -1 r 2 eq{DB}{DS}ie P}{DT}}o 0 g g xc}b +/ed{gs cpt np cw 2 dv 0 360 arc f gr}b +/SPe{gs 0 e xl 1 1 S dv D n sc CMT currentmatrix P lW sl 4.0 setmiterlimit +np}b/ws{Wd 0 32 4 -1 roll widthshow}b/blank/Times-Roman findfont/CharStrings +g/space g d/mv 256 array d/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT +/FF/CR/SO/SI +/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US +mv 0 32 gi as P +mv 32/Times-Roman findfont/Encoding get +32 96 gi putinterval +mv 39/quotesingle put +mv 96/grave put/unknown/unknown/quotesinglbase/florin/quotedblbase/ellipsis +/dagger/daggerdbl +/circumflex/perthousand/Scaron/guilsinglleft/OE/unknown/unknown/unknown +/unknown/quoteleft/quoteright/quotedblleft/quotedblright/bullet/endash +/emdash +/tilde/trademark/scaron/guilsinglright/oe/unknown/unknown/Ydieresis +/blank/exclamdown/cent/sterling/currency/yen/brokenbar/section +/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered +/macron +/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph +/periodcentered +/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf +/threequarters/questiondown +/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla +/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis +/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply +/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls +/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla +/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis +/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide +/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis +mv 128 128 gi as P/fSt 50 string d(ChemDraw)fSt copy P/fD{D/Symbol eq{ +findfont[1 0 0 -1 0 0]makefont}{D {findfont}stopped{/Helvetica findfont}if +D length dict/newdict x{ +1 index/FID ne{1 index/FontMatrix eq{[1 0 0 -1 0 0]matrix concatmatrix}if +newdict 3 1 r put}{P P}ie}forall +newdict/Encoding mv put +fSt 8 fSt length 8 sub gi cvs length 8 add +fSt 0 rot gi cvn newdict definefont}ie}b/ts{gs xl ro 0 0 M}b +/nl{0 e xl 0 0 M}b/tx{ft e g e sf m rot D 96 and 0 ne{ +64 and 0 ne{-0.5}{0.25}ie e 0.75 m}{P 0 e}ie +D 4 -1 r e scalefont setfont m cpt P e M}b +end +%%EndProcSet +%%EndProlog + +chemdict30 begin +/cW 24 def +/bW 48 def +/lW 12 def +/hS 32 def +/sh true def +222 SPe[ +/Helvetica +fD +/Helvetica-Oblique +fD]/ft x +600 1560 M +5760 1560 l +5760 2880 l +600 2880 l +cp clip np +65535 65535 +65535 sBg +0 1640 2178 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +0 1182 2178 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1619 2364 M +1627 2376 l +1335 2376 l +1344 2364 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1598 2330 M +1598 2342 l +1364 2342 l +1364 2330 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1669 2208 M +1681 2212 l +1627 2376 l +1619 2364 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1481 1941 M +1481 1926 l +1629 2034 l +1622 2043 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1343 2041 M +1336 2032 l +1481 1926 l +1481 1941 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1363 2069 M +1356 2059 l +1478 1971 l +1485 1981 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1344 2364 M +1335 2376 l +1282 2212 l +1293 2209 l +cp +f +gr +0 1033 2091 ts +0.0000 0.0000 0.0000 1.0000 sk +-377 +0 M +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1055 2043 M +1059 2031 +l +1167 2066 l +1163 2078 l +cp +f +gr +0 1897 2091 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1878 2040 M +1882 2051 +l +1802 2077 l +1798 2066 l +cp +f +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +10 D sl/lW x +1228 1973 M +1295 +1973 l st +1261 1940 M +1261 2006 l st +gr +0 2085 2400 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Br)show +64 10 0 tx +(\226)show +gr +0 5084 2247 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +0 4625 2247 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5062 2433 M +5071 2445 l +4778 2445 l +4787 2433 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5042 2399 M +5042 2411 l +4808 2411 l +4808 2399 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5113 2277 M +5124 2281 l +5071 2445 l +5062 2433 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4925 2010 M +4925 1995 l +5072 2102 l +5065 2112 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4787 2110 M +4779 2101 l +4925 1995 l +4925 2010 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4787 2433 M +4778 2445 l +4725 2281 l +4737 2278 l +cp +f +gr +0 4476 2160 ts +0.0000 0.0000 0.0000 1.0000 sk +-377 0 M +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4498 2112 M +4502 2100 +l +4610 2135 l +4606 2147 l +cp +f +gr +0 5340 2160 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5321 2109 M +5325 2120 +l +5246 2146 l +5243 2134 l +cp +f +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +np +4962 1946 17 0 360 arc +cp +f +np +4887 1946 17 0 360 arc +cp +f +gr +0 3236 1785 ts +0.0000 0.0000 0.0000 1.0000 sk +-364.5 0 M +0 10 0 tx +(KO-)show +2 10 1 tx +(t)show +0 10 0 tx +(-Bu)show +201 nl +-114.5 0 M +0 10 0 tx +(thf)show +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +10 D sl/lW x +3597 2130 M +2771 2130 l st +gs +3581 2161 3701 2130 3701 2130 3596 2143 3581 2161 3581 2161 3581 2098 +3596 2116 3596 2130 3701 2130 3581 2098 3581 2098 4 3701 2130 0 Sp +gr +gr +0 +1215 2805 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(TMP1)show +gr +0 4642 2805 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(TMP2)show +gr +gr end +%%Trailer +showpage diff --git a/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx b/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx new file mode 100644 index 00000000000..569926167ca --- /dev/null +++ b/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx @@ -0,0 +1,1150 @@ +% \iffalse meta-comment +% +% Copyright (C) 2007 by +% Joseph Wright <joseph.wright@morningstar2.co.uk> +% +% Released under the GNU General Public License v2 +% See http://www.gnu.org/licenses/gpl.txt +% +% This work consists of the main source file chemscheme.dtx +% and the derived files chemscheme.sty and chemscheme.pdf; +% also included is the ChemDraw source file chemschem.cdx +% +%<*driver> +\documentclass{ltxdoc} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +%\OnlyDescription +\usepackage[T1]{fontenc} +\usepackage[english,UKenglish]{babel} +\usepackage{mathpazo,booktabs,array,url,graphicx,unitsdef,courier} +\usepackage[scaled=0.95]{helvet} +\usepackage[final]{microtype} +\usepackage{\jobname} +\begin{document} + \DocInput{\jobname.dtx} +\end{document} +%</driver> +% \fi +% +% \CheckSum{96} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% \GetFileInfo{\jobname.sty} +% +% \changes{v1.0}{2007/07/21}{Initial public release} +% +% \DoNotIndex{\@ifclassloaded,\@undefined,\chapter,\CNlabel} +% \DoNotIndex{\CNlabelsub,\compound,\DeclareOption,\else,\floatname} +% \DoNotIndex{\fi,\global,\ifx,\let,\listof,\MessageBreak} +% \DoNotIndex{\NeedsTeXFormat,\newcommand,\newfloat,\newif} +% \DoNotIndex{\newlistof,\PackageWarning,\ProcessOptions,\protect} +% \DoNotIndex{\ProvidesPackage,\psfrag,\RequirePackage,\space} +% \DoNotIndex{\textsf} +% +% \title{\texttt{chemscheme} --- Support for chemical schemes% +% \thanks{This file describes version \fileversion, last revised +% \filedate.}} +% \author{Joseph Wright% +% \thanks{E-mail: joseph.wright@morningstar2.co.uk}} +% \date{Released \filedate} +% +% \maketitle +% +% \begin{abstract} +% +% The |chemscheme| package consists of two parts, both related to +% chemical schemes. The package adds a |scheme| float type to the +% LaTeX default types |figure| and |table|. The |scheme| float type +% acts in the same way as those defined by the LaTeX kernel, but is +% intended for chemical schemes. The package also provides a method +% for adding automatic chemical numbering to schemes. +% +% \end{abstract} +% +% \section{Introduction} +% +% By default, LaTeX defines two float types, |figure| and |table|. +% Synthetic chemists make heavy use of schemes, which need a |scheme| +% float type. This is provided by |chemscheme|, in a manner +% consistent with the kernel floats. +% +% Synthetic chemists also number compounds for ease of reference. +% There are a number of LaTeX packages which cover this area, most +% notably |bpchem| and |chemcompounds|. However, adding numbers +% automatically to schemes is not covered by any existing package. +% The |chemescheme| package seeks to rectify this. +% +% \section{Floating schemes} +% +% \subsection{Basic use} +% +% \DescribeEnv{scheme} +% The package provides a new float type, scheme, accessed in the +% usual way. So, issuing the following commands: +% \begin{scheme}[ht] +% \centering +% \includegraphics{scheme-one}\\ +% \caption{A scheme with no compound numbers.} +% \label{scheme-one} +% \end{scheme} +% \begin{verbatim} +% \begin{scheme}[ht] +% \centering +% \includegraphics{scheme-one}\\ +% \caption{A scheme with no compound numbers.} +% \label{scheme-one} +% \end{scheme} +% \end{verbatim} +% will lead to the appearance of a scheme as requested +% (Scheme~\ref{scheme-one}). By default, the positioning of |scheme| +% floats follows the standard LaTeX system (positioning at the top +% of a page is preferred). As shown in the example, the use of +% positional modifiers is allowed. The |float| package is loaded by +% |chemscheme|, allowing the use of the |[H]| positional directive, +% meaning \emph{really} here.\footnote{|memoir| users should note +% that |float| cannot be used with this document class. The internal +% |memoir| system for float placement is thus in use in this case.} +% Labelling and referencing schemes follows the LaTeX conventions. +% So for example, to reference Scheme~\ref{scheme-one}, you type +% \begin{verbatim} +% Scheme~\ref{scheme-one} +% \end{verbatim} +% +% \DescribeMacro{\listofschemes} +% To match the \cmd{\listoffigures} and \cmd{\listoftables} macros +% provided by the LaTeX kernel, |chemscheme| provides a +% \cmd{\listofschemes} command. This works in the same way as the +% kernel commands, taking a single optional argument \oarg{Title}, +% which by default is ``List of Schemes.'' The output of the +% \cmd{\listofschemes} command is illustrated below. +% \listofschemes +% +% \subsection{Altering the defaults} +% +% For users of the standard class files or the \textsc{koma-script} +% bundle, the |float| package is used to create the new float type. +% Thus the usual |float| commands can be used to modify the behaviour +% as desired. Users of |memoir| will have slightly different commands +% available, as |memoir| implements its own new float mechanism, +% which is used in that case. Schemes may be numbered within chapters +% (Scheme~1.1, Scheme~1.2, \emph{etc.}~by loading the package with the +% [chapter] option. +% +% \DescribeMacro{\schemename} +% \DescribeMacro{\listschemes} +% Two macros are provided to allow the user to re-define the name of +% schemes and the title of the list of schemes in a consistent manner +% (independent of document class). Thus \cmd{\schemename} contains +% the text used in scheme captions (by default \schemename), and +% \cmd{\listschemes} contains the title of the scheme list (by +% default \listschemes). Both may be freely re-defined. +% +% \section{Reference numbers in graphics} +% +% \subsection{Background} +% +% There are a number of packages available on \textsc{ctan} for +% tracking compound reference numbers. The two with the most up to +% date and comprehensive features are |bpchem| and |chemcompounds|. +% Both allow in-text numbering to be handled automatically. However, +% neither will allow the use of these numbers directly in schemes, +% figures, \emph{etc.} Both leave it to the user to manually +% adapt schemes to match any changes in numbering. +% +% The |chemscheme| package provides a mechanism for rectifying this +% issue, provided that \emph{compilation occurs in LaTeX (DVI) mode +% and not using pdfLaTeX}.\footnote{Of course, both may be using the +% pdfTeX engine; it is the output mode that is important.} +% +% \subsection{Usage} +% +% Getting automated numbers into schemes is a two step procedure. In +% the first step, schemes (or other graphics) should be prepared as +% normal and saved as encapsulated postscript (\textsc{eps}) files +% The most popular chemistry drawing package, \textsc{ChemDraw}, +% is able to do this from the \texttt{Save As \ldots} dialog. +% \DescribeMacro{\chemschemerefmarker} +% The positions where the auto-labels should be positioned have to be +% marked in the \textsc{eps} file. The marker should consist of an +% ``indicator'' that the text is to be replaced, followed by a +% reference number or letter. The ``indicator'' text should be the +% same in all graphics; it is stored in \cmd{\chemschemerefmarker}, +% and has default value \textsf{\chemschemerefmarker}. Thus the +% graphics should contain labels \textsf{\chemschemerefmarker1}, +% \textsf{\chemschemerefmarker2}, \emph{etc.} A suitable unmodified +% graphic is shown in Scheme~\ref{scheme-two-uned}. +% \begin{scheme}[ht] +% \centering +% \includegraphics{scheme-two}\\ +% \caption{A scheme with temporary compound numbers.} +% \label{scheme-two-uned} +% \end{scheme} +% +% The value of \cmd{\chemschemerefmarker} may be altered as normal +% using \cmd{\renewcommand}, so for example to use \textsf{XXX} +% as the indicator for replacement, you would execute +% |\renewcommand{\chemeschemerefmarker}{XXX}|. +% +% \DescribeMacro{\chemschemeref} +% In the second step, the command \cmd{\chemschemeref} is used to +% indicate the mapping of the temporary markers to the +% automatically-managed numbering. The syntax of the command +% is \cmd{\chemschemeref}\marg{temp-marker}\marg{label}, where +% \meta{temp-marker} is the unique marker used in the graphic, +% and \meta{label} is the name assigned to the compound by the user. +% Each replacement requires a separate \cmd{\chemschemeref}, all +% of which should appear before the relevant \cmd{\includegraphics} +% command. Notice that \meta{temp-marker} only contains the +% unique part of the temporary marker. Thus using the default +% indicator \textsf{\chemschemerefmarker}, the \textsc{eps} file +% might contain \textsf{\chemschemerefmarker1} and \meta{temp-marker} +% would be \textsf{1}. +% +% An example will make usage clearer. In the example used in this +% document, the starting material is given label |IMesHCl| and +% the product is called |IMes|. As is shown in +% Scheme~\ref{scheme-two-uned}, in the \textsc{eps} file these are +% labelled \textsf{TMP1} and \textsf{TMP2}, respectively. To relabel +% these as \CNlabel{IMesHCl} and \CNlabel{IMes}, the following is +% needed: +% \begin{scheme}[ht] +% \centering +% \chemschemeref{1}{IMesHCl} +% \chemschemeref{2}{IMes} +% \includegraphics{scheme-two}\\ +% \caption{A scheme with automated compound numbers.} +% \label{scheme-two} +% \end{scheme} +% \begin{verbatim} +% \begin{scheme}[ht] +% \centering +% \chemschemeref{1}{IMesHCl} +% \chemschemeref{2}{IMes} +% \includegraphics{scheme-two}\\ +% \caption{A scheme with automated compound numbers.} +% \label{scheme-two} +% \end{scheme} +% \end{verbatim} +% It is important to notice that the chemical labels must be defined +% \emph{before} the use of \cmd{\chemschemeref}, or odd things may +% happen (most likely your document will not compile with strange +% errors). Also notice that the new label is centred on the middle of +% the temporary marker, with the same baseline. This should allow +% the user to obtain good alignment of labels and structures. +% +% \DescribeMacro{\chemschemerefsub} +% As described in Section~\ref{packages}, |chemscheme| supports +% |bpchem|, which allows tracking of sub-labels (\textbf{1a}, +% \textbf{1b}, \emph{etc.}). To allow use of these in schemes, +% the \cmd{\chemschemerefsub} command is provided. This takes an +% additional argument \marg{sub-label}, which is used to generate +% the appropriate text. When used with |chemcompounds|, this command +% will gobble its arguments and issue a warning; no substitution will +% take place. +% +% \DescribeMacro{\chemschemerefformat} +% The format of chemical references is controlled by the underlying +% package, |bpchem| or |chemcompounds|. However, it is useful to +% be able to specify additional formatting for schemes. By default, +% |chemscheme| formats all reference numbers in a sans serif font. +% This is controlled by \cmd{\chemschemerefformat}. The additional +% formatting applied within schemes may be altered by redefining +% \cmd{\chemschemerefformat}. By careful choice of the font commands +% given here, good visual matching should be obtained between the +% automatically-generated labels and other text in the scheme. In +% this document, the \textsc{ChemDraw} source uses 10 point Arial, +% with the LaTeX sans serif font provided by the |helvet| package, +% loaded scaled to 95\percent, \emph{i.e.} +% \begin{verbatim} +% \usepackage[scaled=0.95]{helvet} +% \end{verbatim} +% The \textsc{ChemDraw} file used to generate the example schemes +% is included with the package, as |chemscheme.cdx|. +% +% \subsection{Managing chemical numbering\label{packages}} +% +% The |chemscheme| package can use one of two packages for management +% of chemical numbering. Both |bpchem| and |chemcompounds| are +% supported: |bpchem| is the default, and |chemcompounds| is requested +% by loading |chemescheme| with the [chemcompounds] option. Both +% packages have advantages: |bpchem| allows the tracking of +% sub-references (very common in organic chemistry), whilst +% |chemcompounds| has a very well thought-out interface. It is +% technically feasible to support both simultaneously, but this is +% unlikely to have wide application. For this reason, |chemscheme| +% loads only one package (depending on the user option given), and +% uses this package to provide numbering management. +% +% Both |bpchem| and |chemcompounds| provide a variety of methods for +% defining chemical labels. In either case, the user should define +% the chemical label \emph{before} it is referenced by +% \cmd{\chemschemeref}. Errors are very likely to occur if this is +% not done. +% +% \section{Known issues} +% +% The number replacement code relies on the use of |psfrag|, which +% can only be applied to \textsc{eps} graphics. Thus, users of +% pdfLaTeX will not benefit form the automated number replacement. +% For final compilation directly to \textsc{pdf}, it may be +% preferable to modify the graphics files and use |epstopdf| to +% include the files. The alternative is to use the more +% traditional route \textsc{dvi} $\to$ \textsc{ps} $\to$ +% \textsc{pdf}. +% +% Currently, the names of schemes are only available in English. If +% the correct translations are provided, the package author will +% aim to incorporate the appropriate code. +% +% \StopEventually{} +% +% \iffalse +%<*package> +% \fi +% +% \section{Implementation} +% +% \subsection{Setup code} +% +% The initial code goes through the usual steps of identifying the +% package. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{chemscheme}% + [2007/07/21 v1.0 Support for chemical schemes] +% \end{macrocode} +% The |psfrag| package is required to carry out the inclusion of +% chemical numbers in graphics. If the |memoir| package is not +% being used, the |float| package is used to provide support for +% new float types. However, if |memoir| is in use, |float| should +% not be loaded. +% \begin{macrocode} +\RequirePackage{psfrag} +\@ifclassloaded{memoir}{} + {\RequirePackage{float}} +% \end{macrocode} +% Option processing now takes place. This requires two Boolean +% values, which are declared here. By default, |chemscheme| uses +% |bpchem| for managing chemical compound references. The options +% reflect this. +% \begin{macrocode} +\newif \ifCHEMSCH@chapter \CHEMSCH@chapterfalse +\newif \ifCHEMSCH@bpchem \CHEMSCH@bpchemtrue +\DeclareOption{chapter}{\global\CHEMSCH@chaptertrue} +\DeclareOption{chemcompounds}{\global\CHEMSCH@bpchemfalse} +\DeclareOption{bpchem}{} +\ProcessOptions +% \end{macrocode} +% +% \subsection{Support for schemes} +% +% \begin{macro}{\schemename} +% \begin{macro}{\listschemes} +% The new float type for schemes in produced using the |float| +% package, or the appropriate |memoir| code. First, names for +% schemes and the list of schemes are set up. These are provided +% for ease of modification, as demonstrated in the |memoir| manual. +% \begin{macrocode} +\newcommand*{\schemename}{Scheme} +\newcommand*{\listschemes}{List of Schemes} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \begin{environment}{scheme} +% The \cmd{\newfloat} command is used to generate the new float type, +% first checking if numbering within chapters is requested. A +% suitable warning is issued if no chapters exist in the document. +% The syntax required depends on whether |float| or |memoir| is used +% for the definition. +% \begin{macrocode} +\ifCHEMSCH@chapter + \ifx\chapter\@undefined + \PackageWarning{chemscheme}% + {No chapters in this document \MessageBreak% + Ignoring `chapter' option} + \@ifclassloaded{memoir} + {\newfloat{scheme}{los}{\schemename}} + {\newfloat{scheme}{tbp}{los}} + \else + \@ifclassloaded{memoir} + {\newfloat[chapter]{scheme}{los}{\schemename}} + {\newfloat{scheme}{tbp}{los}[chapter]} + \fi +\else + \@ifclassloaded{memoir} + {\newfloat{scheme}{los}{\schemename}} + {\newfloat{scheme}{tbp}{los}} +\fi +% \end{macrocode} +% \end{environment} +% \begin{macro}{\listofschemes} +% To ensure that things are labelled correctly, the new float type +% is given an appropriate name. Notice that |memoir| does this at +% the float-definition stage. In common with the standard float +% types, a \cmd{\listof} command is provided for schemes. +% \begin{macrocode} +\@ifclassloaded{memoir} + {\newlistof{listofschemes}{los}{\listschemes}} + {\floatname{scheme}{\schemename} + \newcommand*{\listofschemes}[1][\listschemes]% + {\listof{scheme}{#1}}} +% \end{macrocode} +% \end{macro} +% +% \subsection{Reference numbers in graphics} +% +% \begin{macro}{\chemschemerefmarker} +% \begin{macro}{\chemschemerefformat} +% The two macros \cmd{\chemschemerefmarker} and +% \cmd{\chemschemerefformat} are used to allow customisation of the +% behaviour of the package. Here defaults are provided. +% \begin{macrocode} +\newcommand{\chemschemerefmarker}{TMP} +\newcommand{\chemschemerefformat}{\textsf} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \begin{macro}{\CHEMSCH@label} +% Depending on the user options provided, either |bpchem| or +% |chemcompounds| is loaded to manage chemical citations. The +% macro \cmd{\CHEMSCH@label} is defined as the labelling command of +% the appropriate package. +% \begin{macrocode} +\ifCHEMSCH@bpchem + \RequirePackage{bpchem} + \let\CHEMSCH@label\CNlabel +\else + \RequirePackage{chemcompounds} + \let\CHEMSCH@label\compound +\fi +% \end{macrocode} +% \end{macro} +% \begin{macro}{\chemschemeref} +% The referencing macro is a wrapper for the appropriate +% \cmd{\psfrag} command. The first argument of \cmd{\chemschemeref} +% is the temporary code assigned to a compound, with the second +% containing the reference used for the compound in the citation +% scheme. The use of |[b][b]| places the new label at the centre of +% the position of the temporary one, at the same vertical position. +% \begin{macrocode} +\newcommand{\chemschemeref}[2]{% + \psfrag{\chemschemerefmarker#1}[b][b]% + {\chemschemerefformat{\CHEMSCH@label{#2}}}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\chemschemerefsub} +% The |sub| version of the referencing command is needed as |bpchem| +% allows tracking of sub-compounds (\emph{e.g.}~\textbf{1a}, +% \textbf{1b}, \emph{etc.}). As |chemcompounds| does not do this, +% the command in that case gobbles up the third argument and gives +% the user a suitable warning. +% \begin{macrocode} +\ifCHEMSCH@bpchem + \newcommand{\chemschemerefsub}[3]{% + \psfrag{\chemschemerefmarker#1}[b][b]% + {\chemschemerefformat{\CNlabelsub{#2}{#3}}}% + } +\else + \newcommand{\chemschemerefsub}[3]{% + \PackageWarning{chemscheme}% + {`chemcompound' option active\MessageBreak + Command \protect\chemschemerefsub\space not used \MessageBreak + Please alter your source to \MessageBreak + \protect\chemschemeref}} +\fi +% \end{macrocode} +% \end{macro} +% \iffalse +%</package> +% \fi +% \iffalse +%<*scheme> +%!PS-Adobe-2.0 EPSF-1.2 +%%Creator: ChemDraw Std(tm) 10.0 +%<!labels>%%Title: scheme-one.eps +%<labels>%%Title: scheme-two.eps +%%CreationDate: 21/07/2007 12:00 +%%DocumentSuppliedProcSets: chemdict30 24 13 +%%DocumentFonts: Helvetica Helvetica-Oblique +%%BoundingBox: 30 78 288 144 +%%EndComments +%%BeginProcSet: chemdict30 24 13 +% ChemDraw Laser Prep +% Copyright © 1985-2005 CambridgeSoft Corp., All Rights Reserved +userdict/chemdict30 210 dict put +chemdict30 begin/version 24 def/sv 13 def +/b{bind def}bind def/L{load def}b/R{null def}b/d/def L/a/add L/al/aload L +/as/astore L/at/atan L/cp/closepath L/cv/curveto L/cw/currentlinewidth L +/cpt/currentpoint L/dv/div L/D/dup L/e/exch L/F/false L/f/fill L/fa/forall L +/g/get L/gi/getinterval L/gr/grestore L/gs/gsave L/ie/ifelse L/ix/index L +/l/lineto L/mt/matrix L/M/moveto L/m/mul L/n/neg L/np/newpath L/pb/pathbbox L +/P/pop L/r/roll L/rl/rlineto L/rm/rmoveto L/ro/rotate L/rp/repeat L +/ru/round L/sc/scale L/sl/setlinewidth L/sm/setmatrix L/st/stroke L +/sp/strokepath L/sq/sqrt L/s/sub L/T/true L/tr/transform L/xl/translate L +/xc/exec L/A R/N R/St R/X R/Y R/aL R/bL R/bS R/bd R/bs R/cX R/cY R/ch R/co R +/fB R/fI R/fS R/fZ R/fl R/ft R/iX R/iY R/idx R/lh R/llx R/lly R/lp R/nH R +/nSq R/newdict R/ps R/rad R/rev R/sL R/sba R/sbl R/sbs R/sn R/spa R/tB R +/typ R/urx R/ury R/w R/wF R/xX R/xY R/rBg R/gBg R/bBg R/gry R/rDst R/gDst R +/bDst R/cpd R/Aeq R/Ath R/Aos R/Ach R/ed R/sf 20 d/cW 20 d/lW 20 d/bW 75 d +/wF 1.5 d/aF 11.875 d/aR 0.263 d/aA 50 d/hS 54 d/pA 32 d/sh F d/S{sf m}b +/dL{[hS] 0 setdash}b/o{1 ix}b/rot{3 -1 r}b/x{e d}b/CMT mt d/TM mt d +/SM{CMT sm}b/XY{X D m Y D m a sq}b/s1 1 string d/fp{T charpath flattenpath}b +/p{tr ru 0.25 a e ru 0.25 a e itransform}b/Wd{65536. dv}b +/C{Wd rot Wd rot Wd rot setrgbcolor}b +/setcmykcolor where{P/sk/setcmykcolor L}{/sk{4 1 r 3{3 ix a D 0 lt{P 0}if D 1\ + gt{P 1}if 1 e s 3 1 r}rp setrgbcolor P}b}ie/sg{D currenthsbcolor P rot seths\ +bcolor currenthsbcolor e P e P o s D m .001 gt{setgray}{P}ie}b +/sBg{65535 dv/bBg x 65535 dv/gBg x 65535 dv/rBg +x}b +/sRmp{currentrgbcolor bBg e s/bDst x gBg e s/gDst x rBg e s/rDst x}b +/dD{np 2 1 r 4 2 r xl 2 dv D sc -1 0 M 0 -1 l 1 0 l 0 1 l cp SM 0 ne{f}{lW 0.\ +8 m sl st}ie}b +/dM{gs np 3 1 r xl D sc 0 4 M 0 -8 rl 3.5 2 rm -7 4 rl 0 -4 rm 7 4 rl SM st g\ +r}b/dQ{gs np 0 360 arc 0.5 sg f gr}b +/dR{lW 0.8 m sl 2 ix s/Y x 2 ix s/X x xl Rr SM st}b +/dT{fp pb 3 1 r s 3 2 r s 2 1 r rm f}b/N 0 d/db{array/bs x/N 0 d}b +/B{bs N rot put/N N 1 a d}b +/SpA{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie +aR aL m n D aL a 0 M 0 o n aA n aA arc cp f gr}b +/SpH{gs np o o xl rot s e rot s o 0 ne o 0 ne or{at ro}{P P}ie +0 cw 2 dv xl +aR aL m n D aL a 0 M 0 o n aA n 0 arc cp f gr}b/Sp{/St x 0.316/aR x gs +aF lW m 0.8 m St 4 and 0 ne{bW m lW dv bW sl}if/aL x +St 8 and 0 ne{8 ix 8 ix 3 ix 3 ix SpA}if +St 16 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpA}if +St 32 and 0 ne{8 ix 8 ix 3 ix 3 ix SpH}if +St 64 and 0 ne{2 ix 6 m 1 a D ix e D ix e D ix e D ix e P SpH}if +St 2 and 0 ne{St 4 and 0 ne{[hS bW m lW dv] 0 setdash}{dL}ie}if +np M{cv}rp St 128 and 0 ne{f}{st}ie gr}b/Ha{gs np 3 1 r +xl D sc -.7 1.4 M 0.7 1.4 l -.7 2.4 M 0.7 2.4 l SM st gr}b +/OP{3 ix 3 ix xl 3 -1 r s 3 1 r +e s o o at ro D m e D m a sq}b +/OB{/bS x OP D bS dv D lW 2 m lt{P lW 2 m}if/bd x}b +/DA{np 0 0 M aL 0 aR aL m 180 aA s 180 aA a arc cp f}b +/OA{np 0 cw -2 dv M aL 0 aR aL m 180 aA s +180 arc 0 cw -2 dv rl cp f}b +/Ast{SM cw 0.8 m sl st}b/SA{aF m lW m/aL x 0.263/aR x aL 1 aR s m np 0 M + rad 0 l gs Ast gr}b +/CA{aF lW m 0.8 m/aL x 0.316/aR x aL 1 aR s m 2 dv rad D m o D m s D 0 le{P +P P}{sq at 2 +m np rad 0 rad 180 6 -1 r s 180 6 -1 r s arc gs Ast gr cpt +e at ro}ie}b/AA{np rad 0 rad 180 180 6 -1 r a arc gs SM st gr}b +/RA{lW m/w x np rad w M w .7 dv w l rad w n M w .7 dv w n l w + .35 dv w 2 m M 0 0 +l w .35 dv w -2 m l st}b +/HA{lW m/w x np 0 0 M w 2 m D l w 2 m w l rad w l rad w n l w 2 m +w n l w 2 m D n l cp st}b +/Ar1{gs 5 1 r OP/rad x{{2.25 SA DA}{1.5 SA DA}{1 SA DA}{lW 4 m sl 4.5 SA DA} +{lW 4 m sl 3 SA DA}{lW 4 m sl 2 SA +DA}{270 CA DA}{180 CA DA}{120 CA DA}{90 CA DA}{2.5 RA}{2.5 +HA}{1 -1 sc 270 CA DA}{1 -1 sc 180 CA DA}{1 -1 sc 120 CA DA}{1 -1 sc 90 CA +DA}{5 RA}{5 HA}{dL 2.25 SA DA}{dL 1.5 SA DA}{dL 1 SA DA}{2.25 SA OA}{1.5 SA +OA}{1 SA OA}{1 -1 sc 2.25 SA OA}{1 -1 sc 1.5 SA OA} +{1 -1 sc 1 SA OA}{270 CA OA}{180 CA OA}{120 CA OA}{90 CA OA}{1 -1 sc 270 CA +OA}{1 -1 sc 180 CA OA}{1 -1 sc 120 CA OA}{1 -1 sc 90 CA OA}{1 -1 sc 270 +AA}{1 -1 sc 180 AA}{1 -1 sc 120 AA}{1 -1 sc 90 AA}}e g xc +gr}b/ac{arcto 4{P}rp}b/rO{4 cw m}b/Cr{0 0 1 0 360 arc}b/Ac{XY D sc Cr SM}b +/OrA{Y X at ro XY D rev{neg}if sc}b/Ov{OrA 1 0.4 sc Cr SM}b +/Asc{OrA 1 27 dv D sc}b/LB{9 -6 M +21 -10 27 -8 27 0 cv +27 8 21 10 9 6 cv +-3 2 -3 -2 9 -6 cv +cp}b/DLB{0 0 M +0 0 -9.51 9.65 -9.51 18.02 cv +-9.51 23.22 -6.75 27 0 27 cv +6.75 27 9.51 23.22 9.51 18.02 cv +9.51 9.65 0 0 0 0 cv +cp}b/ZLB{LB}b +/dt{gs np M SM cpt np rot 4.5 dv 0 360 arc f gr}b +/whf{gs 1 setgray f gr SM st}b/blf{gs f gr SM st}b/Rr{0 rO M +0 Y X Y rO ac +X Y X 0 rO ac +X 0 0 0 rO ac +0 0 0 Y rO ac +cp}b/Rc{0 0 M +0 Y l +X Y l +X 0 l +cp}b/grf{gs 0.5 sg f gr SM st}b/gG{D 32 dv D m 1 e s/gry x +currentrgbcolor bDst gry m a 3 1 r gDst gry m a 3 1 r rDst gry m a 3 1 r +setrgbcolor}b/gS{dtransform CMT idtransform +m D 0 lt{n}if sq n D +CMT dtransform idtransform +e 2 m e +xl +7 m 32 a 256 dv D sc}b/gLB{sh{sRmp +32 -0.5 0.5{gs +gG +13.5 0 xl +D 32 s 64 dv 13.5 m D 7 m 24 dv +gS +-13.5 0 xl +LB f +gr}for +LB SM st}{LB grf}ie}b/gOv{sh{sRmp +32 -0.5 0.5{gs +gG +D 32 s 64 dv 0.65 m D +gS +Cr f +gr}for +Cr SM st}{Cr grf}ie}b/gAc{sh{sRmp +32 -0.5 0.5{gs +gG +D 32 s 64 dv D +gS +Cr f +gr}for +Cr SM st}{Cr grf}ie}b +/gDLB{sh{sRmp +32 -0.5 0.5{gs +gG +0 13.5 xl +D 32 s 64 dv 13.5 m D 7 m 24 dv e +gS +0 -13.5 xl +DLB f +gr}for +DLB SM st}{DLB grf}ie}b/gRr{sh{sRmp +32 -0.5 0.5{gs +gG +X 2 dv Y 2 dv xl +D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D +gS +X -2 dv Y -2 dv xl +Rr f +gr}for +Rr SM st}{Rr grf}ie}b/gRc{sh{sRmp +32 -0.5 0.5{gs +gG +X 2 dv Y 2 dv xl +D 32 s 64 dv X Y lt{X}{Y}ie m 0.25 m D +gS +X -2 dv Y -2 dv xl +Rc f +gr}for +Rc SM st}{Rc grf}ie}b/gZLB{gLB}b/Ath{Y X at ro XY 2 dv/rad x gs D SA DA gr + rad 2 m 0 xl 180 ro SA DA}b/Aeq{Y X at ro XY/rad x +rev{1 -1 sc}if +gs +0 lW 2 m xl +D SA OA +gr +rad 0 xl +180 ro +0 lW 2 m xl +SA OA}b/Aos{X Y M SM cpt xl XY e dv lW 1.667 m o o lt{e}if P D sc}b/Ach{5 Aos +gs/Helvetica findfont[1 0 0 -1 0 0]makefont 5.5 scalefont setfont +D stringwidth P 2 dv D 1 a/rad x +n 0 M show gr +rad 2 s -5 M +rad n -5 rad n 1 2 ac +rad n 1 rad 1 2 ac +rad 1 rad -5 2 ac +rad -5 rad n -5 2 ac +cp Ast}b/Ar{D 39 lt{Ar1} +{gs 5 1 r o o xl 3 -1 r e s 3 1 r s e +o 0 lt o 0 lt ne/rev x +D 0 lt{1 -1 sc neg}if/Y x D 0 lt{-1 1 sc neg} +if/X x np{{Y 16 div D 2 S lt{P 2 S}if/lp x +lp 0 M 0 0 l 0 Y l lp Y l +X lp s 0 M X 0 l X Y l X lp s Y l SM st}{Y 16 div D 2 S lt{P 2 S}if/lp x +lp 0 M +0 0 0 Y lp ac +0 Y 2 dv lp neg o lp ac +0 Y 2 dv 0 Y lp ac +0 Y lp Y lp ac +X lp s 0 M +X 0 X Y lp ac +X Y 2 dv X lp a o lp ac +X Y 2 dv X Y lp ac +X Y X lp s Y lp ac SM st}{Y D 2 dv Y 180 pA s 180 pA a arc st +np X Y s Y 2 dv +Y pA D neg arcn st}{Rc SM st}{X lW 2 dv a lW -2 dv M +rO D rl +X lW 2 dv a rO a Y lW 2 dv a rO a l +rO lW -2 dv a Y lW 2 dv a rO a l +lW -2 dv Y lW 2 dv a l +0 Y l X Y l X 0 l cp f +0 0 M +0 Y l +X Y l +X 0 l cp +SM st}{Rr SM st}{rO Y M rO rO xl +0 Y X Y rO ac +X Y X 0 rO ac +X 0 0 0 rO ac +rO neg D xl X Y 0 Y rO ac +cp f +Rr st}{Ac st}{OrA gAc}{Ov st}{OrA 1 .4 sc gOv}{Asc LB whf}{Asc gLB} +{Asc gs gLB gr +-1 -1 sc LB whf}{Asc gs gLB gr +-0.4 -0.4 sc LB whf}{Asc LB gs whf gr +np -0.4 -0.4 sc gLB}{Asc DLB -1 -1 sc DLB gs whf gr +np 90 ro gs gDLB gr -1 -1 sc gDLB}{Asc gs -1 -1 sc ZLB whf gr +gs 3.6 12 sc gOv gr +ZLB whf}{Asc gs -1 -1 sc gZLB gr +gs 3.6 12 sc Cr whf gr +gZLB}{0 0 M X Y l SM st}{bW sl 0 0 M X Y l SM st} +{dL 0 0 M X Y l SM st}{OrA 1 16 dv D sc +0 -1 M +0 0 1 0 1 ac +8 0 8 1 1 ac +8 0 16 0 1 ac +16 0 16 -1 1 ac +SM st}{XY D 0 0 dt X Y dt}{XY 2 dv X Y dt}{XY D X Y dt 0 0 M SM cpt xl +2 dv D sc +1 0 M -1 0 l +0 1 M 0 -1 l +Ast}{XY D X Y dt 0 0 M SM cpt xl +2 dv D sc +1 0 M -1 0 l +Ast}{4.5 Aos +1 0 M -1 0 l +0 1 M 0 -1 l +2 0 M 0 0 2 0 360 arc +Ast}{4.5 Aos +1 0 M -1 0 l +2 0 M 0 0 2 0 360 arc +Ast}{2.25 Ath}{1.5 Ath}{1 Ath}{2.25 Aeq}{1.5 Aeq}{1 Aeq}{OrA 1 16 dv D sc +0 -1 M 0 0 l 16 0 l 16 -1 l SM st}{5 Aos +1 -1 M -1 -1 l +0 2 M 0 -2 l +Ast}{5 Aos +1 -1 M -1 -1 l +1 1 M -1 1 l +0 2 M 0 -2 l +Ast}{4.5 Aos +1 0 M -1 0 l +0 1 M 0 -1 l +Ast}{4.5 Aos +1 0 M -1 0 l +Ast}{gRc}{gRr}{Rc blf}{Rr blf}{Ac blf}{Ov blf}{Asc DLB -1 -1 sc DLB gs whf gr +np 90 ro DLB -1 -1 sc DLB blf}{Asc gs -1 -1 sc ZLB blf gr +gs 3.6 12 sc Cr whf gr +ZLB blf}{Asc gs -1 -1 sc ZLB whf gr +gs 3.6 12 sc Cr blf gr +ZLB whf}{Asc LB gs whf gr +np -0.4 -0.4 sc LB blf}{Asc LB gs f gr gs SM st gr +np -0.4 -0.4 sc LB whf}{Asc LB blf}{Asc LB gs f gr gs SM st gr +np -1 -1 sc LB whf}{Ac whf}{OrA gAc}{Ac blf}{Ov whf} +{OrA 1 .4 sc gOv}{Ov blf}{(Rac)Ach}{(Abs)Ach}{(Rel)Ach} +}e 39 s g xc gr}ie}b/DS{np M l st}b +/DD{gs dL DS gr}b/DB{gs 12 OB bW sl np 0 0 M 0 l st gr}b/ap{e 3 ix a +e 2 ix a}b/PT{D 2 4 gi al P OP D 1 sc +o length 6 gt{P 6 g}{e P 8 dv}ie +D lW 2 m lt{P lW 2 m}if +0 e +0 0 +3 -1 r s 3 1 r e s e +0 0 M 1 0 l +0 0 ap M 1 0 ap l +e n e n +0 0 ap M 1 0 ap l +P P}b/DT{gs np PT SM st gr}b +/NH{lW s D hS dv ru +cvi D 0 eq{P 1}if/nH x +D hS nH m s +D 0 lt{P .1 s nH dv}{nH 2 a dv D 0 xl 2 m s nH dv}ie}b +/Bd{D type/arraytype ne{bs e g}if{{P}{{{DS}{DD}{gs 12 OB np +bW 2 dv/bd x +lW 2 dv e D NH e{D bd M bd n l}for +st gr}{gs 12 OB np +lW 2 dv 0 xl NH 1 sc +bW 2 dv wF m nH 1 a dv/bd x +0 1 nH +{D 1 a bd m o o M n l}for SM st gr}{P}{DB}{gs 12 OB +np 0 lW 2 dv o o n M l bW 2 dv +wF m o o l n l +cp f gr}{P}{gs 12 OB/bL x +bW 2 dv D lW lt{P lW}if/bd x np 0 0 M +bL bd 4 m dv ru 2 o o lt{e}if P cvi/nSq x +bL nSq 2 m dv D sc +nSq{.135 .667 .865 .667 1 0 rcurveto +.135 -.667 .865 -.667 1 0 rcurveto}rp SM st gr}{gs 12 OB +np 0 lW 2 dv o o n M l bW 2 dv +wF m o o l n l +cp SM lW 0.8 m sl st gr}{P}{4 2 r gs OP/rad x 1 SA DA gr}{P} +}o 1 g 1 s g e 2 4 gi al P +5 -1 r xc}{al P 8 ix 1 eq{DD}{DS}ie 5 -1 r 2 eq{DB}{DS}ie P}{DT}}o 0 g g xc}b +/ed{gs cpt np cw 2 dv 0 360 arc f gr}b +/SPe{gs 0 e xl 1 1 S dv D n sc CMT currentmatrix P lW sl 4.0 setmiterlimit +np}b/ws{Wd 0 32 4 -1 roll widthshow}b/blank/Times-Roman findfont/CharStrings +g/space g d/mv 256 array d/NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT +/FF/CR/SO/SI +/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US +mv 0 32 gi as P +mv 32/Times-Roman findfont/Encoding get +32 96 gi putinterval +mv 39/quotesingle put +mv 96/grave put/unknown/unknown/quotesinglbase/florin/quotedblbase/ellipsis +/dagger/daggerdbl +/circumflex/perthousand/Scaron/guilsinglleft/OE/unknown/unknown/unknown +/unknown/quoteleft/quoteright/quotedblleft/quotedblright/bullet/endash +/emdash +/tilde/trademark/scaron/guilsinglright/oe/unknown/unknown/Ydieresis +/blank/exclamdown/cent/sterling/currency/yen/brokenbar/section +/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered +/macron +/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph +/periodcentered +/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf +/threequarters/questiondown +/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla +/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis +/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply +/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls +/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla +/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis +/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide +/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis +mv 128 128 gi as P/fSt 50 string d(ChemDraw)fSt copy P/fD{D/Symbol eq{ +findfont[1 0 0 -1 0 0]makefont}{D {findfont}stopped{/Helvetica findfont}if +D length dict/newdict x{ +1 index/FID ne{1 index/FontMatrix eq{[1 0 0 -1 0 0]matrix concatmatrix}if +newdict 3 1 r put}{P P}ie}forall +newdict/Encoding mv put +fSt 8 fSt length 8 sub gi cvs length 8 add +fSt 0 rot gi cvn newdict definefont}ie}b/ts{gs xl ro 0 0 M}b +/nl{0 e xl 0 0 M}b/tx{ft e g e sf m rot D 96 and 0 ne{ +64 and 0 ne{-0.5}{0.25}ie e 0.75 m}{P 0 e}ie +D 4 -1 r e scalefont setfont m cpt P e M}b +end +%%EndProcSet +%%EndProlog + +chemdict30 begin +/cW 24 def +/bW 48 def +/lW 12 def +/hS 32 def +/sh true def +222 SPe[ +/Helvetica +fD +/Helvetica-Oblique +fD]/ft x +600 1560 M +5760 1560 l +5760 2880 l +600 2880 l +cp clip np +65535 65535 +65535 sBg +0 1640 2178 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +0 1182 2178 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1619 2364 M +1627 2376 l +1335 2376 l +1344 2364 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1598 2330 M +1598 2342 l +1364 2342 l +1364 2330 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1669 2208 M +1681 2212 l +1627 2376 l +1619 2364 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1481 1941 M +1481 1926 l +1629 2034 l +1622 2043 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1343 2041 M +1336 2032 l +1481 1926 l +1481 1941 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1363 2069 M +1356 2059 l +1478 1971 l +1485 1981 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1344 2364 M +1335 2376 l +1282 2212 l +1293 2209 l +cp +f +gr +0 1033 2091 ts +0.0000 0.0000 0.0000 1.0000 sk +-377 +0 M +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1055 2043 M +1059 2031 +l +1167 2066 l +1163 2078 l +cp +f +gr +0 1897 2091 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +1878 2040 M +1882 2051 +l +1802 2077 l +1798 2066 l +cp +f +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +10 D sl/lW x +1228 1973 M +1295 +1973 l st +1261 1940 M +1261 2006 l st +gr +0 2085 2400 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Br)show +64 10 0 tx +(\226)show +gr +0 5084 2247 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +0 4625 2247 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(N)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5062 2433 M +5071 2445 l +4778 2445 l +4787 2433 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5042 2399 M +5042 2411 l +4808 2411 l +4808 2399 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5113 2277 M +5124 2281 l +5071 2445 l +5062 2433 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4925 2010 M +4925 1995 l +5072 2102 l +5065 2112 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4787 2110 M +4779 2101 l +4925 1995 l +4925 2010 l +cp +f +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4787 2433 M +4778 2445 l +4725 2281 l +4737 2278 l +cp +f +gr +0 4476 2160 ts +0.0000 0.0000 0.0000 1.0000 sk +-377 0 M +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +4498 2112 M +4502 2100 +l +4610 2135 l +4606 2147 l +cp +f +gr +0 5340 2160 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +(Mes)show +gr +gs +0.0000 0.0000 0.0000 1.0000 sk +np +5321 2109 M +5325 2120 +l +5246 2146 l +5243 2134 l +cp +f +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +np +4962 1946 17 0 360 arc +cp +f +np +4887 1946 17 0 360 arc +cp +f +gr +0 3236 1785 ts +0.0000 0.0000 0.0000 1.0000 sk +-364.5 0 M +0 10 0 tx +(KO-)show +2 10 1 tx +(t)show +0 10 0 tx +(-Bu)show +201 nl +-114.5 0 M +0 10 0 tx +(thf)show +gr +gs +12 D sl/lW x +24 /cW x +48 /bW x +32 /hS x +0.0000 0.0000 0.0000 1.0000 sk +10 D sl/lW x +3597 2130 M +2771 2130 l st +gs +3581 2161 3701 2130 3701 2130 3596 2143 3581 2161 3581 2161 3581 2098 +3596 2116 3596 2130 3701 2130 3581 2098 3581 2098 4 3701 2130 0 Sp +gr +gr +0 +1215 2805 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +%<labels>(TMP1)show +gr +0 4642 2805 ts +0.0000 0.0000 0.0000 1.0000 sk +0 10 0 tx +%<labels>(TMP2)show +gr +gr end +%%Trailer +showpage +%</scheme> +% \fi +% \PrintChanges +% \PrintIndex +% \Finale diff --git a/Master/texmf-dist/source/latex/chemscheme/chemscheme.ins b/Master/texmf-dist/source/latex/chemscheme/chemscheme.ins new file mode 100644 index 00000000000..b3407e918f5 --- /dev/null +++ b/Master/texmf-dist/source/latex/chemscheme/chemscheme.ins @@ -0,0 +1,36 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% chemscheme is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published +% by the Free Software Foundation; either version 2, or (at your +% option) any later version. +% +% chemscheme is distributed in the hope that it will be useful, but +% WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; if not, write to the Free Software +% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\input docstrip.tex +\askonceonly +\preamble + ---------------------------------------------------------------- + The chemscheme package - Support for chemical schemes + Maintained by Joseph Wright + E-mail: joseph.wright@morningstar2.co.uk + Released under the GNU General Public License + See http://www.gnu.org/licenses/gpl.txt + ---------------------------------------------------------------- +\endpreamble +\Msg{Generating chemscheme files:} +\usedir{tex/latex/contib/chemscheme} +\generate{\file{chemscheme.sty}{\from{chemscheme.dtx}{package}}} +\nopreamble\nopostamble +\usedir{doc/latex/chemscheme} +\generate{\file{scheme-one.eps}{\from{chemscheme.dtx}{scheme}}} +\generate{\file{scheme-two.eps}{\from{chemscheme.dtx}{scheme,labels}}} +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty b/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty new file mode 100644 index 00000000000..9a21fa96f67 --- /dev/null +++ b/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty @@ -0,0 +1,80 @@ +%% +%% This is file `chemscheme.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% chemscheme.dtx (with options: `package') +%% ---------------------------------------------------------------- +%% The chemscheme package - Support for chemical schemes +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the GNU General Public License +%% See http://www.gnu.org/licenses/gpl.txt +%% ---------------------------------------------------------------- +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{chemscheme}% + [2007/07/21 v1.0 Support for chemical schemes] +\RequirePackage{psfrag} +\@ifclassloaded{memoir}{} + {\RequirePackage{float}} +\newif \ifCHEMSCH@chapter \CHEMSCH@chapterfalse +\newif \ifCHEMSCH@bpchem \CHEMSCH@bpchemtrue +\DeclareOption{chapter}{\global\CHEMSCH@chaptertrue} +\DeclareOption{chemcompounds}{\global\CHEMSCH@bpchemfalse} +\DeclareOption{bpchem}{} +\ProcessOptions +\newcommand*{\schemename}{Scheme} +\newcommand*{\listschemes}{List of Schemes} +\ifCHEMSCH@chapter + \ifx\chapter\@undefined + \PackageWarning{chemscheme}% + {No chapters in this document \MessageBreak% + Ignoring `chapter' option} + \@ifclassloaded{memoir} + {\newfloat{scheme}{los}{\schemename}} + {\newfloat{scheme}{tbp}{los}} + \else + \@ifclassloaded{memoir} + {\newfloat[chapter]{scheme}{los}{\schemename}} + {\newfloat{scheme}{tbp}{los}[chapter]} + \fi +\else + \@ifclassloaded{memoir} + {\newfloat{scheme}{los}{\schemename}} + {\newfloat{scheme}{tbp}{los}} +\fi +\@ifclassloaded{memoir} + {\newlistof{listofschemes}{los}{\listschemes}} + {\floatname{scheme}{\schemename} + \newcommand*{\listofschemes}[1][\listschemes]% + {\listof{scheme}{#1}}} +\newcommand{\chemschemerefmarker}{TMP} +\newcommand{\chemschemerefformat}{\textsf} +\ifCHEMSCH@bpchem + \RequirePackage{bpchem} + \let\CHEMSCH@label\CNlabel +\else + \RequirePackage{chemcompounds} + \let\CHEMSCH@label\compound +\fi +\newcommand{\chemschemeref}[2]{% + \psfrag{\chemschemerefmarker#1}[b][b]% + {\chemschemerefformat{\CHEMSCH@label{#2}}}% +} +\ifCHEMSCH@bpchem + \newcommand{\chemschemerefsub}[3]{% + \psfrag{\chemschemerefmarker#1}[b][b]% + {\chemschemerefformat{\CNlabelsub{#2}{#3}}}% + } +\else + \newcommand{\chemschemerefsub}[3]{% + \PackageWarning{chemscheme}% + {`chemcompound' option active\MessageBreak + Command \protect\chemschemerefsub\space not used \MessageBreak + Please alter your source to \MessageBreak + \protect\chemschemeref}} +\fi +\endinput +%% +%% End of file `chemscheme.sty'. diff --git a/Master/tlpkg/tlpsrc/chemscheme.tlpsrc b/Master/tlpkg/tlpsrc/chemscheme.tlpsrc new file mode 100644 index 00000000000..dcd5760d228 --- /dev/null +++ b/Master/tlpkg/tlpsrc/chemscheme.tlpsrc @@ -0,0 +1,2 @@ +name chemscheme +category Package diff --git a/Master/tlpkg/tlpsrc/collection-science.tlpsrc b/Master/tlpkg/tlpsrc/collection-science.tlpsrc index a267b26b9fb..ba5120147a3 100644 --- a/Master/tlpkg/tlpsrc/collection-science.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-science.tlpsrc @@ -15,6 +15,7 @@ depend Package/bytefield depend Package/chemarrow depend Package/chemcompounds depend Package/chemcono +depend Package/chemscheme depend Package/clrscode depend Package/complexity depend Package/computational-complexity |