summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex74
1 files changed, 37 insertions, 37 deletions
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 9d40f3fbcac..bf4a8e9797e 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 2019.03.17
+% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2019.05.11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% mcf2graph.mf it must be version 4.40 or later
+%%% mcf2graph.mf it must be version 4.41 or later
\documentclass{article}
%------------------------------------------------------------------------------
\usepackage{luamplib}%
@@ -12,8 +12,7 @@
\mplibnumbersystem{double}%
\everymplib{%
if unknown Ph1: input mcf2graph.mf; fi
- sw_aux_out:=1;
- sw_label_emu:=1;
+ sw_calc:=1;
sw_fframe:=4;
max_blength:=4.5mm;
defaultfont:="uhvr8r";
@@ -44,14 +43,14 @@
beginfont("NO:1","EN:Chlorophyll a","MW:893.49")
msize:=(.9,.9);
MCat(0,0.5)(<54,
- |<=1,?5,{2,5}=dl,4:N,3:\,54~dl,|,?5,{2,4}=dl,5:N,
- -2:\,54~dl,|,?5,2=dl,5:N,-2:\~dl,54,|,?5,5=dl,5:N,-2:\~dl,$5:#,
- -1:@,24,/*COO!^15,72,//O,$1:#,>|,
- 4:\`1.45,Mg,17:#,-1:@,11~vb:#,-1:@,23~vb:#,
+ |=1,?5,{2,5}=dl,4:N,3:\,54~dl,|,?5,{2,4}=dl,5:N,
+ -2:\,54~dl,|,?5,2=d,5:N,-2:\~dl,54,|,?5,5=d,5:N,-2:\~dl,$5:#,
+ -1:@,24,/*COO!^15,72,//O,$1:#,=|,||,
{2,9,15,20~zf}:/_,8:/!,14:\,!!,
- 21:@,-6~wf,!2,//O,!,O,!2,!!,|,!13,{1,5,9,13}:/_,
+ 4:\`1.45,Mg,17:#,-1:@,11~vb:#,-1:@,23~vb:#,
+ 21:@,-6~wf,!2,//O,!,O,!2,!!,|,!13,{1,5,9,13}:/_
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -62,15 +61,16 @@
\end{mplibcode}
\begin{minipage}[b]{85mm}
\begin{verbatim}
-|<=1,?5,{2,5}=dl,4:N,3:\,54~dl,
+|=1,?5,{2,5}=dl,4:N,3:\,54~dl,
|,?5,{2,4}=dl,5:N,
--2:\,54~dl,|,?5,2=dl,5:N,
--2:\~dl,54,|,?5,5=dl,5:N,-2:\~dl,$5:#,
--1:@,24,/*COO!^15,72,//O,$1:#,>|,
-4:\`1.45,Mg,17:#,-1:@,11~vb:#,-1:@,23~vb:#,
-{2,9,15,20~zf}:/_,8:/!,14:\,!!,
-21:@,-6~wf,!2,//O,!,O,!2,!!,
-|,!13,{1,5,9,13}:/_,
+-2:\,54~dl,|,?5,2=d,5:N,-2:\~dl,54,
+|,?5,5=d,5:N,-2:\~dl,$5:#,
+-1:@,24,/*COO!^15,72,//O,$1:#,=|,||,
+ {2,9,15,20~zf}:/_,8:/!,14:\,!!,
+ 4:\`1.45,Mg,17:#,-1:@,11~vb:#,
+ -1:@,23~vb:#,
+ 21:@,-6~wf,!2,//O,!,O,!2,!!,
+|,!13,{1,5,9,13}:/_
\end{verbatim}
\end{minipage}
@@ -85,7 +85,7 @@ beginfont("EN:beta-Carotene","MW:536.888")
4:\,|,!18,{1,3,5,7,9,11,13,15,17}=dr,{3,7,12,16}:/_,
|,?6,6=dl,{6,2^35,2^-35}:/_
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -114,7 +114,7 @@ endfont
{4~wf^60,8~zf^60,18^35,18^-35}:/_,{1^60,5^180,16^60}:/*H,
14:\*,|,?5,{1,4}=dl,3:O
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -143,7 +143,7 @@ beginfont("NO:4","EN:Gibberellin A3","MW:346.37");
<18,?5,3=?7,5=?6[12],8:@,160`1.3,3:#,13=dl,6=wf,8=wb,
5:@,40~zf`1,O,60,//O^180,14~zb:#,
2:/COOH,7://_,13:*/OH,8:/*OH,14:*/_,{1,4}:*/H^60)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -171,7 +171,7 @@ beginfont("EN:Morphine","MW:285.343")
7:@,60~wf`0.75,70~si_`1.3,45,N,/_,9~wb:#,
15=d,6:/OH,8^180:*/H,12:/*OH
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -196,13 +196,13 @@ endfont
fsize:=(80mm,35mm);
beginfont("NO:5","EN:Erythromycin","MW:733.93");
MCat(0.8,0.5)(
- <30,|<=1,<-120,60,60,60,-60,60,60,-60,60,60,60,-60,60,60,>|,1:#,
+ <30,|=1,<-120,60,60,60,-60,60,60,-60,60,60,60,-60,60,60,=|,1:#,
14:O,13:/*Et,{1,9}://O,{2,10}:*/_,{4,6^-35,8,12^35}:/*_,
{6^35,11,12^-35}:*/OH,
$3:\*,O,30,|,?6`.7,2:O,{3,5^35}:/_,4:/OH,5^-35:/O!,
$5:\*^30`1.7,O,!,|,?6`.7,6:O,5:/_,2:/OH,3:/NMeMe
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -213,8 +213,8 @@ beginfont("NO:5","EN:Erythromycin","MW:733.93");
\end{mplibcode}
\begin{minipage}[b]{85mm}
\begin{verbatim}
-<30,|<=1,<-120,60,60,60,-60,60,
-60,-60,60,60,60,-60,60,60,>|,1:#,
+<30,|=1,<-120,60,60,60,-60,60,
+60,-60,60,60,60,-60,60,60,=|,1:#,
14:O,13:/*Et,{1,9}://O,{2,10}:*/_,
{4,6^-35,8,12^35}:/*_,
{6^35,11,12^-35}:*/OH,
@@ -230,12 +230,12 @@ $5:\*^30`1.7,O,!,|,?6`.7,6:O,
fsize:=(80mm,35mm);
beginfont("EN:Paclitaxel","MW:853.918")
MCat(0.8,0.5)(
- ?6,5=d,3:@,|<=1,36,45,45,45,45,>|,$5:#,-4=?6,-4=?4,||,-1=wb,-3=wf,-1:O,
+ ?6,5=d,3:@,|=1,36,45,45,45,45,=|,$5:#,-4=?6,-4=?4,||,-1=wb,-3=wf,-1:O,
{4^35,4^-35,6}:/_,{3^-60,15}:*/OH,8:/*H^-60,9:*/_^60,10://O,
$1:\,O,!,//O,!,*/OH,!,/Ph,60~wf,NH,-60,//O,60,Ph,
$7:\*,O,-45,//O,60,Ph,$11:*\,O,-60,//O,60,$12:\*^-15,O,60,//O,-60
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -246,7 +246,7 @@ endfont
\end{mplibcode}
\begin{minipage}[b]{85mm}
\begin{verbatim}
-?6,5=d,3:@,|<=1,36,45,45,45,45,>|,$5:#,
+?6,5=d,3:@,|=1,36,45,45,45,45,=|,$5:#,
-4=?6,-4=?4,||,-1=wb,-3=wf,-1:O,
{4^35,4^-35,6}:/_,{3^-60,15}:*/OH,
8:/*H^-60,9:*/_^60,10://O,
@@ -264,10 +264,10 @@ fsize:=(80mm,70mm);
beginfont("NO:6","EN:Vancomycin","MW:1449.25");
MCat(0.9,0)(
<30,
- |<=1,!12,{1,3,12}=zf,7=wf,/H^-60,60,*/OH,60,
+ |=1,!12,{1,3,12}=zf,7=wf,/H^-60,60,*/OH,60,
Ph,-4:/Cl,-3:\,O,!,Ph,-4:\,O,!,Ph,-1^15:/Cl,-3:\,/*OH,*/H^-60,$1:#,
$7:@,$26:#,$1:@,120,//O,60,NH,60,/*H,*/COOH^180,-60,
- Ph,{-2,-4}:/OH,-1:\,Ph,-5:/OH,-2:@,$4:#,>|,
+ Ph,{-2,-4}:/OH,-1:\,Ph,-5:/OH,-2:@,$4:#,=|,
{3^40,6,9,12}://O,{2,5,8,11}:NH,
{1^180,4^180}:*/H,{7^-60,10^60,14^60}:/*H,
$10:*\^-60,60,//O,!,NH2,
@@ -275,7 +275,7 @@ beginfont("NO:6","EN:Vancomycin","MW:1449.25");
$23:\,O,!,|,?6`.7,2:O,3^10:/!OH,{4,5}:/OH,
-1:\,O,!,|,?6`.7,6:O,{3^35,5}:/_,3^-35:/NH2,4:/OH
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,h-5mm));
@@ -286,13 +286,13 @@ endfont;
\end{mplibcode}
\begin{minipage}[b]{85mm}
\begin{verbatim}
-<30,|<=1,!12,{1,3,12}=zf,7=wf,
+<30,|=1,!12,{1,3,12}=zf,7=wf,
/H^-60,60,*/OH,60,Ph,-4:/Cl,
-3:\,O,!,Ph,-4:\,O,!,Ph,-1^15:/Cl,
-3:\,/*OH,*/H^-60,$1:#,
$7:@,$26:#,$1:@,120,//O,60,NH,60,
/*H,*/COOH^180,-60,
-Ph,{-2,-4}:/OH,-1:\,Ph,-5:/OH,-2:@,$4:#,>|,
+Ph,{-2,-4}:/OH,-1:\,Ph,-5:/OH,-2:@,$4:#,=|,
{3^40,6,9,12}://O,{2,5,8,11}:NH,
{1^180,4^180}:*/H,
{7^-60,10^60,14^60}:/*H,
@@ -326,7 +326,7 @@ $23:\,O,!,|,?6`.7,2:O,3^10:/!OH,{4,5}:/OH,
$36:@,-45~zf,O,30,SOO,30,"O{Na}",
$150:\,|,!7,{1,2}:/*OH,4:*/_,5:/*_,7=dl
)
- EXT(
+ ext(
label.lrt("("&inf_EN&")",(0,.8h));
defaultscale:=0.8;
label.lrt("FM(C): "&cal_FM,(0,.8h-5mm));
@@ -371,7 +371,7 @@ MCat(0, 0.05)(<30,O[-1],!0,//O,!3,//O,!,O[-1])
MCat(0, 0.55)(<30,O[-1],!0,//O,!,!~dr,!,//O,!,O[-1])
MCat(0, 1)(<30,O[-1],!0,//O,!3,//O,!,O[-1],3:/OH)
%-------------------------------------------------------------------------
-EXT(
+ext(
defaultfont:="uhvr8r";
defaultscale:=0.75;
ext_setup;
@@ -429,7 +429,7 @@ MCat(0.33,0.05)(<30,O[-1],!0,//O,!3,//O,!,"{S-CoA}")
MCat(0, 0.05)(<30,O[-1],!0,//O,!3,//O,!,O[-1])
MCat(0, 0.55)(<30,O[-1],!0,//O,!,!~dr,!,//O,!,O[-1])
MCat(0, 1)(<30,O[-1],!0,//O,!3,//O,!,O[-1],3:/OH)
-EXT(
+ext(
defaultfont:="uhvr8r";
defaultscale:=0.75;
ext_setup;