summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-05 19:27:20 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-05 19:27:20 +0100
commit097e1f68bc15db06fd3a6e2c46d304620655d8cb (patch)
tree1e49494343010007bd94e3677be8990f6c40a32f /metapost
parent9a299c9ae21ca06170dda2ed6f079bd703216c5a (diff)
downloadcontext-097e1f68bc15db06fd3a6e2c46d304620655d8cb.tar.gz
beta 2011.11.08 15:20
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-chem.mpiv4
1 files changed, 2 insertions, 2 deletions
diff --git a/metapost/context/base/mp-chem.mpiv b/metapost/context/base/mp-chem.mpiv
index 0432a7e88..04fec713b 100644
--- a/metapost/context/base/mp-chem.mpiv
+++ b/metapost/context/base/mp-chem.mpiv
@@ -522,8 +522,8 @@ vardef chem_text@#(expr txt, z) = % adapted copy of thelabel@
save p ; picture p ;
p := textext(txt) ;
p := p
- if (labtype@# >= 10) : shifted (0,ypart center p) fi
- shifted (z + chem_text_offset*laboff@# - (labxf@#*lrcorner p + labyf@#*ulcorner p + (1-labxf@#-labyf@#)*llcorner p)) ;
+ if (mfun_labtype@# >= 10) : shifted (0,ypart center p) fi
+ shifted (z + chem_text_offset*mfun_laboff@# - (mfun_labxf@#*lrcorner p + mfun_labyf@#*ulcorner p + (1-mfun_labxf@#-mfun_labyf@#)*llcorner p)) ;
if chem_text_trace :
draw z withpen pencircle scaled 2pt withcolor red ;
draw boundingbox p withpen pencircle scaled 1pt withcolor red ;