summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-11-08 16:20:15 +0200
committerMarius <mariausol@gmail.com>2011-11-08 16:20:15 +0200
commit40471dd95ca8782212c5d63ee5f2085b105ed7e8 (patch)
tree5fed44546f9fff4ea69168cf16e839b9d7c83e6c /metapost
parente39e55fe08653b79084655b91e468940b9495a59 (diff)
downloadcontext-40471dd95ca8782212c5d63ee5f2085b105ed7e8.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 ;