| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% MCF metapost souce file example by Akira Yamaji 2026.05.24 |
| 3 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4 |
%%ahangle:=1; % output png file (600dpi) |
| 5 |
%%ahangle:=2; % output png file (1200dpi) |
| 6 |
%%ahlength:=3; % output figure(expanded) |
| 7 |
%%ahlength:=5; % output MOL(V2000) |
| 8 |
%%ahlength:=6; % output MOL(V3000) |
| 9 |
%%ahlength:=7; % output report |
| 10 |
%------------------------------------------------------------------------------ |
| 11 |
input mcf2graph; %%% it must be version 5.31 |
| 12 |
%------------------------------------------------------------------------------ |
| 13 |
fsize:=(30mm,20mm); max_blength:=4mm; |
| 14 |
%%sw_numbering:=Atom+Bond+All; |
| 15 |
%%sw_frame:=Atom+Mol+Fig; |
| 16 |
%------------------------------------------------------------------------------ |
| 17 |
%%ext(defaultfont:=mpfont; defaultscale:=.3; |
| 18 |
%%label.rt(EN&" / "&mw&" / "&fdr(7)(MW_n-scantokens(MW)),(0,0));) |
| 19 |
%------------------------------------------------------------------------------ |
| 20 |
%%loadm("CAT=biological","MW<200","a:MW"); |
| 21 |
%%loadm("CAT=pesticide","MW>=280","MW<=300","a:EN"); |
| 22 |
%%loadm("CAT=synthetic","MW>=50","MW<=300","a:MW"); |
| 23 |
%%loadm("template_lib"); % use template_lib.mcf |
| 24 |
%%loadm(); % select all |
| 25 |
loadm("LV=0") % select LV=0 |
| 26 |
allm % draw all |
| 27 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 28 |
bye |