summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-07 22:04:32 +0000
committerKarl Berry <karl@freefriends.org>2021-03-07 22:04:32 +0000
commit7afd3410de5ecc644213fcbab439b023e44253b8 (patch)
tree27d33527dab6c575ad94f7b8f9c9b69fc7ce7c0a /Master/texmf-dist/doc/metapost
parent0ce7cbf84226220eaf916f5ed2657fe1981691d0 (diff)
mcf2graph (7mar21)
git-svn-id: svn://tug.org/texlive/trunk@58197 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/CHANGELOG11
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/README8
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf6
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdfbin1119097 -> 324217 bytes
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex2
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf69
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdfbin618298 -> 350539 bytes
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex803
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdfbin202662 -> 202590 bytes
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex4
10 files changed, 452 insertions, 451 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/CHANGELOG b/Master/texmf-dist/doc/metapost/mcf2graph/CHANGELOG
index c2864f051f1..8bfc7deb2b0 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/CHANGELOG
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/CHANGELOG
@@ -1,6 +1,15 @@
*******************************************************************************
- Changelog of mcf2graph software package by Akira Yamaji 2021-02-28
+ Changelog of mcf2graph software package by Akira Yamaji 2021-03-07
*******************************************************************************
+[ver. 4.60 / 2021-03-07]
+ -$n (0<=n<360) can use as absolute angle
+ -change option parameter name
+ ratio_zebragap_bond => ratio_hashgap_bond
+ offset_zebra_gap => offset_hash_gap
+ -improve function check_mc()
+ -update MCF manual,example
+ pk font => eps(mps) file
+
[ver. 4.59 / 2021-02-28]
-add command @(x,y) : move to (x,y)
-improve function check_mc()
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/README b/Master/texmf-dist/doc/metapost/mcf2graph/README
index 72cb7303d85..b5a428c088e 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 : 4.59 2021-02-28
+ version : 4.60 2021-03-07
E-mail : mcf2graph@gmail.com
Located at : http://www.ctan.org/pkg/mcf2graph
********************************************************************************
@@ -23,12 +23,12 @@
( 6) mcf_man_soc.mf Molecular difinition file for mcf_manual.tex
( 7) mcf_manual.pdf PDF of (4) (used pdftex(LaTeX),makeindex)
( 8) mcf_example.tex LaTeX example,
- Make file 'mcf_exa_soc-info.aux' before typeset
+ make file 'mcf_exa_soc-info.aux' before typeset
>mpost -s ahlength=1 mcf_exa_soc.mf
( 9) mcf_exa_soc.mf Molecular difinition file for mcf_example.tex
- (10) mcf_example.pdf PDF of (8) (used pdftex(LaTeX))
+ (10) mcf_example.pdf PDF of (8) typeset with pdftex(LaTeX)
(11) mcf_mplib_exa.tex luamplib(LuaLaTeX) example
- (12) mcf_example.pdf PDF of (11) typeset with LuaTeX(LuaLaTeX)
+ (12) mcf_mplib_exa.pdf PDF of (11) typeset with LuaTeX(LaTeX)
3. How to use mcf2graph with Metapost
Minimum requirement to run mcf2graph : mpost.exe,mpost.dll,mpost.mp,plain.mp
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf
index 29b95a2ecdc..1d60bc062f0 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf
@@ -1,8 +1,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Molecular Coding Format for mcf_example.tex by Akira Yamaji 2021.02.28
+% Molecular Coding Format for mcf_example.tex by Akira Yamaji 2021.03.07
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-input mcf2graph.mf; %%% it must be version 4.59
-message "* mcf_exa_soc 2021.02.28";
+input mcf2graph.mf; %%% it must be version 4.60
+message "* mcf_exa_soc 2021.03.07";
message "";
%------------------------------------------------------------------------------
fsize:=(35mm,24mm);
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf
index c5d423a2a94..a4a5a3ba7f6 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
index 8620e9576dd..155d6139e99 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
@@ -5,7 +5,7 @@
\usepackage{graphicx}
%---------------------
\usepackage{mcf_setup}
-\pdfpkresolution=1200
+%%%%\pdfpkresolution=1200
%---------------------
\pagestyle{empty}
\topmargin=-24mm
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 7a4e76408e5..04ed57fe0c2 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf
@@ -1,8 +1,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2021.02.28
+% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2021.03.07
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-input mcf2graph.mf; %% it must be version 4.578
-message "mcf_man_soc 2021.02.21"; message "";
+input mcf2graph.mf; %% it must be version 4.60
+message "mcf_man_soc 2021.03.07"; message "";
%------------------------------------------------------------------------
sw_mframe:=0;
sw_expand:=0;
@@ -141,13 +141,13 @@ sw_fframe:=1;
fmargin:=(2mm,1mm);
%***********************************************************************
beginfont("EN:Chain 1")
- fsize:=(60mm,18mm);
+ fsize:=(60mm,17mm);
sw_numberB:=1;
numberB_end:=6;
ratio_chain_ring:=1;
%----------------------------------------------------------------------
- MC(<10,-30,45,-45,30,-30,60,
- {1^-75,2^67.5,3^-60,4^75,5^-75,6^60}:/_~dt
+ MC(<15,-30,45,-45,60,$300,$0,
+ {1^$15,2^$345,3^$30,4^$345}:/_~dt,{5,6}=vf,
)
add(
defaultscale:=0.5;
@@ -155,14 +155,12 @@ beginfont("EN:Chain 1")
drawarrow B7/*.7{B7right}..{B1right}B1/*.7; label.ulft("-30",B7/*.7);
drawarrow B8/*.7{B8left}..{B2left}B2/*.7; label.llft("45",B8/*.7);
drawarrow B9/*.7{B9right}..{B3right}B3/*.7; label.ulft("-45",B9/*.7);
- drawarrow B10/*.7{B10left}..{B4left}B4/*.7; label.llft("30",B10/*.7);
- drawarrow B11/*.7{B11right}..{B5right}B5/*.7; label.ulft("-30",B11/*.7);
- drawarrow B12/*.7{B12left}..{B6left}B6/*.7; label.llft("60",B12/*.7);
+ drawarrow B10/*.7{B10left}..{B4left}B4/*.7; label.llft("60",B10/*.7);
)
endfont
%***********************************************************************
beginfont("EN:Chain 2")
- fsize:=(60mm,18mm);
+ fsize:=(60mm,17mm);
sw_numberB:=1;
numberB_end:=6;
ratio_chain_ring:=1;
@@ -183,7 +181,7 @@ beginfont("EN:Chain 2")
endfont
%***********************************************************************
beginfont("EN:Jump and Branch")
- fsize:=(60mm,18mm);
+ fsize:=(60mm,16mm);
fmargin:=(2mm,2mm);
sw_trimming:=1;
sw_numberA:=1;
@@ -193,7 +191,7 @@ beginfont("EN:Jump and Branch")
endfont
%***********************************************************************
beginfont("EN:Jump and Branch")
- fsize:=(60mm,18mm);
+ fsize:=(60mm,16mm);
fmargin:=(2mm,2mm);
sw_numberA:=1;
sw_trimming:=1;
@@ -203,7 +201,7 @@ beginfont("EN:Jump and Branch")
endfont
%***********************************************************************
beginfont("EN:branch1")
- fsize:=(60mm,18mm);
+ fsize:=(60mm,16mm);
fmargin:=(2mm,2mm);
sw_numberA:=1;
sw_trimming:=1;
@@ -249,14 +247,14 @@ beginfont("EN:rotate 1")
sw_trimming:=1;
sw_numberB:=1;
ratio_chain_ring:=1;
- numberB_end:=5;
+ numberB_end:=7;
defaultscale:=0.5;
labeloffset:=2bp;
- MC(#1,0,0,<90,0,<-90,0,0,{1,2,3,4,5}=vf,
+ MC(#1,0,0,<90,0,<-90,0,<$315,0,<$90,0,<$0,0,{1,2,3,4,5,6,7}=vf,
{3,4^180}:/_~dt)
add(
- drawarrow B6/*.7{B6left}..{B3left}B3/*.7; label.urt("90",B6/*.7);
- drawarrow B7/*.7{B7right}..{B4right}B4/*.7; label.urt("-90",B7/*.7);
+ drawarrow B8/*.7{B8left}..{B3left}B3/*.7; label.urt("90",B8/*.7);
+ drawarrow B9/*.7{B9right}..{B4right}B4/*.7; label.urt("-90",B9/*.7);
)
endfont
%***********************************************************************
@@ -307,7 +305,7 @@ endfont
%***********************************************************************
beginfont("EN:over line")
sw_trimming:=1;
- fsize:=(75mm,20mm);
+ fsize:=(80mm,20mm);
ratio_chain_ring:=1;
MC(<30,!18,!,60,90`17,
{2~si_,4~wf_,6~wb_,8~zf_,10~zb_,
@@ -421,9 +419,15 @@ endfont
beginfont("EN:fused ring 2")
fsize:=(75mm,20mm);
sw_numberB:=1;
+ msize:=(1,.9);
MCat( 0,.5)(<30,?6,3=?6,(11,4)=?6[4],{11,4}=dt,{12,13,14,15}=bd)
- msize:=(1,.9); MCat(.5,.5)(<30,?6,3=?6,(11,4)=?5[3],{11,4}=dt,{12,13,14}=bd)
- msize:=(1,.9); MCat( 1,.5)(<30,?6,3=?6,(11,4)=?4[2],{11,4}=dt,{12,13}=bd)
+ add(defaultscale:=0.4; label("(1)",p0);)
+ msize:=(1,.9);
+ MCat(.5,.5)(<30,?6,3=?6,(11,4)=?5[3],{11,4}=dt,{12,13,14}=bd)
+ add(defaultscale:=0.4; label("(2)",p0);)
+ msize:=(1,.9);
+ MCat( 1,.5)(<30,?6,3=?6,(11,4)=?4[2],{11,4}=dt,{12,13}=bd)
+ add(defaultscale:=0.4; label("(3)",p0);)
endfont
%***********************************************************************
beginfont("EN:fused ring 3")
@@ -431,7 +435,9 @@ beginfont("EN:fused ring 3")
fmargin:=(2mm,2mm);
sw_numberB:=1;
MCat(0,1)(?6,{3,10}=?6,(16,4)=?6[3],{16,4}=dt,{17,18,19}=bd)
+ add(defaultscale:=0.4; label("(1)",p0);)
MCat(1,0)(?6,{3,10}=?6,(16,4)=?5[2],{16,4}=dt,{17,18}=bd)
+ add(defaultscale:=0.4; label("(2)",p0);)
endfont
%***********************************************************************
beginfont("EN:fused ring 4")
@@ -459,7 +465,7 @@ beginfont("EN:group 1")
endfont
%***********************************************************************
beginfont("EN:group 2")
- fsize:=(70mm,15mm);
+ fsize:=(80mm,15mm);
sw_trimming:=1;
MC(<30,!`1,//O,!2`1,/*H,!2`1,*/H,!2`1,*/*H,!2`1,**?3,!`1)
endfont
@@ -471,7 +477,7 @@ beginfont("EN:group 3")
endfont
%***********************************************************************
beginfont("EN:group 3")
- fsize:=(70mm,18mm);
+ fsize:=(80mm,18mm);
fmargin:=(2mm,2mm);
sw_numberA:=1;
sw_trimming:=1;
@@ -483,8 +489,8 @@ beginfont("EN:group 4")
fsize:=(60mm,18mm);
sw_trimming:=1;
fmargin:=(2mm,2mm);
- sw_numberA:=1; numberA_end:=7;
- MC(<30,!6`1,{2~wf,4~zf,6^-30}:/_)
+ sw_numberA:=1; numberA_end:=9;
+ MC(<30,!8`1,{2~wf,4~zf,6^-30,8^$120}:/_)
endfont
%***********************************************************************
beginfont("EN:group 5")
@@ -836,13 +842,13 @@ beginfont("EN:ratio_chain_ring")
MCat(1, .5)(<30,?6,4:/!)
endfont
%***********************************************************************
-beginfont("EN:ratio_zebragap_bond")
+beginfont("EN:ratio_hashgap_bond")
fsize:=(60mm,15mm);
- ratio_zebragap_bond:=0.06;
+ ratio_hashgap_bond:=0.06;
MCat(0.08, .5)(<30,!2,2:/*_`1)
- ratio_zebragap_bond:=0.12; %<<== default
+ ratio_hashgap_bond:=0.12; %<<== default
MCat( .5, .5)(<30,!2,2:/*_`1)
- ratio_zebragap_bond:=0.20;
+ ratio_hashgap_bond:=0.20;
MCat(0.92, .5)(<30,!2,2:/*_`1)
endfont
%***********************************************************************
@@ -921,13 +927,6 @@ beginfont("EN:Switwch font frame 3")
sw_fframe:=3;
MC(<30,Ph)
endfont
-beginfont("EN:Switwch font frame 4")
- fsize:=(30mm,10mm);
- fmargin:=(5mm,1.5mm);
- sw_fframe:=4;
- MC(<30,Ph)
- ext(drawdot(0,0);drawdot(w,0);drawdot(w,h);drawdot(0,h);)
-endfont
%***********************************************************************
beginfont("EN:Switwch molecular frame")
sw_fframe:=1;
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf
index 8740660b74a..f6ca1937e83 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
index 037b855bf08..357a853c5a9 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 2021.02.28
+% Molecular Coding Format manual by Akira Yamaji 2021.03.07
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
\usepackage[pdftex]{graphicx}
@@ -29,7 +29,7 @@
\htman=45mm%
\wdman=94mm%
\htmans=42mm%
-\fnum=29%
+\fnum=1%
%----------------------------------------------------------------------------
\edef\MCFjobname{mcf_man_soc}%
%----------------------------------------------------------------------------
@@ -42,11 +42,12 @@
\font\@strufont=\MCFjobname\relax%
%----------------------------------------------------------------------------
\def\MCFgraph{%
-\ifx\fext\@pk{\hspace{5mm}\@strufont\char\fnum}%
+\ifx\fext\@pk{\@strufont\char\fnum}%
\else%
\edef\file@name{\MCFjobname-\z@num\fnum.\fext}%
+%%%%%%%\includegraphics{\file@name}%
\setbox\fbox=\hbox{\@strufont\char\fnum}%
-\hspace{5mm}\includegraphics[width=\wd\fbox,height=\ht\fbox]{\file@name}%
+\includegraphics[width=\wd\fbox,height=\ht\fbox]{\file@name}%
\fi%
\global\advance\fnum\@ne\relax%
}%
@@ -55,8 +56,7 @@
\begin{picture}(75,130)%
\put(0,120){\bf [\NO]\EN}%
\put(5,115){\small\tt FM:\fm{ }MW:\mw}%
- \put(5,0){\font\@strufont=\File\relax%
- \hbox{\@strufont\char\Char}}%
+ \put(5,0){\MCFgraph}%
\end{picture}%
}%
%----------------------------------------------------------------------------
@@ -72,15 +72,13 @@
%-----------------------------------------------------------------------------
\thispagestyle{empty}
\vspace{5mm}%
-{\@strufont%
-\char1 \char2 \char3 \char4\\
-\char5 \char6 \char7 \char8\\
-\char9 \char10\char11\char12\\
-\char13\char14\char15\char16\\
-\char17\char18\char19\char20\\
-\char21\char22\char23\char24\\
-\char25\char26\char27\char28
-}%
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph\\
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph\\
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph\\
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph\\
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph\\
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph\\
+\MCFgraph\MCFgraph\MCFgraph\MCFgraph
%-----------------------------------------------------------------------------
\twocolumn
\thispagestyle{empty}
@@ -102,41 +100,41 @@ exact mass, molecular formula.
\subsection{Make bond}
\subsubsection{Chain}
\begin{verbatim}
- real number plus (+): Counterclockwize
- real number minus(-): Clockwize
+real number plus (+): counterclockwize
+real number minus(-): clockwize
+$n (0<=n<360): absolute angle
- <-10,-30,45,-45,30,-30,60
+<10,-30,45,-45,60,$300,$0
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Chain use !,!n}
\index{"!}%
\begin{verbatim}
- ! : take value 60 or -60 depend on
- current angle and environment
- !6 : !,!,!,!,!,!
+! : take value 60 or -60 depend on
+ current angle and environment
+!6 : !,!,!,!,!,!
- <-30,!,!,!,!,!,!
- <-30,!6
+<-30,!6
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Jump to atom}
\index{"@}%
\begin{verbatim}
- @n : Jump to An
- ** An: atom number(-999<=n<=4095)
-
- <-30,!6,@3,0,!,@5,-30
+@n : Jump to An
+** An: atom number(-999<=n<=4095)
+
+<-30,!6,@3,0,!,@5,-30
\end{verbatim}
\MCFgraph
%------------------------------------
\subsubsection{Branch bond}
\index{\textbackslash}%
\begin{verbatim}
- \ : 0
+\ : 0
- <-30,!6,@3,\,!
+<-30,!6,@3,\,!
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -146,14 +144,14 @@ exact mass, molecular formula.
\index{\textbackslash\textbackslash}%
\index{*\textbackslash*}%
\begin{verbatim}
- \ : 0
- *\ : 0~wf
- \* : 0~zf
- \\ : 0~dm
- *\* : 0~wv
+\ : 0
+*\ : 0~wf
+\* : 0~zf
+\\ : 0~dm
+*\* : 0~wv
- <30,!8,
- @2,\,!,@4,*\,!,@6,\*,!,@8,\\,!,@10,*\*,!
+<30,!8,
+@2,\,!,@4,*\,!,@6,\*,!,@8,\\,!,@10,*\*,!
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -161,37 +159,37 @@ exact mass, molecular formula.
\index{\textasciitilde}% ~
\index{`}%
\begin{verbatim}
- <30,!6,
- \~dr,!, : 0~dr,!
- \`1.5,-90 : 0`1.5,-90
- \^15,-60 : 0^15,-60
+<30,!6,
+\~dr,!, : 0~dr,!
+\`1.5,-90 : 0`1.5,-90
+\^15,-60 : 0^15,-60
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Connect atom}
\index{\&}%
\begin{verbatim}
- &n : Connect to An
+&n : Connect to An
- <-30,!6,@3,\,!3,&6~bd,@9,&4~bz
+<-30,!6,@3,\,!3,&6~bd,@9,&4~bz
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Ring}
\index{?}%
\begin{verbatim}
- ?n : n membered ring(3<=n<=20)
- ?6 : <-120,60,60,60,60,60,&1
- ?6
+?n : n membered ring(3<=n<=20)
+?6 : <-120,60,60,60,60,60,&1
+?6
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Rotate current angle}
\index{\textgreater}%
\begin{verbatim}
- <angle : rotate current angle
+<angle : rotate current angle
- 0,0,<90,0,<-90,0,0,{1,2,3,4,5}=vf
+0,0,<90,0,<-90,0,<$315,0,<$90,0,<$0,0
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -207,21 +205,21 @@ exact mass, molecular formula.
\index{db}%
\index{tm}%
\begin{verbatim}
- a~type : ~~type,a
- dm : double middle
- dl : double left side
- dr : double right side
- db : double left or right side
- tm : triple
- !! : !~db / !!! : !~tm
+a~type : ~~type,a
+dm : double middle
+dl : double left side
+dr : double right side
+db : double left or right side
+tm : triple
+!! : !~db / !!! : !~tm
- <-30,!~dm,!,!~dl,!,!~dr,!~db,!~db,!,!~tm
- <-30,!~dm,!,!~dl,!,!~dr,!! ,!! ,!,!!!
+<-30,!~dm,!,!~dl,!,!~dr,!~db,!~db,!,!~tm
+<-30,!~dm,!,!~dl,!,!~dr,!! ,!! ,!,!!!
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- dm dl dr db db tm
+ dm dl dr db db tm
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Wedge}
@@ -230,30 +228,30 @@ exact mass, molecular formula.
\index{zf}%
\index{zb}%
\begin{verbatim}
- wf : wedge forward / wb : wedge backward
- zf : wedge dotted
- zb : wedge dotted backward
+wf : wedge forward / wb : wedge backward
+zf : hashed wedge foward
+zb : hashed wedge backward
- <-30,!~wf,!,!~wb,!,!~zf,!,!~zb
+<-30,!~wf,!,!~wb,!,!~zf,!,!~zb
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- wf wb zf zb
+ wf wb zf zb
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Vector}
\index{vf}%
\index{vb}%
\begin{verbatim}
- vf:vector forward / vb:vector backward
+vf:vector forward / vb:vector backward
- <-30,!~vf,!,!~vb
+<-30,!~vf,!,!~vb
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- vf vb
+ vf vb
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Dotted,wave}
@@ -262,24 +260,24 @@ exact mass, molecular formula.
\index{bd}%
\index{bz}%
\begin{verbatim}
- Bn=bond type : change bond type at Bn
- dt : dotted / wv : wave
- bd : broad / bz : broad dotted
+Bn=bond type : change bond type at Bn
+dt : dotted / wv : wave
+bd : broad / bz : broad dotted
- <-30,!7,1=dt,3=wv,5=bd,7=bz
+<-30,!7,1=dt,3=wv,5=bd,7=bz
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- dt wv bd bz
+ dt wv bd bz
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Change multiple bond type}
\index{vf}%
\begin{verbatim}
- {2,4,6}=dr : 2=dr,4=dr,6=dr
+{2,4,6}=dr : 2=dr,4=dr,6=dr
- <30,!7,{2,4,6}=dr
+<30,!7,{2,4,6}=dr
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -294,19 +292,19 @@ exact mass, molecular formula.
\index{dr\_}%
\index{dm\_}%
\begin{verbatim}
- si_ : single over line
- wf_ : wedge forward over line
- wb_ : wedge backward over line
- zf_ : wedge dotted forward over line
- zb_ : wedge dotted backward over line
- bd_ : broad over line
- dl_ : duble left over line
- dr_ : duble right over line
- dm_ : duble over line
+si_ : single over line
+wf_ : wedge forward over line
+wb_ : wedge backward over line
+zf_ : hashed wedge forward over line
+zb_ : hashed wedge backward over line
+bd_ : broad over line
+dl_ : duble left over line
+dr_ : duble right over line
+dm_ : duble over line
- <30,!8,!,60,90`18,
- {2~si_,4~wf_,6~wb_,8~zf_,10~zb_,
- 12~bd_,14~dl_,16~dr_,18~dm_}:/_`2
+<30,!8,!,60,90`18,
+{2~si_,4~wf_,6~wb_,8~zf_,10~zb_,
+ 12~bd_,14~dl_,16~dr_,18~dm_}:/_`2
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -314,87 +312,87 @@ exact mass, molecular formula.
\subsubsection{Chain length}
\index{`}%
\begin{verbatim}
- (!,!n)`length : change length of !,!n
+(!,!n)`length : change length of !,!n
- <-30,!2,!4`1.2,!2
+<-30,!2,!4`1.2,!2
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\index{\#}%
\index{\#\#}%
\begin{verbatim}
- #n : bond length=n
- ## : reset bond length
+#n : bond length=n
+## : reset bond length
- <-30,!2,#1.2,!4,##,!2
+<-30,!2,#1.2,!4,##,!2
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Ring length}
\begin{verbatim}
- ?n`length : change ring length
+?n`length : change ring length
- ?6,@4,\,?6`1.2
+?6,@4,\,?6`1.2
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsection{Change atom}
\subsubsection{Insert atom}
\begin{verbatim}
- Insert hetero atom
+Insert hetero atom
- <-30,!2,O,!2,N,!2
+<-30,!2,O,!2,N,!2
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Addressed atom}
\index{:}%
\begin{verbatim}
- 2:O : change A2 C to O
- {3,4}:N : change A3,A4 C to N
+2:O : change A2 C to O
+{3,4}:N : change A3,A4 C to N
- <30,!4,2:O,{3,4}:N
+<30,!4,2:O,{3,4}:N
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Brock address}
\index{\textbar}% |
\begin{verbatim}
- | : divide brock
+| : divide brock
- ?6,@4,\,|,?6,2:O
+?6,@4,\,|,?6,2:O
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Reset brock address}
\index{\textbar\textbar}% ||
\begin{verbatim}
- || : reset brock adress
+|| : reset brock adress
- ?6,@4,\,|,?6,||,2:N
+?6,@4,\,|,?6,||,2:N
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Absolute address}
\index{\$}% $
\begin{verbatim}
- $2:N : change A$2 C to N **1<=n<=3095
+$2:N : change A$2 C to N **1<=n<=3095
- ?6,@4,\,|,?6,$2:N
+?6,@4,\,|,?6,$2:N
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Relative address}
\begin{verbatim}
- -2:N : change A(-2) C to N **-999<=n<=-1
+-2:N : change A(-2) C to N **-999<=n<=-1
- ?6,@4,\,?6,-2:N
+?6,@4,\,?6,-2:N
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Charged atom}
\begin{verbatim}
- p_ : positive / n_ : negative
+p_ : positive / n_ : negative
<-30,!2,N,??,p_,!2,S,n_^180,
!6,7:N,7:??,9:S,7:n_,9:n_^180
@@ -404,42 +402,42 @@ exact mass, molecular formula.
\subsection{Fuse ring}
\subsubsection{Attached 1 bond}
\begin{verbatim}
- ?6,3=?6 : fuse ?6 at B3
- ** Bn(n:-999<=n<=4095): bond number
+?6,3=?6 : fuse ?6 at B3
+** Bn(n:-999<=n<=4095): bond number
- ?6,3=?6
+?6,3=?6
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\begin{verbatim}
- ** fused ring size depend on
- attached bond length
+** fused ring size depend on
+attached bond length
- ?6,@4,\,?6`1.2,5=?6,11=?6
+?6,@4,\,?6`1.2,5=?6,11=?6
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\begin{verbatim}
- ?6,3=?6[13] : fuse ?6[13] at B3
- ?6[13]: 6 membered ring scaled 13/10
- ** ?m[n] (5<=m<=8,11<=n<=15)
+?6,3=?6[13] : fuse ?6[13] at B3
+?6[13]: 6 membered ring scaled 13/10
+** ?m[n] (5<=m<=8,11<=n<=15)
- ?6,3=?6[13]
+?6,3=?6[13]
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\begin{verbatim}
- ?6,{-3,-4,-4,-2,-2,-4,-4}=?6
- ?6,{4,8,13,20,25,28,33}=?6
+?6,{-3,-4,-4,-2,-2,-4,-4}=?6
+?6,{4,8,13,20,25,28,33}=?6
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Attached 2 bond}
\begin{verbatim}
- (4,11)=?6[4] : fuse 4/6 ring to B11..B4
- (4,11)=?5[3] : fuse 3/5 ring to B11..B4
- (4,11)=?4[2] : fuse 2/4 ring to B11..B4
- ** ?m[n] (4<=m<=6,n=m-2)
+(4,11)=?6[4] : fuse 4/6 ring to B11..B4
+(4,11)=?5[3] : fuse 3/5 ring to B11..B4
+(4,11)=?4[2] : fuse 2/4 ring to B11..B4
+** ?m[n] (4<=m<=6,n=m-2)
1:<30,?6,3=?6,(11,4)=?6[4]
2:<30,?6,3=?6,(11,4)=?5[3]
@@ -448,14 +446,13 @@ exact mass, molecular formula.
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 1 2 3
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Attached 2 bond}
\begin{verbatim}
- (16,4)=?6[3] : fuse 3/6 ring to B16..B4
- (16,4)=?5[2] : fuse 2/5 ring to B16..B4
- ** ?m[n] (5<=m<=6,n=m-3)
+(16,4)=?6[3] : fuse 3/6 ring to B16..B4
+(16,4)=?5[2] : fuse 2/5 ring to B16..B4
+** ?m[n] (5<=m<=6,n=m-3)
1:?6,{3,10}=?6,(16,4)=?6[3]
2:?6,{3,10}=?6,(16,4)=?5[2]
@@ -463,26 +460,25 @@ exact mass, molecular formula.
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 1 2
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Attached 4 bond}
\begin{verbatim}
- (21,4)=?6[2] : fuse 2/6 ring to B21..B4
+(21,4)=?6[2] : fuse 2/6 ring to B21..B4
- MC(<-30,?6,{3,10,15}=?6,(21,4)=?6[2])
+MC(<-30,?6,{3,10,15}=?6,(21,4)=?6[2])
- ** ?m[n] (m=6,n=2)
+** ?m[n] (m=6,n=2)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Spiro ring}
\begin{verbatim}
- @4,?5 : add ?5 at A4
+@4,?5 : add ?5 at A4
- <30,!6,@4,?5
+<30,!6,@4,?5
- @An : jump to An
+@An : jump to An
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -491,13 +487,13 @@ exact mass, molecular formula.
\index{/}%
\index{Ph}%
\begin{verbatim}
- / : single
- <-30,!,/_,!,/!,!3,/!2,!,/?!,
- !3,/??!,!,/Ph^-30,!
+/ : single
+<-30,!,/_,!,/!,!3,/!2,!,/?!,
+ !3,/??!,!,/Ph^-30,!
- ** /_ : methyl /! : ethyl
- /!2 : propyl /?! : isopropyl
- /??! : tert-butyl /Ph : phenyl
+** /_ : methyl /! : ethyl
+ /!2 : propyl /?! : isopropyl
+ /??! : tert-butyl /Ph : phenyl
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -508,18 +504,18 @@ exact mass, molecular formula.
\index{*/*}%
\index{**}%
\begin{verbatim}
- // : double (double middle)
- */ : wedge forward
- /* : wedge dotted forward
- */* : wave
- ** : direct
+// : double (double middle)
+*/ : wedge forward
+/* : hashed wedge forward
+*/* : wave
+** : direct
- <30,!,//O,!2,/*H,!2,*/H,!2,*/*H,!2,**?3,!
+<30,!,//O,!2,/*H,!2,*/H,!2,*/*H,!2,**?3,!
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- // /* */ */* **
+ // /* */ */* **
\end{verbatim}
%-----------------------------------------------------------------------------
\index{\textasciicircum}% ^
@@ -527,38 +523,36 @@ exact mass, molecular formula.
\index{`}%
\index{\textless}%
\begin{verbatim}
- ~ : change type
- ^ : change angle
- ` : change length
- > : change environment
+~ : change type
+^ : change angle
+` : change length
+> : change environment
- <-30,``1,!,
- /_`2^30,!2,/!2>lr,!2,/!2>rl,!)
+<-30,``1,!,
+ /_`2^30,!2,/!2>lr,!2,/!2>rl,!)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Add group}
\begin{verbatim}
- <30,!17,2:/_,4:/!,6:/!2,
- 10:/?!,14:/??!,16:/Ph^-60
+<30,!17,2:/_,4:/!,6:/!2,
+10:/?!,14:/??!,16:/Ph^-60
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Add modified group}
\begin{verbatim}
- ~,^,` : change type,angle,length
+~,^,` : change type,angle,length
- <30,!6,
- {2~wf,4~zf,6^-30}:/_
+<30,!6,{2~wf,4~zf,6^-30,8^$120}:/_
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\begin{verbatim}
- ^,`,> : change angle,length,environment
+^,`,> : change angle,length,environment
- <-30,!7`1,
- 3:/_`2^30,5:/!2>lr,7:/!2>rl
+<-30,!7`1,3:/_`2^30,5:/!2>lr,7:/!2>rl
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -568,12 +562,12 @@ exact mass, molecular formula.
\index{vt}%
\index{"'}%
\begin{verbatim}
- >hz : horizontal environment (default)
- >vt : vertical environment
+>hz : horizontal environment (default)
+>vt : vertical environment
- ?4,
- {3^-90,3^-30,3^90}:/'(!3,"{hz}")>hz,
- {1^-60,1,1^60}:/'(!3,"{vt}")>vt
+?4,
+{3^-90,3^-30,3^90}:/'(!3,"{hz}")>hz,
+{1^-60,1,1^60}:/'(!3,"{vt}")>vt
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -581,32 +575,32 @@ exact mass, molecular formula.
\index{lr}%
\index{rl}%
\begin{verbatim}
- >lr : left-right environment
- >rl : right-left environment
+>lr : left-right environment
+>rl : right-left environment
- <-30,!6,
- {3^-30,3,3^30}:/'(!3,"{lr}")>lr,
- {5^-30,5,5^30}:/'(!3,"{rl}")>rl
+<-30,!6,
+{3^-30,3,3^30}:/'(!3,"{lr}")>lr,
+{5^-30,5,5^30}:/'(!3,"{rl}")>rl
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Fixed rotate angle}
\index{\textgreater}%
\begin{verbatim}
- >n : rotate n
+>n : rotate n
- <30,!4,
- 2:/!6>30, % 2:\,30,30,30,30,30,30
- 4:/!4>-45 % 4:\,-45,-45,-45,-45
+<30,!4,
+2:/!6>30, % 2:\,30,30,30,30,30,30
+4:/!4>-45 % 4:\,-45,-45,-45,-45
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Multi rotate angle}
\begin{verbatim}
- >'(90,-90,...) : rotate 90,-90,...
+>'(90,-90,...) : rotate 90,-90,...
- <30,!6,6>'(90,-90,90,-90,90):/!5
+<30,!6,6>'(90,-90,90,-90,90):/!5
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -619,13 +613,13 @@ exact mass, molecular formula.
\index{SO}%
\index{SOO}%
\begin{verbatim}
- NH : N,/H~nl
- N! : N,/_
- N!2 : N,/!
- SO : S,//O
- SOO : S,//O^35,//^-35
+NH : N,/H~nl
+N! : N,/_
+N!2 : N,/!
+SO : S,//O
+SOO : S,//O^35,//^-35
- <-30,!2,NH,!2,N!,!2,N!2,SO,!2,SOO,!
+<-30,!2,NH,!2,N!,!2,N!2,SO,!2,SOO,!
\end{verbatim}
\MCFgraph
\index{?"!}%
@@ -633,41 +627,41 @@ exact mass, molecular formula.
\index{??"!}%
\index{N?"!}%
\begin{verbatim}
- ?! : /_,!
- ?? : /_^35,/_-35
- /?! : isopropyl
- /??! : tert-butyl
- /N?! : dimethylamino
+?! : /_,!
+?? : /_^35,/_-35
+/?! : isopropyl
+/??! : tert-butyl
+/N?! : dimethylamino
- <30,!9`1,?!,!,??,!,
- 2:??,4:/??,6:/??!,8:/N?!
+<30,!9`1,?!,!,??,!,
+2:??,4:/??,6:/??!,8:/N?!
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Parts definition}
\begin{verbatim}
- '(..) : user defined parts
+'(..) : user defined parts
- iBuOH:='(!,/_,!,OH);
- MC(<30,?6,{4,6}:/iBuOH)
+iBuOH:='(!,/_,!,OH);
+MC(<30,?6,{4,6}:/iBuOH)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Parts inline definition}
\begin{verbatim}
- <30,!, /'(!,/_,!,OH),!
+<30,!, /'(!,/_,!,OH),!
- <30,!8,{2,6}:/'(!,/_,!,OH)
+<30,!8,{2,6}:/'(!,/_,!,OH)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Move position}
\index{"@()}%
\begin{verbatim}
- @(x,y) : Move to (l*x,l*y) from origin
- ** l=bond length of ring
+@(x,y) : Move to (l*x,l*y) from origin
+ ** l=bond length of ring
- <30,?6,@3,!4,//O,!,O,n_^60,@(6,1),H,p_^15
+<30,?6,@3,!4,//O,!,O,n_^60,@(6,1),H,p_^15
\end{verbatim}
\MCFgraph
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -677,11 +671,11 @@ exact mass, molecular formula.
\subsection{Angle parameter}
\index{mangle}%
\begin{verbatim}
- mangle=0 ** default
+mangle=0 ** default
- MCat(0.2,0.5)(Ph)
- mangle:=30;
- MCat(0.8,0.5)(Ph)
+MCat(0.2,0.5)(Ph)
+mangle:=30;
+MCat(0.8,0.5)(Ph)
\end{verbatim}
\MCFgraph
%------------------------------------------------------------------------------
@@ -690,57 +684,57 @@ exact mass, molecular formula.
\subsubsection{Bond length}
\index{blength}%
\begin{verbatim}
- (fit to font size)
- blength=0 ** default
+(fit to font size)
+blength=0 ** default
\end{verbatim}
\MCFgraph
%-----------------------------------------
\begin{verbatim}
- (ratio bond/font width)
- blength=0.1 ** (0<blength<=1)
- blength=60mm(width)*0.1=6mm
+(ratio bond/font width)
+blength=0.1 ** (0<blength<=1)
+blength=60mm(width)*0.1=6mm
\end{verbatim}
\MCFgraph
%-----------------------------------------
\begin{verbatim}
- (bond length)
- blength=9mm
- ** (blength>1) ignore msize(w,h)
+(bond length)
+blength=9mm
+** (blength>1) ignore msize(w,h)
\end{verbatim}
\MCFgraph
%------------------------------------------------------------------------------
\subsubsection{Molecular size}
\index{msize}%
\begin{verbatim}
- msize=(1,1) ** default
+msize=(1,1) ** default
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------
\begin{verbatim}
- msize=(0.25,1)
- msize=40mm-4mm*0.25=9mm
+msize=(0.25,1)
+msize=40mm-4mm*0.25=9mm
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------
\begin{verbatim}
- msize=(11mm,11mm)
+msize=(11mm,11mm)
\end{verbatim}
\MCFgraph
%------------------------------------------------------------------------------
\subsubsection{Molecular position}
\index{mposition}%
\begin{verbatim}
- mposition=(0.5,0.5) ** default
+mposition=(0.5,0.5) ** default
\end{verbatim}
\MCFgraph
%--------------------------------------------------------------
\begin{verbatim}
- mposition=(1,0)
+mposition=(1,0)
\end{verbatim}
\MCFgraph
%--------------------------------------------------------------
\begin{verbatim}
- mposition=(10mm,4mm)
+mposition=(10mm,4mm)
\end{verbatim}
\MCFgraph
%------------------------------------------------------------------------------
@@ -749,76 +743,76 @@ exact mass, molecular formula.
\subsubsection{Font size}
\index{fsize}%
\begin{verbatim}
- fsize=(font width,font height)
- ** default: (30mm,20mm)
+fsize=(font width,font height)
+** default: (30mm,20mm)
- fsize=(40mm,15mm)
+fsize=(40mm,15mm)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Font margin}
\index{fmargin}%
\begin{verbatim}
- fmargin=(margin left rigth,top bottom)
- ** default: (0.4mm,0.4mm)
+fmargin=(margin left rigth,top bottom)
+** default: (0.4mm,0.4mm)
- fmargin=(10mm,2mm)
+fmargin=(10mm,2mm)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Offset thickness of bond}
\index{offset\_thickness}%
\begin{verbatim}
- default: offset_thickness=0.2pt
+default: offset_thickness=0.2pt
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0pt 0.2pt 0.5pt
+ 0pt 0.2pt 0.5pt
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Offset of double bond gap}
\index{offset\_bond\_gap}%
\begin{verbatim}
- default: offset_bond_gap=0.3pt
+default: offset_bond_gap=0.3pt
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.0pt 0.3pt 1.0pt
+ 0.0pt 0.3pt 1.0pt
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Offset of atom width}
\index{offset\_atom}%
\begin{verbatim}
- default: offset_atom=0.8pt
+default: offset_atom=0.8pt
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.0pt 0.8pt 2.0pt
+ 0.0pt 0.8pt 2.0pt
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Offset of wedge width}
\index{offset\_wedge}%
\begin{verbatim}
- default: offset_wedge=0.4pt
+default: offset_wedge=0.4pt
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.0pt 0.4pt 1.0pt
+ 0.0pt 0.4pt 1.0pt
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Max bond length}
\index{max\_blength}%
\begin{verbatim}
- default: max_blength=10mm
+default: max_blength=10mm
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 6mm 8mm 20mm
+ 6mm 8mm 20mm
\end{verbatim}
%-----------------------------------------------------------------------------
\subsection{Ratio parameter}
@@ -826,92 +820,92 @@ exact mass, molecular formula.
\subsubsection{Thickness/bond length}
\index{ratio\_thickness\_bond}%
\begin{verbatim}
- default: ratio_thickness_bond=0.015
+default: ratio_thickness_bond=0.015
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.005 0.015 0.030
+ 0.005 0.015 0.030
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Char/bond thickness}
\index{ratio\_char\_bond}%
\begin{verbatim}
- default: ratio_char_bond=1.5
+default: ratio_char_bond=1.5
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 1.0 1.5 2.0
+ 1.0 1.5 2.0
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Bond gap/bond length}
\index{ratio\_bondgap\_bond}%
\begin{verbatim}
- default: ratio_bondgap_bond= 0.15
+default: ratio_bondgap_bond= 0.15
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.10 0.15 0.20
+ 0.10 0.15 0.20
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Atom/bond length}
\index{ratio\_atom\_bond}%
\begin{verbatim}
- default: ratio_atom_bond= 0.36
+default: ratio_atom_bond= 0.36
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.25 0.36 0.46
+ 0.25 0.36 0.46
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Wedge/bond length}
\index{ratio\_wedge\_bond}%
\begin{verbatim}
- default: ratio_wedge_bond=0.12
+default: ratio_wedge_bond=0.12
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.10 0.12 0.20
+ 0.10 0.12 0.20
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Font atom gap/atom length}
\index{ratio\_atomgap\_atom}%
\begin{verbatim}
- default: ratio_atomgap_atom= 0.050
+default: ratio_atomgap_atom= 0.050
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.0 0.050 0.12
+ 0.0 0.050 0.12
\end{verbatim}
%-----------------------------------------------------------------------------
\subsubsection{Chain/ring length}
\index{ratio\_chain\_ring}%
\begin{verbatim}
- default: ratio_chain_ring= 0.66
+default: ratio_chain_ring= 0.66
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.4 0.65 1.0
+ 0.4 0.65 1.0
\end{verbatim}
%-----------------------------------------------------------------------------
-\subsubsection{Zebra gap/bond length}
-\index{ratio\_zebragap\_bond}%
+\subsubsection{Hash gap/bond length}
+\index{ratio\_hashgap\_bond}%
\begin{verbatim}
- default: ratio_zebragap_bond=0.12
+default: ratio_hashgap_bond=0.12
\end{verbatim}
\MCFgraph
\vspace{-3mm}%
\begin{verbatim}
- 0.06 0.12 0.20
+ 0.06 0.12 0.20
\end{verbatim}
%-----------------------------------------------------------------------------
-%%\newpage
+\newpage
%-----------------------------------------------------------------------------
\subsection{Drawing mode}
%-----------------------------------------------------------------------------
@@ -920,9 +914,9 @@ exact mass, molecular formula.
\index{numberA\_start}%
\index{numberA\_end}%
\begin{verbatim}
- numberA_start:=3; numberA_end:=8;
- default: sw_numberA=0 :
- numberA_start=1 numberA_end=4095
+numberA_start:=3; numberA_end:=8;
+default: sw_numberA=0 :
+ numberA_start=1 numberA_end=4095
\end{verbatim}
\MCFgraph
\begin{picture}(5,20)
@@ -936,9 +930,9 @@ exact mass, molecular formula.
\index{numberB\_start}%
\index{numberB\_end}%
\begin{verbatim}
- numberB_start:=3; numberB_end:=8;
- default: sw_numberB=0 :
- numberB_start=1 numberB_end=4095
+numberB_start:=3; numberB_end:=8;
+default: sw_numberB=0 :
+ numberB_start=1 numberB_end=4095
\end{verbatim}
\MCFgraph
\begin{picture}(5,20)
@@ -950,16 +944,16 @@ exact mass, molecular formula.
\subsubsection{Trimming mode}
\index{sw\_trimming}%
\begin{verbatim}
- sw_trimming:=0; ** default
- msize:=(1,0.7);
- MCat(0.2,0.3)(Ph)
- MCat(0.8,0.7)(Ph)
+sw_trimming:=0; ** default
+msize:=(1,0.7);
+MCat(0.2,0.3)(Ph)
+MCat(0.8,0.7)(Ph)
\end{verbatim}
\MCFgraph
\begin{verbatim}
- sw_trimming:=1;
- MCat(0.2,0.3)(Ph)
- MCat(0.8,0.7)(Ph)
+sw_trimming:=1;
+MCat(0.2,0.3)(Ph)
+MCat(0.8,0.7)(Ph)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -976,14 +970,14 @@ MCat(1, .5)(<30,Ph,4:/COOH,3:/NH2)
\subsubsection{Group off mode}
\index{sw\_group\_off}%
\begin{verbatim}
- ** default: sw_group_off=0
+** default: sw_group_off=0
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Single bond mode}
\index{sw\_single}%
\begin{verbatim}
- ** default: sw_single=0
+** default: sw_single=0
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -992,39 +986,38 @@ MCat(1, .5)(<30,Ph,4:/COOH,3:/NH2)
\subsubsection{Font frame}
\index{sw\_fframe}%
\begin{verbatim}
- (Draw font frame)
- fmargin:=(5mm,2mm);
- sw_fframe=1
+** default:sw_fframe=0
+(Draw font frame)
+fmargin:=(5mm,2mm);
+sw_fframe=1
\end{verbatim}
\MCFgraph
\begin{verbatim}
- (Frame inside margin)
- sw_fframe=2
+(Frame inside margin)
+sw_fframe=2
\end{verbatim}
\MCFgraph
\begin{verbatim}
- (Draw both frame)
- sw_fframe=3
-\end{verbatim}
-\MCFgraph
-\begin{verbatim}
- (Small dot at corner)
- sw_fframe=4
+(Draw both frame)
+sw_fframe=3
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Molecular frame}
\index{sw\_mframe}%
\begin{verbatim}
- sw_mframe=1 ** default:sw_mframe=0
+sw_mframe=1
+** default:sw_mframe=0
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Atom frame}
\index{sw\_aframe}%
\begin{verbatim}
- sw_aframe=1 ** default: sw_aframe=0
- MC(<30,COOH,!,COOH)
+sw_aframe=1
+** default: sw_aframe=0
+
+MC(<30,COOH,!,COOH)
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
@@ -1035,35 +1028,35 @@ MCat(1, .5)(<30,Ph,4:/COOH,3:/NH2)
\index{beginfont()}%
\index{endfont}%
\begin{verbatim}
- beginfont()
- MC(Ph)
- endfont
- beginfont()
- %--------------------------
- ratio_thickness_bond:=0.05;
- %--------------------------
- MC(Ph)
- endfont
- beginfont()
- MC(Ph)
- endfont
+beginfont()
+ MC(Ph)
+endfont
+beginfont()
+ %--------------------------
+ ratio_thickness_bond:=0.05;
+ %--------------------------
+ MC(Ph)
+endfont
+beginfont()
+ MC(Ph)
+endfont
\end{verbatim}
\MCFgraph\MCFgraph\MCFgraph
%-----------------------------------------------------------------------------
\subsubsection{Global parameter setting}
\begin{verbatim}
- beginfont()
- MC(Ph)
- endfont
- %--------------------------
- ratio_thickness_bond:=0.05;
- %--------------------------
- beginfont()
- MC(Ph)
- endfont
- beginfont()
- MC(Ph)
- endfont
+beginfont()
+ MC(Ph)
+endfont
+%--------------------------
+ratio_thickness_bond:=0.05;
+%--------------------------
+beginfont()
+ MC(Ph)
+endfont
+beginfont()
+ MC(Ph)
+endfont
\end{verbatim}
\MCFgraph\MCFgraph\MCFgraph
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1072,47 +1065,47 @@ MCat(1, .5)(<30,Ph,4:/COOH,3:/NH2)
\subsection{Function MC()}
\index{MC()}%
\begin{verbatim}
- (Draw molecule)
+(Draw molecule)
- msize=(a,b) **default (1,1)
- mposition=(c,d) **default (0.5,0.5)
+msize=(a,b) **default (1,1)
+mposition=(c,d) **default (0.5,0.5)
- a: ratio molecular width/font width
- b: ratio molecular hight/font hight
- c: x axis position
- d: y axis position
+a: ratio molecular width/font width
+b: ratio molecular hight/font hight
+c: x axis position
+d: y axis position
- beginfont()
- MC(<30,Ph,3:/F,4:/Cl)
- endfont
+beginfont()
+ MC(<30,Ph,3:/F,4:/Cl)
+endfont
\end{verbatim}
\MCFgraph
%-----------------------------------------------------------------------------
\subsection{Function MCat()}
\index{MCat()}%
\begin{verbatim}
- (Draw molecule at mposition)
+(Draw molecule at mposition)
- MCat(c,d)(....) :
+MCat(c,d)(....) :
- mposition:=(c,d); MC(....)
+mposition:=(c,d); MC(....)
- c: x axis position d: y axis position
+c: x axis position d: y axis position
- defaultsize:=5bp;
- fsize:=(40mm,40mm); fmargin:=(3mm,3mm);
- blength:=0.1; sw_fframe:=1;
- mangle:=0;
- for i=1 step -0.5 until 0:
- for j=0 step 0.5 until 1:
- MCat(j,i)(Ph,4:N)
- add(drawarrow((A1+A1up**aw)..A1);
- label(decimal(mangle),
- p0+(0.5w,0.5h));
- )
- mangle:=mangle+30;
- endfor
+defaultsize:=5bp;
+fsize:=(40mm,40mm); fmargin:=(3mm,3mm);
+blength:=0.1; sw_fframe:=1;
+mangle:=0;
+for i=1 step -0.5 until 0:
+ for j=0 step 0.5 until 1:
+ MCat(j,i)(Ph,4:N)
+ add(drawarrow((A1+A1up**aw)..A1);
+ label(decimal(mangle),
+ p0+(0.5w,0.5h));
+ )
+ mangle:=mangle+30;
endfor
+endfor
\end{verbatim}
\MCFgraph
@@ -1120,27 +1113,27 @@ MCat(1, .5)(<30,Ph,4:/COOH,3:/NH2)
\subsection{Function check\_mc()}
\index{check\_mc()}%
\begin{verbatim}
- (immediately compile)
+(immediately compile)
- beginfont("EN:Pyridine")
- MC(Ph,<30,2:N)
- endfont
+beginfont("EN:Pyridine")
+ MC(Ph,<30,2:N)
+endfont
- (check mcf and compile)
+(check mcf and compile)
- beginfont("EN:Pyridine",":<30,Ph,2:N")
- if check_mc(mc)=0: MC(scantokens(mc)) fi
- endfont
+beginfont("EN:Pyridine",":<30,Ph,2:N")
+ if check_mc(mc)=0: MC(scantokens(mc)) fi
+endfont
- ** error in mcf check_mc(mc)=1
- beginfont("EN:Pyridine",":<30,Ph,2):N")
- if check_mc(mc)=0: MC(scantokens(mc)) fi
- endfont
+** error in mcf check_mc(mc)>=1
+beginfont("EN:Pyridine",":<30,Ph,2):N")
+ if check_mc(mc)=0: MC(scantokens(mc)) fi
+endfont
\end{verbatim}
-\MCFgraph\hspace{15mm}\MCFgraph
+\MCFgraph\hspace{22mm}\MCFgraph
\begin{verbatim}
- check_mc(mc)=0 check_mc(mc)>=1
+check_mc(mc)=0 check_mc(mc)>=1
\end{verbatim}
%===============================================================================
\newpage
@@ -1184,44 +1177,44 @@ MCat(1, .5)(<30,Ph,4:/COOH,3:/NH2)
\begin{verbatim}
(Add graphic to molecule)
- w: molecular width
- h: molecular height
- aw: atom font size
- em: label font size
- p0: origin of molecular structure
- l: bond length
-
- An: atom number
- A[m]: atom position
- A[m]ang: branch angle of A[m]
- A[m]up: dir A[m]ang
- A[m]left: dir A[m]ang+90
- A[m]right: dir A[m]ang-90
- A[m]down: dir A[m]ang+180
-
- Bn: bond number
- B[m]: bond(path)
- B[m]s: bond start position
- B[m]m: bond middle position
- B[m]e: bond end position
- B[m]ang: bond angle
- B[m]up: dir B[m]ang
- B[m]left: dir B[m]ang+90
- B[m]right: dir B[m]ang-90
- B[m]down: dir B[m]ang+180
-
- plus : '+' circled
- minus : '-' circled
- circlediam = 0.6aw (default)
- circlepen = 0.2bp (default)
-
- lonepair r: ':' rotated r
- lonepairdiam = 0.3aw (default)
- lonepairspace = 0.7aw (default)
-
- ** : scaled
- << : rotated
- a /* b : point b of a
+w: molecular width
+h: molecular height
+aw: atom font size
+em: label font size
+p0: origin of molecular structure
+l: bond length
+
+An: atom number
+A[m]: atom position
+A[m]ang: branch angle of A[m]
+A[m]up: dir A[m]ang
+A[m]left: dir A[m]ang+90
+A[m]right: dir A[m]ang-90
+A[m]down: dir A[m]ang+180
+
+Bn: bond number
+B[m]: bond(path)
+B[m]s: bond start position
+B[m]m: bond middle position
+B[m]e: bond end position
+B[m]ang: bond angle
+B[m]up: dir B[m]ang
+B[m]left: dir B[m]ang+90
+B[m]right: dir B[m]ang-90
+B[m]down: dir B[m]ang+180
+
+plus : '+' circled
+minus : '-' circled
+ circlediam = 0.6aw (default)
+ circlepen = 0.2bp (default)
+
+lonepair r: ':' rotated r
+ lonepairdiam = 0.3aw (default)
+ lonepairspace = 0.7aw (default)
+
+** : scaled
+<< : rotated
+a /* b : point b of a
beginfont("EN:add() 1")
fsize:=(70mm,40mm);
@@ -1300,21 +1293,21 @@ endfont
\begin{verbatim}
(Extra graphic to font)
- w: font width
- h: font height
- w0: font width-2xpart(fmargin)
- h0: font height-2ypart(fmargin)
- aw: atom font size
- em: label font size
- p0: fmargin
-
- n: molecular number
- p[m]: molecular origin position
- w[m]: molecular width
- h[m]: molecular height
-
- ratio_thickness_char:
- pen thickness / char width
+w: font width
+h: font height
+w0: font width-2xpart(fmargin)
+h0: font height-2ypart(fmargin)
+aw: atom font size
+em: label font size
+p0: fmargin
+
+n: molecular number
+p[m]: molecular origin position
+w[m]: molecular width
+h[m]: molecular height
+
+ratio_thickness_char:
+pen thickness / char width
%----------------------------------------
beginfont()
fsize:=(70mm,30mm;);
@@ -1459,7 +1452,7 @@ endfont
%-----------------------------------------------------------------------------
\subsection{Lycorine}
\begin{verbatim}
-beginfont("EN:Lycorine","MW:287.31")
+beginfont("EN:Lycorine","MW:287.31",
%--------------------------------------
": Ph,-4=?6,-2=?6,6=?5,(9,12)=?5[3], ",
": 13=dl,8:N,{15,17}:O, ",
@@ -1474,7 +1467,7 @@ endfont
%-----------------------------------------------------------------------------
\subsection{Gibberellin}
\begin{verbatim}
-beginfont("EN:Gibberellin A3","MW:346.37");
+beginfont("EN:Gibberellin A3","MW:346.37",
%----------------------------------------
": <18,?5,3=?7,5=?6[12],@8,160`1.3,&3, ",
": 13=dl,6=wf,8=wb, ",
@@ -1490,7 +1483,7 @@ endfont
%-----------------------------------------------------------------------------
\subsection{Quinine}
\begin{verbatim}
-beginfont("EN:Quinine","MW:324.42")
+beginfont("EN:Quinine","MW:324.42",
%-------------------------------
": <30,Ph,3=Ph,7:N,6:/O!, ",
": @10,\,*/OH,/H~zf^-60,!, ",
@@ -1859,15 +1852,15 @@ endfont;
%--------------------------------------------------------------------
\begin{document}
\unitlength=1mm%
-\INFO{F:mcf_man_soc,C:142,NO:1,mw:349.40462,fm:C16H19N3O4S,EN:Ampicillin}%
-\INFO{F:mcf_man_soc,C:143,NO:2,mw:386.6532,fm:C27H46O,EN:Cholesterol}%
+\INFO{F:mcf_man_soc,C:141,NO:1,mw:349.40462,fm:C16H19N3O4S,EN:Ampicillin}%
+\INFO{F:mcf_man_soc,C:142,NO:2,mw:386.6532,fm:C27H46O,EN:Cholesterol}%
\end{document}
%--------------------------------------------------------------------
\end{verbatim}%
%############################################################################
%------------------------------------------------------------------------
-\INFO{F:mcf_man_soc,C:142,NO:1,mw:349.40462,fm:C16H19N3O4S,EN:Ampicillin}%
-\INFO{F:mcf_man_soc,C:143,NO:2,mw:386.6532,fm:C27H46O,EN:Cholesterol}%
+\INFO{F:mcf_man_soc,C:141,NO:1,mw:349.40462,fm:C16H19N3O4S,EN:Ampicillin}%
+\INFO{F:mcf_man_soc,C:142,NO:2,mw:386.6532,fm:C27H46O,EN:Cholesterol}%
%------------------------------------------------------------------------
\texttt{\printindex}
%------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf
index 8e783244275..a643ea23d5e 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
index f96c6320337..d063f98ab81 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2021.02.28
+% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2021.03.07
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% mcf2graph.mf must be version 4.59
+%%% mcf2graph.mf must be version 4.60
\documentclass{article}
%------------------------------------------------------------------------------
\usepackage{luamplib}%