summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex
index 90096a0f34a..b7d3807fe64 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_code.tex
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Print out mcf data list (LuaLaTeX) by A.Yamaji 2022.03.13
+% Print out mcf data list by A.Yamaji 2022.03.27
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% ** mcf2graph.mf must be version 4.82
+% ** mcf2graph.mf must be version 4.83
% ** use mcf_library.mcf
% ** typeset by LuaLaTeX(luamplib)
\documentclass{article}
@@ -19,14 +19,14 @@
fsize:=(35mm,34mm);
max_blength:=4mm;
row_h:=3.8mm;
+ header_h:=3.8mm;
def make_frame=
draw (0,0)--(185mm,0)--(185mm,h)--(0,h)--cycle wpcs thickness_frame;
- draw (w,h-row_h)--(185mm,h-row_h) wpcs thickness_frame;
+ draw (w,h-header_h)--(185mm,h-header_h) wpcs thickness_frame;
draw (w,h)--(w,0) wpcs thickness_frame;
- draw ( 75mm,h)--( 75mm,h-row_h) wpcs thickness_frame;
- draw (105mm,h)--(105mm,h-row_h) wpcs thickness_frame;
- draw (130mm,h)--(130mm,h-row_h) wpcs thickness_frame;
- draw (155mm,h)--(155mm,h-row_h) wpcs thickness_frame;
+ for col_w=75mm,105mm,130mm,155mm:
+ draw (col_w,h)--(col_w,h-header_h) wpcs thickness_frame;
+ endfor
enddef;
fi
}%
@@ -48,7 +48,7 @@
\noindent%
\begin{mplibcode}
beginfigm(":<0,0~nb")
- if check(mc)=0:
+ if mc_check(mc)=0:
MC(scantokens(mc))
ext(
defaultfont:="cmtt9";
@@ -78,15 +78,15 @@
%%%%%% beginfigm("t:EXA","v+:*")
%%%%%% beginfigm("t:EXA","v+:1")
beginfigm("t:EXA","v+:2")
- if check(mc)=0:
+ if mc_check(mc)=0:
MC(scantokens(mc))
ext(
defaultfont:="cmtt9";
label.lrt("["&decimal(fig_num)&"]",(0,h));
label.llft(inf_EXA,(w,h));
if length(inf_EN)>23:
- nA:=defaultscale; defaultscale:=23/length(inf_EN);
- label.lrt(inf_EN, (w,h));
+ nA:=defaultscale;
+ defaultscale:=23/length(inf_EN); label.lrt(inf_EN, (w,h));
defaultscale:=nA;
else:
label.lrt(inf_EN, (w,h));