blob: fcbacc1ec8789f7675dafdee45e74d2a4ab03f40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Example of MCF typeset by LaTeX mcf_examples.tex by A.Yamaji 2020.08.10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
\usepackage{graphicx}
%---------------------
\usepackage{mcf_setup}
%---------------------
\pagestyle{empty}
\topmargin=-20mm
\oddsidemargin=-12mm
\textwidth=190mm
\textheight=280mm
\parindent=0mm
\setlength\columnsep{8mm}
%-------------------------------------------------------------------------------
\makeatletter%
\newbox \@stringbox%
\newcount \fontnum%
\newcount \tnum%
\tnum=0%
\font\labelM=cmtt8 at 6pt\relax%
%-------------------------------------------------------------------------------
\newif\ifCONT@%
\newread\@auxf%
%------------------------------------------------------------------------
\fontnum=1%
\unitlength=0.01mm%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{center}
{\Huge\sf Molecular Coding Format examples}\vspace{5mm}\\
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}\\
%------------------------------------------------------------------------
\noindent%
\openin\@auxf=mcf_exa_soc-info.aux%
\CONT@true%
\loop%
\read\@auxf to \@info%
\ifeof\@auxf\CONT@false\else\@sfor\@info{\tag@var\@list}%
%------------------------------------------------------------
\begin{picture}(3750,3300)%
\put(20,3000){\footnotesize\bf \the\fontnum:\EN}%
\put(20,2750){\labelM MW:\mw { / }FM:\fm}%
\put(20,2530){\labelM MW:\MW(data)}%
\put( 0,0){%
\makebox(3750,2530){%
\font\@strufont=\File\relax\hbox{\@strufont\char\Char}%
}%
}%
\end{picture}%
%------------------------------------------------------------
\advance\fontnum1\relax%
\advance\tnum1\relax%
\ifnum\tnum=5 \\ \tnum=0 \fi%
\fi%
\ifCONT@ \repeat%
\closein\@auxf%
%------------------------------------------------------------------------
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|