From 097e1f68bc15db06fd3a6e2c46d304620655d8cb Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 5 Jan 2012 19:27:20 +0100 Subject: beta 2011.11.08 15:20 --- metapost/context/base/mp-chem.mpiv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'metapost') 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 ; -- cgit v1.2.3