summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-05 21:34:03 +0000
committerKarl Berry <karl@freefriends.org>2016-11-05 21:34:03 +0000
commit23cd3d2a1aef72188cdf81d605085fd1b9554594 (patch)
tree597f800990046a5f2197bdfbec5e30199cbe163e /Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
parent7d093de2b0b0e71f14058e72670e0686d8d12e93 (diff)
mcf2graph (5nov16)
git-svn-id: svn://tug.org/texlive/trunk@42442 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex28
1 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
index 9629c6e4744..04ee963c93e 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Molecular Coding Format manual by Akira Yamaji 2016.11.03
+% Molecular Coding Format manual by Akira Yamaji 2016.11.05
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
%%%%\usepackage{graphicx}
@@ -712,13 +712,15 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\
\subsubsection{Clipping mode}
\begin{verbatim}
sw_clip:=0;
- MCf(<30,Ph,4:/Cl,3:/F)
+ MCd(1,0.7)(0.2,0.3)(Ph)
+ MCd(1,0.7)(0.8,0.7)(Ph)
** default: sw_clip=0
\end{verbatim}
\MCFstructure
\begin{verbatim}
sw_clip:=1;
- MCf(<30,Ph,4:/Cl,3:/F)
+ MCd(1,0.7)(0.2,0.3)(Ph)
+ MCd(1,0.7)(0.8,0.7)(Ph)
\end{verbatim}
\MCFstructure
%-----------------------------------------------------------------------------
@@ -748,7 +750,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\
\MCFstructure
%-----------------------------------------
\begin{verbatim}
- (solid bond length,clipping)
+ (solid bond length and clip)
sw_solid:=2;
sw_clip:=1;
bond_len#=10mm#
@@ -853,8 +855,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\
\newpage
\subsection{Function EXT()}
\begin{verbatim}
- (Extra graphic to font)
-
+(Extra graphic to font)
w: font width
h: font height
wd: font width-margin_left_right*2
@@ -867,13 +868,14 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\
beginfont()
sw_mol_frame:=1;
- MCd(1,1)(0,0.5)(<30,Ph,2:/OH,5:/OH)
- MCd(1,1)(1,0.5)
+ MCd(1,0.8)(0.1,0.5)(<30,Ph,2:/OH,5:/OH)
+ MCd(1,0.8)(0.9,0.5)
(<30,?6,$(3,6)dl,@(2,5)//O)
EXT(
- draw ((0,0)--(26mm,0)--(22mm,2mm))
+ draw ((0,0)--(25mm,0)--(21mm,2mm))
shifted (0.3w,0.5h);
- drawdot p1 withpen pencircle scaled 2mm;
+ drawdot p0 withpen pencircle scaled 2mm;
+ drawdot p1 withpen pensquare scaled 2mm;
drawdot p2 withpen pensquare scaled 2mm;
)
endfont
@@ -882,8 +884,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\
%-----------------------------------------------------------------------------
\subsection{Function ext()}
\begin{verbatim}
- (Extra graphic to molecule)
-
+(Extra graphic to molecule)
wd: molecular width
ht: molecular height
p0: origin of molecular structure
@@ -892,8 +893,7 @@ pk font,PNG,SVG,EPS or MDL MOL file(V2000).\\
p[m]: atom position of A[m]
a[m]: branch angle of A[m]
(1<=m<=atom count)
- draw_vector(pos,ang,len) :
- pos:position ang:angle len:length
+ draw_vector(position,angle,length)
beginfont()
MCf(<30,Ph,3:/F,4:/Cl)