diff options
author | Karl Berry <karl@freefriends.org> | 2015-08-23 21:43:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-08-23 21:43:38 +0000 |
commit | 4593763b43ad40700fc52e8126a547508ba41391 (patch) | |
tree | b863b0569311bb264756266c6ecc0001d7153409 /Master/texmf-dist/doc/metapost/mcf2graph | |
parent | 17ba5fa1411e6a3c86264b28b6f5d00a2d177d15 (diff) |
mcf2graph (23aug15)
git-svn-id: svn://tug.org/texlive/trunk@38188 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph')
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/README | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf | bin | 255135 -> 257821 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf | 192 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf | bin | 218519 -> 261290 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex | 285 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf | bin | 121013 -> 121154 bytes |
6 files changed, 383 insertions, 97 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/README b/Master/texmf-dist/doc/metapost/mcf2graph/README index baee7bb54ab..9ef938a6e31 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/README +++ b/Master/texmf-dist/doc/metapost/mcf2graph/README @@ -1,7 +1,7 @@ ******************************************************************************** mcf2graph : Convert Molecular Coding Format to graphics with Metafont/Metapost Author : Akira Yamaji - version : 3.58 / 2015-08-18 + version : 3.59 / 2015-08-23 E-mail : akira.yamaji5@gmail.com Located at : http://mirror.ctan.org/pkg/graphics/mcf2graph Home page : http://molecoding.cocolog-nifty.com/blog/ @@ -112,3 +112,4 @@ ver. 3.55 / 2015-08-04 support luamplib(v2.11), renew mcf_mplib_exa.tex ver. 3.57 / 2015-08-14 improve AUX file format ver. 3.58 / 2015-08-18 improve calculation of molecular formula and weight + ver. 3.59 / 2015-08-23 update MCF syntax manual diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf Binary files differindex 9d831190ce9..7e89736b122 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf 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 73c56ca6c5f..a54ac1373d1 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2015.8.7 +% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2015.8.22 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% input mcf2graph.mf; %----------------------------------------------------------------------- @@ -8,7 +8,7 @@ font_ht#:=30mm#;% font height max_bond_width:=0.18; %----------------------------------------------------------------------- sw_logout:=0; -sw_frame:=0; +sw_mol_frame:=0; sw_expand:=0; sw_start_vector:=0; %%%%%sw_checklist:=1; @@ -217,43 +217,6 @@ beginfont("EN:Inline definition") MCf(^^30,!3,/'(!,/Me,!,OH),!3) endfont %*********************************************************************** -beginfont("EN:Switwch start vector") - sw_start_vector:=0; - MCd(.7,.7)( 0, 0)(^^30,Ph,4:/Cl,3:/F) - sw_start_vector:=1; - MCd(.7,.7)( 1, 1)(^^30,Ph,4:/Cl,3:/F) -endfont -%*********************************************************************** -beginfont("EN:Switwch numberingA") - sw_numberA:=1; - sw_start_vector:=1; - MCf(^^30,?6,-4=?6,-3\,!,?6,#10:/Et) -endfont -%*********************************************************************** -beginfont("EN:Switwch numberingB") - sw_numberB:=1; - sw_start_vector:=1; - MCf(^^30,?6,-4=?6,-3\,!,?6,#10:/Et) -endfont -%*********************************************************************** -beginfont("EN:Switwch Frame") - MCd(.7,.7)( 0, 0)(^^30,Ph,4:/Cl,3:/F) - sw_frame:=1; - MCd(.7,.7)( 1, 1)(^^30,Ph,4:/Cl,3:/F) -endfont -%*********************************************************************** -beginfont("EN:Switwch Solid ratio") - MCd(.7,.7)( 0, 0)(^^30,Ph,4:/Cl,3:/F) - sw_solid:=1; ratio_bond_width:=0.08; - MCd(.7,.7)( 1, 1)(^^30,Ph,4:/Cl,3:/F) -endfont -%*********************************************************************** -beginfont("EN:Switwch Expand") - MCd(.6,.6)(0, 0)(^^30,Ph,4:/COOH,3:/NH2) - sw_expand:=1; - MCd(.6,.6)(1, 1)(^^30,Ph,4:/COOH,3:/NH2) -endfont -%*********************************************************************** beginfont("EN:Ampicillin") MCf(^^45, ?4,2:N,2=??5,-1:S, @@ -291,13 +254,158 @@ beginfont("EN:Lycorine") ) endfont %*********************************************************************** -beginfont("EN:Gibberellin"); +beginfont("EN:Gibberellin A3"); MCf( ^^12,?6`1.3,3=??5,9=??7,12\^160`1.6,&8, 4\^155~zf`-1.2,O,55,//O^180`1,&2~zb, - 11=wf,13=wb,7:/COOH,11://Me,1:*/OH,12:/*OH,2:*/Me, + 5=dl,11=wf,13=wb,7:/COOH,11://Me,1:*/OH,12:/*OH,2:*/Me, @(3^-60,9^60)*/H ) -endfont; +endfont +%*********************************************************************** +font_wd#:=30mm#;% +font_ht#:=20mm#;% +beginfont("EN:Font size") + sw_font_frame:=1; + MCf(^^30, + ?6,-4=??5,$(3,8)dl,@(2,6,7,9)N, + @(2,6,9)/Me,@(1,5)//O) +endfont +font_wd#:=60mm#; +font_ht#:=30mm#; +%*********************************************************************** +beginfont("EN:max_bond_width") + sw_mol_frame:=1; + max_bond_width:=0.10; + MCd(1,1)(0, .5)(^^30,Ph) + max_bond_width:=0.15; + MCd(1,1)(.33, .5)(^^30,Ph) + max_bond_width:=0.30; + MCd(1,1)(1, .5)(^^30,Ph) +endfont +%*********************************************************************** +beginfont("EN:ratio_thickness_bond") + ratio_thickness_bond:=0.005; + MCd(.6,.6)(0, .5)(^^30,Ph) + ratio_thickness_bond:=0.015; + MCd(.6,.6)(.5, .5)(^^30,Ph) + ratio_thickness_bond:=0.03; + MCd(.6,.6)(1, .5)(^^30,Ph) +endfont +%*********************************************************************** +beginfont("EN:ratio_char_bond") + ratio_char_bond:=1.0; + MCd(.6,.6)(0, .5)(^^30,?6,5:O,2:NH) + ratio_char_bond:=1.5; + MCd(.6,.6)(.5, .5)(^^30,?6,5:O,2:NH) + ratio_char_bond:=2.0; + MCd(.6,.6)(1, .5)(^^30,?6,5:O,2:NH) +endfont +%*********************************************************************** +beginfont("EN:ratio_bondgap_bond") + ratio_bondgap_bond:=0.10; + MCd(.6,.6)(0, .5)(^^30,Ph) + ratio_bondgap_bond:=0.15; + MCd(.6,.6)(.5, .5)(^^30,Ph) + ratio_bondgap_bond:=0.20; + MCd(.6,.6)(1, .5)(^^30,Ph) +endfont +%*********************************************************************** +beginfont("EN:ratio_atom_bond") + ratio_atom_bond:=0.25; + MCd(.6,.6)(0, .5)(^^30,?6,@(2,5)O) + ratio_atom_bond:=0.33; + MCd(.6,.6)(.5, .5)(^^30,?6,@(2,5)O) + ratio_atom_bond:=0.45; + MCd(.6,.6)(1, .5)(^^30,?6,@(2,5)O) +endfont +%*********************************************************************** +beginfont("EN:ratio_chain_ring") + ratio_chain_ring:= 0.4; + MCd(.6,.6)(0, .5)(^^30,?6,5:/Et) + ratio_chain_ring:= 0.66; + MCd(.6,.6)(.5, .5)(^^30,?6,5:/Et) + ratio_chain_ring:= 1; + MCd(.6,.6)(1, .5)(^^30,?6,5:/Et) +endfont +%*********************************************************************** +beginfont("EN:ratio_wedge_bond") + ratio_wedge_bond:=0.1; + MCd(.6,.6)(0, .5)(^^30,?6,5:*/Me) + ratio_wedge_bond:=0.15; + MCd(.6,.6)(.5, .5)(^^30,?6,5:*/Me) + ratio_wedge_bond:=0.2;; + MCd(.6,.6)(1, .5)(^^30,?6,5:*/Me) +endfont +%*********************************************************************** +beginfont("EN:ratio_zebra_gap") + ratio_zebra_gap:=0.06; + MCd(.6,.6)(0, .5)(^^30,Ph,5:/*Me`1) + ratio_zebra_gap:=0.12; + MCd(.6,.6)(.5, .5)(^^30,Ph,5:/*Me`1) + ratio_zebra_gap:=0.20; + MCd(.6,.6)(1, .5)(^^30,Ph,5:/*Me`1) +endfont +%*********************************************************************** +beginfont("EN:Switwch start vector") + sw_start_vector:=0; + MCd(.7,.7)( 0, 0)(^^30,Ph,4:/Cl,3:/F) + sw_start_vector:=1; + MCd(.7,.7)( 1, 1)(^^30,Ph,4:/Cl,3:/F) +endfont +%*********************************************************************** +beginfont("EN:Switwch numberingA") + sw_numberA:=1; + sw_start_vector:=1; + MCf(^^30,?6,-4=?6,-3\,!,?6,#10:/Et) +endfont +%*********************************************************************** +beginfont("EN:Switwch numberingB") + sw_numberB:=1; + sw_start_vector:=1; + MCf(^^30,?6,-4=?6,-3\,!,?6,#10:/Et) +endfont +%*********************************************************************** +beginfont("EN:Switwch font frame") + sw_font_frame:=1; + MCf(^^30,Ph,4:/Cl,3:/F) +endfont +%*********************************************************************** +beginfont("EN:Switwch molecular frame") + MCd(.7,.7)( 0, 0)(^^30,Ph,4:/Cl,3:/F) + sw_mol_frame:=1; + MCd(.7,.7)( 1, 1)(^^30,Ph,4:/Cl,3:/F) +endfont +%*********************************************************************** +%%beginfont("EN:Switwch atom frame") +%% sw_atom_frame:=1; +%% MCf(^^30,Ph,4:/COOH,3:/OH) +%%endfont +%*********************************************************************** +beginfont("EN:Switwch Solid ratio") + MCd(.7,.7)( 0, 0)(^^30,Ph,4:/Cl,3:/F) + sw_solid:=1; ratio_bond_width:=0.08; + MCd(.7,.7)( 1, 1)(^^30,Ph,4:/Cl,3:/F) +endfont +%*********************************************************************** +beginfont("EN:Switwch Expand") + MCd(.6,.6)(0, 0)(^^30,Ph,4:/COOH,3:/NH2) + sw_expand:=1; + MCd(.6,.6)(1, 1)(^^30,Ph,4:/COOH,3:/NH2) +endfont +%*********************************************************************** +beginfont("EN:MCd()") + sw_font_frame:=1; + sw_mol_frame:=1; + MCd(1,.8)(0.2,0.9)(^^30,Ph,2:/OH,5:/NH2) + sw_mol_frame:=1; + MCd(1,.8)(0.8,0.1)(^^30,Ph,2:/OH,5:/NH2) +endfont +%*********************************************************************** +beginfont("EN:MCf()") + sw_font_frame:=1; + sw_mol_frame:=1; + MCf(^^30,Ph,2:/OH,5:/NH2) +endfont %*********************************************************************** bye diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf Binary files differindex 001fc33fdb9..e698bd9a2d8 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex index cbb6bd21c4f..2896e9e0a06 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex @@ -495,59 +495,218 @@ Insert user defined substructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Switch Start Vector} +\MCFtitle{Example(1) Ampicillin} \begin{verbatim} - MCd(.8,.8)( 0, 0)(^^30,Ph,4:/Cl,3:/F) - sw_start_vector:=1; - MCd(.8,.8)( 1, 1)(^^30,Ph,4:/Cl,3:/F) + ^^45, + ?4,2:N,2=??5,-1:S, + @(3^45,4^-45)/*H,1://O^15, + 5:/*COOH^-18,@(6^35,6^-35)/Me, + 4\^75,NH,!,//O,!,NH,!,Ph \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Switch NumberingA} +\MCFtitle{Example(2) Cholesterol} \begin{verbatim} - sw_numberA:=1; - MCf(^^30, - Ph,-4=Ph1,-3\,!,Ph,10:/Et) + ^^30, + ?6,$(-4,-2)??6,-4=??5,7=dl, + 1:*/OH,@(4,12)*/Me^60,9:*/H^60, + 10:/*H^180,@(11,-1)/*H^-60, + -1\^17,/*Me,!4,/Me,!, \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Switch NumberingB} +\MCFtitle{Example(3) alfa-Tocopherol} \begin{verbatim} - sw_numberB:=1; - MCf(^^30, - Ph,-4=Ph1,-3\,!,Ph,10:/Et) + ^^30, + Ph,3=??6, + 7:O,@(1,2,5)/Me,8:/*Me^60,6:/OH, + 8\,!12,@(4,8)/*Me,12:/Me \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Switch Frame} +\MCFtitle{Example(4) Caffeine} \begin{verbatim} - MCd(.8,.8)(0,0)(^^30,Ph,4:/Cl,3:/F) - sw_frame:=1; - MCd(.8,.8)(1,1)(^^30,Ph,4:/Cl,3:/F) + ^^30, + ?6,-4=??5,$(3,8)dl,@(2,6,7,9)N, + @(2,6,9)/Me,@(1,5)//O \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Switch Solid ratio} +\MCFtitle{Example(5) Lycorine} +\begin{verbatim} + + ^^30, + Ph,-4=??6,-2=??6,6=??5,(9,12)=??5[3], + 13=dl,8:N,@(15,17)O, + 9:/*H^180,10:*/H^60,13:*/OH,14:/*OH +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Example(6) Gibberellin} +\begin{verbatim} + + ^^12, + ?6`1.3,3=??5,9=??7,12\^160`1.6,&8, + 4\^155~zf`-1.2,O,55,//O^180`1,&2~zb, + 5=dl,11=wf,13=wb,7:/COOH,11://Me,1:*/OH, + 12:/*OH,2:*/Me,@(3^-60,9^60)*/H +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Font size} +\begin{verbatim} + font_wd#:=30mm#; + font_ht#:=20mm#; + beginfont("EN:Caffeine") + sw_font_frame:=1; + MCf(^^30,?6,-4=??5,$(3,8)dl,@(2,6,7,9)N, + @(2,6,9)/Me,@(1,5)//O) + endfont +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Max ratio bond/width length} +\begin{verbatim} + max_bond_width:=0.10; + MCd(1,1)(0, .5)(^^30,Ph) + max_bond_width:=0.15; %<<== default ==>> + MCd(1,1)(.33, .5)(^^30,Ph) + max_bond_width:=0.30; + MCd(1,1)(1, .5)(^^30,Ph) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio thickness/bond length} +\begin{verbatim} +ratio_thickness_bond:= 0.005; +MCd(.6,.6)(0, .5)(^^30,Ph) +ratio_thickness_bond:= 0.015; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,Ph) +ratio_thickness_bond:= 0.030; +MCd(.6,.6)(1, .5)(^^30,Ph) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio char/bond thickness} +\begin{verbatim} +ratio_char_bond:=1.0; +MCd(.6,.6)(0, .5)(^^30,?6,5:O,2:NH) +ratio_char_bond:=1.5; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,?6,5:O,2:NH) +ratio_char_bond:=2.0; +MCd(.6,.6)(1, .5)(^^30,?6,5:O,2:NH) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio bondgap/bond length} +\begin{verbatim} +ratio_bondgap_bond:= 0.10; +MCd(.6,.6)(0, .5)(^^30,Ph) +ratio_bondgap_bond:= 0.15; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,Ph) +ratio_bondgap_bond:= 0.20; +MCd(.6,.6)(1, .5)(^^30,Ph) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio atom/bond length} +\begin{verbatim} +ratio_atom_bond:= 0.25; +MCd(.6,.6)(0, .5)(^^30,?6,@(2,5)O) +ratio_atom_bond:= 0.36; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,?6,@(2,5)O) +ratio_atom_bond:= 0.45; +MCd(.6,.6)(1, .5)(^^30,?6,@(2,5)O) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio chain/ring length} +\begin{verbatim} +ratio_chain_ring:= 0.4; +MCd(.6,.6)(0, .5)(^^30,?6,5:/Et) +ratio_chain_ring:= 0.66; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,?6,5:/Et) +ratio_chain_ring:= 1.0; +MCd(.6,.6)(1, .5)(^^30,?6,5:/Et) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio wedge/bond length} +\begin{verbatim} +ratio_wedge_bond:=0.10; +MCd(.6,.6)(0, .5)(^^30,?6,5:*/Me) +ratio_wedge_bond:=0.15; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,?6,5:*/Me) +ratio_wedge_bond:=0.20;; +MCd(.6,.6)(1, .5)(^^30,?6,5:*/Me) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Ratio zebra gap/bond length} +\begin{verbatim} +ratio_zebra_gap:=0.06; +MCd(.6,.6)(0, .5)(^^30,Ph,5:/*Me`1) +ratio_zebra_gap:=0.12; %<<== default ==>> +MCd(.6,.6)(.5, .5)(^^30,Ph,5:/*Me`1) +ratio_zebra_gap:=0.20; +MCd(.6,.6)(1, .5)(^^30,Ph,5:/*Me`1) +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Switch Start Vector} \begin{verbatim} MCd(.8,.8)( 0, 0)(^^30,Ph,4:/Cl,3:/F) - sw_solid:=1; ratio_bond_width:=0.08; + sw_start_vector:=1; MCd(.8,.8)( 1, 1)(^^30,Ph,4:/Cl,3:/F) \end{verbatim} \end{minipage} @@ -555,92 +714,110 @@ Insert user defined substructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Switch Expand} +\MCFtitle{Switch NumberingA} \begin{verbatim} - MCd(.6,.6)(0,0)(^^30,Ph,4:/COOH,3:/NH2) - sw_expand:=1; - MCd(.6,.6)(1,1)(^^30,Ph,4:/COOH,3:/NH2) + sw_numberA:=1; + MCf(^^30, + Ph,-4=Ph1,-3\,!,Ph,10:/Et) \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Example(1) Ampicillin} +\MCFtitle{Switch NumberingB} \begin{verbatim} - ^^45, - ?4,2:N,2=??5,-1:S, - @(3^45,4^-45)/*H,1://O^15, - 5:/*COOH^-18,@(6^35,6^-35)/Me, - 4\^75,NH,!,//O,!,NH,!,Ph + sw_numberB:=1; + MCf(^^30, + Ph,-4=Ph1,-3\,!,Ph,10:/Et) \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Example(2) Cholesterol} +\MCFtitle{Switch font frame} \begin{verbatim} - ^^30, - ?6,$(-4,-2)??6,-4=??5,7=dl, - 1:*/OH,@(4,12)*/Me^60,9:*/H^60, - 10:/*H^180,@(11,-1)/*H^-60, - -1\^17,/*Me,!4,/Me,!, + sw_font_frame:=1; + MCf(^^30,Ph,4:/Cl,3:/F) \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Example(3) alfa-Tocopherol} +\MCFtitle{Switch molecular frame} \begin{verbatim} - ^^30, - Ph,3=??6, - 7:O,@(1,2,5)/Me,8:/*Me^60,6:/OH, - 8\,!12,@(4,8)/*Me,12:/Me + MCd(.8,.8)(0,0)(^^30,Ph,4:/Cl,3:/F) + sw_mol_frame:=1; + MCd(.8,.8)(1,1)(^^30,Ph,4:/Cl,3:/F) \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- +%%\begin{minipage}[t][38mm]{100mm} +%%\MCFtitle{Switch atom frame} +%%\begin{verbatim} +%% +%% sw_atom_frame:=1; +%% MCf(^^30,Ph,4:/COOH,3:/OH) +%%\end{verbatim} +%%\end{minipage} +%%\MCFstructure +%%\vspace{6mm}\\ +%----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Example(4) Caffeine} +\MCFtitle{Switch Solid ratio} \begin{verbatim} - ^^30, - ?6,-4=??5,$(3,8)dl,@(2,6,7,9)N, - @(2,6,9)/Me,@(1,5)//O + MCd(.8,.8)( 0, 0)(^^30,Ph,4:/Cl,3:/F) + sw_solid:=1; ratio_bond_width:=0.08; + MCd(.8,.8)( 1, 1)(^^30,Ph,4:/Cl,3:/F) \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Example(5) Lycorine} +\MCFtitle{Switch Expand} \begin{verbatim} - ^^30, - Ph,-4=??6,-2=??6,6=??5,(9,12)=??5[3], - 13=dl,8:N,@(15,17)O, - 9:/*H^180,10:*/H^60,13:*/OH,14:/*OH + MCd(.6,.6)(0,0)(^^30,Ph,4:/COOH,3:/NH2) + sw_expand:=1; + MCd(.6,.6)(1,1)(^^30,Ph,4:/COOH,3:/NH2) \end{verbatim} \end{minipage} \MCFstructure \vspace{6mm}\\ %----------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} -\MCFtitle{Example(6) Gibberellin} +\MCFtitle{Function MCd} \begin{verbatim} + MCd(1,0.8)(0.2,0.9)(^^30,Ph,2:/OH,5:/NH2) + MCd(1,0.8)(0.8,0.1)(^^30,Ph,2:/OH,5:/NH2) + + MCd(a,b)(c,d)(MCF) + a: ratio molecular width/font width + b: ratio molecular hight/font hight + c: x axis position d:y axis position +\end{verbatim} +\end{minipage} +\MCFstructure +\vspace{6mm}\\ +%----------------------------------------------------------------------------- +\begin{minipage}[t][38mm]{100mm} +\MCFtitle{Function MCf} +\begin{verbatim} + + MCf(^^30,Ph,2:/OH,5:/NH2) + + MCf(MCF) : MCd(1,1)(0.5,0.5)(MCF) - ^^12, - ?6`1.3,3=??5,9=??7,12\^160`1.6,&8, - 4\^155~zf`-1.2,O,55,//O^180`1,&2~zb, - 11=wf,13=wb,7:/COOH,11://Me,1:*/OH, - 12:/*OH,2:*/Me,@(3^-60,9^60)*/H \end{verbatim} \end{minipage} \MCFstructure diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf Binary files differindex 9b15d30275a..3c4a208015f 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf |