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 | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex index 047b10e3da7..81219e15e38 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex @@ -1,4 +1,4 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Molecular Coding Format manual by Akira Yamaji 2016.03.05 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[a4paper]{article} @@ -59,9 +59,9 @@ {\LARGE\bf Molecular Coding Format manual}\vspace{3mm}\\ Author : Akira Yamaji \quad Date : \today\\ Located at : http://www.ctan.org/pkg/mcf2graph\vspace{3mm}\\ -\begin{minipage}{145mm} -\quad Molecular Coding Format(MCF) is new linear notation represent chmical - structure diagram. This 'Coding' is named from coding(programing) technique +\begin{minipage}{148mm} +\quad Molecular Coding Format(MCF) is new linear notation represent chemical + structure diagrams. This 'Coding' is named from coding(programing) technique like adressing,grouping,macro,etc. There are no Meta language commands in MCF. mcf2graph.mf(metapost/metafont macro) convert MCF file to graphics file pk font,PNG,SVG,EPS or MDL MOL file(V2000). \\ @@ -79,15 +79,16 @@ sw_auxout:=1; % aux(information) file output on > sw_numberA:=0; % numbering atom off > sw_numberB:=0; % numbering bond off > sw_expand:=0; % substituent expand mode off > -sw_start_vector:=0; % start vector output off >Gloval setting +sw_start_vector:=0; % start vector output off > Gloval setting sw_info_formula:=1; % molecular formula output on > sw_info_weight:=1; % molecular weight output on > sw_font_frame:=0; % font frame off > font_wd#:=60mm#; % font width > font_ht#:=40mm#; % font height > +outputformat:="png"; hppp:=vppp:=0.1; > PNG output +outputtemplate:="%j-%3c.png"; > %------------------------------------------------------------------------- beginfont("NO:1","EN:Chlorophyll a","MW:893.49") % begin font(information) - %----------------------------------------------------------------------- sw_font_frame:=1; % font frame on > font_wd#:=120mm#; % font width set > Local setting font_ht#:=80mm#; % font height set > @@ -111,8 +112,6 @@ bye {\bf (Molecular structure diagram output)}\vspace{3mm}\\ \frame{\makebox(100,44){\@strufont\char0}}\vspace{6mm}\\ %---------------------------------------------------------------------------- -\newpage% -%---------------------------------------------------------------------------- \noindent% {\bf (Molecular information output)} \begin{verbatim} @@ -279,11 +278,11 @@ six membered ring \begin{minipage}[t][37mm]{90mm} \MCFtitle{Change bond type (1)} \begin{verbatim} -~bond : change bond - dm:double, - dl:double left side, dr:double right side, - wf:wedge forward, wb:wedge backward, - zf:wedge dotted, zb:wedge dotted backward +a~type : ~~type,a +dm:double, +dl:double left side, dr:double right side, +wf:wedge forward, wb:wedge backward, +zf:wedge dotted, zb:wedge dotted backward <30,!~dm,!~dl,!~dr,!~wf,!~wb,!~zf,!~zb \end{verbatim} @@ -294,9 +293,9 @@ six membered ring \begin{minipage}[t][37mm]{90mm} \MCFtitle{Change bond type (2)} \begin{verbatim} - Bn=bond type : change bond type at Bn - vf : vector forward, vb : vector backward - tm : triple, dt : dotted, wv : wave +Bn=bond type : change bond type at Bn +vf : vector forward, vb : vector backward +tm : triple, dt : dotted, wv : wave <30,!5,1=vf,2=vb,3=tm,4=dt,5=wv \end{verbatim} @@ -313,6 +312,7 @@ six membered ring <30,!5,$(2,4)dr, @(3~bd^-45`2,5~ov^45`2)/Me +** 3~bd^-45`2 : ~~bd,^^-45,'`2,3 \end{verbatim} \end{minipage} \MCFstructure @@ -321,9 +321,11 @@ six membered ring \begin{minipage}[t][37mm]{90mm} \MCFtitle{Change bond length (1)} \begin{verbatim} -Bn`length : change bond length at Bn +(!,!n,?n)`length : change length of !,!n,?n <30,!2,!2`1.2,!2 + +** !2`1.2 : '`1.2,!2 \end{verbatim} \end{minipage} \MCFstructure @@ -479,11 +481,11 @@ MCd(1,.6)( 1,0)(<30,?6,3=?6,(11,4)=?4[2]) \begin{verbatim} (16,4)=?6[3] : fuse 3/6 ring to B16..B4 (16,4)=?5[2] : fuse 2/5 ring to B16..B4 -(21,3)=?6[2] : fuse 2/6 ring to B21..B3 +(21,4)=?6[2] : fuse 2/6 ring to B21..B4 -MCd(1,.5)( 0, 0)(?6,$(3,10)?6,(16,4)=?6[3]) -MCd(1,.5)(.43,1)(?6,$(3,10)?6,(16,4)=?5[2]) -MCd(1,.5)(1,0)(<30,?6,$(2,10,15)?6,(21,3)=?6[2]) +MCd(1,.55)( 0,0)(?6,$(3,10)?6,(16,4)=?6[3]) +MCd(1,.55)(.5,1)(?6,$(3,10)?6,(16,4)=?5[2]) +MCd(1,.68)(1, 0)(?6,$(3,10,15)?6,(21,4)=?6[2]) \end{verbatim} \end{minipage} \MCFstructure @@ -545,7 +547,7 @@ MCf(<30, \MCFtitle{Insert substituent(2)} \begin{verbatim} / : single // : double -*/ : wedge forward /* : wedge backward +*/ : wedge forward /* : wedge dotted forward ** : direct MCf(<30,!,//O,!,/*H,!,*/H,!,/?3,!,**?3,!) @@ -598,8 +600,8 @@ MCf(<30,?6, \begin{minipage}[t][37mm]{90mm} \MCFtitle{Add substituent(3)} \begin{verbatim} -~,^,` : change type,angle,length - of substituent +~,^,`,> : change type,angle,length, + environment of substituent MCF(<30,!7`1, @(2,3)/*Me`2^30,5:*/Pr>lr,7:*/Pr>rl) @@ -654,10 +656,10 @@ MCF(<30,!7`1, \begin{minipage}[t][37mm]{90mm} \MCFtitle{Change atom and Substituent} \begin{verbatim} -NH,SOO : inset hetero atom and substituent - simultaneously +NH,SO,SOO : inset hetero atom and substituent + simultaneously - <30,!3,NH,!,SOO,!3 + <30,!2,NH,!,SO,!,SOO,!3 \end{verbatim} \end{minipage} |