diff options
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex')
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex index cb9ea163a93..8f4e56a582c 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Molecular Coding Format manual by Akira Yamaji 2016.10.13 +% Molecular Coding Format manual by Akira Yamaji 2016.10.19 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[a4paper]{article} %%%%\usepackage{graphicx} @@ -711,21 +711,25 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\ %----------------------------------------------------------------------------- \subsubsection{Solid mode} \begin{verbatim} - MCd(1,1)(0,.5)(Ph,4:/Me) - sw_solid:=1; - bond_len#:=6mm#; - MCd(1,1)(1,.5)(Ph,4:/Me) + sw_solid=1 : + ratio_bond_width=0.1 + font_width=70mm + (bond_len#=70mm*0.1=7mm) + ** ignore bond_len# + + sw_solid=2 : + bond_len#=6mm# + ** ignore ratio_bond_width \end{verbatim} \MCFstructure\\ \makebox[5mm]{}% -\makebox[30mm]{\tt 0 :default}% -\makebox[30mm]{\tt 1}% +\makebox[25mm]{\tt 0 :default}% +\makebox[25mm]{\tt 1}% +\makebox[20mm]{\tt 2}% %----------------------------------------------------------------------------- \subsubsection{Expand mode} \begin{verbatim} - MCd(1,.5)(0,0.5)(<30,Ph,4:/COOH,3:/NH2) - sw_expand:=1; - MCd(1,.5)(1,0.5)(<30,Ph,4:/COOH,3:/NH2) + default: sw_expand=0 \end{verbatim} \MCFstructure\\ \makebox[5mm]{}% @@ -734,9 +738,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\ %----------------------------------------------------------------------------- \subsubsection{Substituent off mode} \begin{verbatim} - MCd(1,.5)( 0,0.5)(<30,Ph,4:/Cl,3:/F) - sw_subst_off:=1; - MCd(1,.5)( 1,0.5)(<30,Ph,4:/Cl,3:/F) + default: sw_subst_off=0 \end{verbatim} \MCFstructure\\ \makebox[5mm]{}% @@ -745,9 +747,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\ %----------------------------------------------------------------------------- \subsubsection{Single bond mode} \begin{verbatim} - MCd(1,.5)( 0,0.5)(<30,Ph,4:/Cl,3:/F) - sw_bond_single:=1; - MCd(1,.5)( 1,0.5)(<30,Ph,4:/Cl,3:/F) + default: sw_bond_single=0 \end{verbatim} \MCFstructure\\ \makebox[5mm]{}% @@ -758,9 +758,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\ %----------------------------------------------------------------------------- \subsubsection{Start vector} \begin{verbatim} - MCf(<30,Ph,4:/Cl,3:/F) - sw_start_vector:=1; - MCf(<30,Ph,4:/Cl,3:/F) + default: sw_start_vector=0 \end{verbatim} \MCFstructure\\ \makebox[5mm]{}% @@ -839,21 +837,21 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\ %----------------------------------------------------------------------------- \subsection{Local setting} \begin{verbatim} - beginfont() MCd(1,.4)(0,.5)(Ph) endfont + beginfont() MCf(Ph) endfont beginfont() ratio_thickness_bond:=0.05; - MCd(1,.4)(0.5,.5)(Ph) + MCf(Ph) endfont - beginfont() MCd(1,.4)(1,.5)(Ph) endfont + beginfont() MCf(Ph) endfont \end{verbatim} \MCFstructure %----------------------------------------------------------------------------- \subsection{Global setting} \begin{verbatim} ratio_thickness_bond:=0.05; - beginfont() MCd(1,.4)( 0,.5)(Ph) endfont - beginfont() MCd(1,.4)(.5,.5)(Ph) endfont - beginfont() MCd(1,.4)( 1,.5)(Ph) endfont + beginfont() MCf(Ph) endfont + beginfont() MCf(Ph) endfont + beginfont() MCf(Ph) endfont \end{verbatim} \MCFstructure %----------------------------------------------------------------------------- |