From 40471dd95ca8782212c5d63ee5f2085b105ed7e8 Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 8 Nov 2011 16:20:15 +0200 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