summaryrefslogtreecommitdiff
path: root/graphics/mcf2graph/mcf_example.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-05 03:00:44 +0000
committerNorbert Preining <norbert@preining.info>2021-04-05 03:00:44 +0000
commitf0b3901f183621b9000493d3ec263c69ac868156 (patch)
tree307f40bdcc97503979fc6bfa9c14726ffb277abb /graphics/mcf2graph/mcf_example.tex
parent6c7f24a5336de85c7db50c5037772288964c607b (diff)
CTAN sync 202104050300
Diffstat (limited to 'graphics/mcf2graph/mcf_example.tex')
-rw-r--r--graphics/mcf2graph/mcf_example.tex19
1 files changed, 5 insertions, 14 deletions
diff --git a/graphics/mcf2graph/mcf_example.tex b/graphics/mcf2graph/mcf_example.tex
index bd8347527a..5d1dfa40e2 100644
--- a/graphics/mcf2graph/mcf_example.tex
+++ b/graphics/mcf2graph/mcf_example.tex
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Example of MCF typeset by LaTeX mcf_examples.tex by A.Yamaji 2021.03.21
+% Example of MCF typeset by LaTeX mcf_examples.tex by A.Yamaji 2021.04.04
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
\usepackage{graphicx}
@@ -8,14 +8,7 @@
\edef\jobname{mcf_exa_soc}%
\usepackage{mcf_setup}
%--------------------------------
-%%%%\pdfpkresolution=1200
-%--------------------------------
-\edef\f@ext{pk}% **** for proof print (fast)
-%%%%\edef\f@ext{mps}% **** for final print (it takes long time)
-%--------------------------------
-%%%%\edef\fext{png}%
-%%%%\edef\fext{svg}%
-%%%%\edef\fext{eps}%
+\edef\f@ext{mps}%
%--------------------------------
\pagestyle{empty}
\topmargin=-24mm
@@ -43,8 +36,8 @@
Author : Akira Yamaji \quad Date : \today \\
Located at : http://www.ctan.org/pkg/mcf2graph \vspace{3mm} \\
\end{center}
-{\small ** FM:Molecular formula calculated by mcf2graph \quad
- ** MW:Molecular weight calculated by mcf2graph} \vspace{3mm} \\
+{\small ** use molecular data base file 'mcf\_data\_base.mcf'
+ \vspace{3mm} \\
%------------------------------------------------------------------------
\noindent%
\openin\@auxf=\jobname-info.aux%
@@ -62,9 +55,7 @@
\ifx\f@ext\@pk{\font\@font=\jobname\@font\char\f@num}%
\else%
\edef\f@file{\jobname-\z@num\f@num.\f@ext}%
- \setbox\f@box=\hbox{\font\@font=\jobname\@font\char\f@num}%
- \includegraphics[width=\wd\f@box,height=\ht\f@box]{\f@file}%
-%%%% \includegraphics{\f@file}%
+ \includegraphics{\f@file}%
\fi%
}%
}%