diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-13 23:21:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-13 23:21:29 +0000 |
commit | 03c75645664be34a27afa8e4e30b0f96d25de53b (patch) | |
tree | 321e76e87bf34314014a157b7a05df2c24acb223 /Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf | |
parent | 90e1a28c9221e47cec2a912b5551d2f6522735ad (diff) |
mcf2graph (13feb17)
git-svn-id: svn://tug.org/texlive/trunk@43218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf')
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf index bf9e92058d3..0f8aaf33876 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2017.01.29 +% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2017.02.13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -input mcf2graph.mf; %% it must be version 4.09 or later +input mcf2graph.mf; %% it must be version 4.10 or later %------------------------------------------------------------------------ sw_auxout:=0; sw_mol_frame:=0; @@ -272,7 +272,7 @@ endfont %*********************************************************************** beginfont("EN:change ring length") margin_top_bottom:=2mm; - font_ht#:=15mm#; + font_ht#:=20mm#; sw_clip:=1; sw_numberB:=1; MCf(?6,4\,?6`1.2) @@ -818,7 +818,7 @@ beginfont("EN:MCf() vt") endfont %*********************************************************************** beginfont("EN:EXT()") - margin_left_right:=margin_top_bottom:=3mm; + margin_left_right:=margin_top_bottom:=5mm; font_wd#:=70mm#; font_ht#:=35mm#; bond_len#:=8mm#; @@ -826,14 +826,18 @@ beginfont("EN:EXT()") MCd(1,0.8)(0.1,0.5)(<30,Ph,2:/OH,5:/OH) MCd(1,0.8)(0.9,0.5)(<30,?6,$(3,6)dl,@(2,5)//O) EXT( - draw ((0,0)--(25mm,0)--(21mm,2mm)) shifted (0.3w,0.52h); - draw ((4mm,-2mm)--(0,0)--(25mm,0)) shifted (0.3w,0.48h); - draw fullcircle scaled 3mm shifted p0; - drawdot p1 withpen pencircle scaled 2mm; - drawdot p2 withpen pensquare scaled 2mm; - use_font(5pt#); - puts((0.4w,0.6h))("Oxidation"); - puts((0.4w,0.35h))("Reduction"); + draw_vector((0.7w,0.52h), 0,0.2mm,0.4w); + draw_vector((0.3w,0.48h),180,0.2mm,0.4w); + drawdot p0 withpen pencircle scaled 3pt; + drawdot p1 withpen pencircle scaled 3pt; + drawdot p2 withpen pencircle scaled 3pt; + label.bot("p0",p0); + label.bot("p1",p1); + label.bot("p2",p2); + label("Ox",(0.5w,0.6h)); + label("Red",(0.5w,0.4h)); + use_font(6pt#); + label("Reaction example",(0.5w,0.8h)); ) endfont %*********************************************************************** @@ -844,15 +848,15 @@ beginfont("EN:ext()") sw_solid:=0; MCd(1,0.9)(0.1,0.5)(<30,Ph,3:/F,4:/Cl) ext( - drawdot p0 withpen pencircle scaled 2mm; - draw p0--(p0+(wd,0))--(p0+(wd,ht)); + drawdot p0 withpen pencircle scaled 3pt; + drawdot A6 withpen pencircle scaled 3pt; + drawdot B3 withpen pencircle scaled 3pt; + label.bot("p0",p0); + label.ulft("A6",A6); + label.rt("B3",B3); ) MCd(1,0.9)(0.9,0.5)(<30,Ph,3:/F,4:/Cl) - ext( - draw_vector(p6,a6-180,l); - drawdot p0 withpen pensquare scaled 2mm; - draw p0--(p0+(wd,0))--(p0+(wd,ht)); - ) + ext(draw p0--(p0+(wd,0))--(p0+(wd,ht));) endfont %*********************************************************************** beginfont("EN:Local setting 1") |