summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-01-05 20:57:40 +0000
committerKarl Berry <karl@freefriends.org>2025-01-05 20:57:40 +0000
commit79b8341c125aa332597f45fedb0abc3b3005683e (patch)
treef87bf0ce2714caebfed6ab3c7943beac65509d1f /Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
parentf292cfc08d44cd85e96748250cdb321eb4928f3e (diff)
mcf2graph (5jan25)
git-svn-id: svn://tug.org/texlive/trunk@73324 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
index 9eda6a3192a..fca1224028e 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Example of MCF Typeset with LuaLaTeX(luamplib) by A.Yamaji 2024.12.01
+% Example of MCF Typeset with LuaLaTeX(luamplib) by A.Yamaji 2025.01.05
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% ** mcf2graph.mf must be version 5.15
+% ** mcf2graph.mf must be version 5.16
% ** use mcf_library.mcf
% ** typeset by LuaLaTeX(luamplib)
%-------------------------------------------------------------------------
@@ -12,10 +12,10 @@
\mplibnumbersystem{double}
\mpliblegacybehavior{disabled}
%-------------------------------------------------------------------------
-\pagestyle{empty}
-\topmargin=-24mm
+\pagestyle{headings}
+\topmargin=-22mm
\oddsidemargin=-12mm
-\textwidth=192mm
+\textwidth=190mm
\textheight=280mm
\parindent=0mm
\newcount\headeroff
@@ -29,7 +29,7 @@
Author : Akira Yamaji \quad Date : \today \\
Located at : http://www.ctan.org/pkg/mcf2graph
\end{center}
-{\small *use 'mcf2grapf.mp' ver 5.14 \quad
+{\small *use 'mcf2grapf.mp' ver 5.16 \quad
*typeset with LuaLaTeX \quad
*use molecular library file 'main\_lib.mcf' \\
** FM(fm):molecular formula (calculated) \quad
@@ -52,7 +52,6 @@
%-------------------------------------------------------------------------
\begin{mplibcode}
input mcf2graph;
- sw_output:=Fig+Calc;
fsize:=(35mm,24mm);
max_blength:=4mm;
loadm("EXA=1");
@@ -61,7 +60,7 @@
\loop%
\advance\fig@num\@ne\relax%
\advance\col@num\@ne\relax%
-\ifnum\fig@num=276 \CONT@false%
+\ifnum\fig@num=516 \CONT@false%
\else%
\sbox{\fig@box}{%
\begin{mplibcode}
@@ -94,7 +93,7 @@
\begin{mplibcode}
loadm("EXA=2");
fig_num:=0;
- fsize:=(50mm,34mm);
+ fsize:=(50mm,33mm);
fmargin:=(4mm,4mm);
max_blength:=4mm;
row_h:=3.8mm;
@@ -114,7 +113,7 @@
\fig@num=0%
\loop%
\advance\fig@num\@ne\relax%
-\ifnum\fig@num=25 \CONT@false%
+\ifnum\fig@num=41 \CONT@false%
\else%
\begin{mplibcode}%
beginfigm
@@ -148,7 +147,7 @@
VerbatimTeX("\gdef\EN{"&EN&"}");
fi
endfigm
-\end{mplibcode}\vspace{-1.2pt}\\
+\end{mplibcode}\vspace{-1.5pt}\\
%------------------------------------------------------------------------
\fi%
\message{[\the\fig@num:\EN]}%