From 0d300509bdd7497fd376844b2326f5917636590e Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 2 Mar 2021 20:22:41 +0100 Subject: 2021-03-02 19:20:00 --- metapost/context/base/mpxl/mp-luas.mpxl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'metapost') diff --git a/metapost/context/base/mpxl/mp-luas.mpxl b/metapost/context/base/mpxl/mp-luas.mpxl index 9d013a790..b98305bba 100644 --- a/metapost/context/base/mpxl/mp-luas.mpxl +++ b/metapost/context/base/mpxl/mp-luas.mpxl @@ -307,3 +307,13 @@ def showproperty = runscript mfid_showproperty enddef ; def showhashentry = runscript mfid_showhashentry enddef ; permanent showproperty, showhashentry ; + +newscriptindex mfid_textextanchor ; mfid_textextanchor := scriptindex("textextanchor") ; + +def textextanchor = runscript mfid_textextanchor enddef ; + +vardef textextanchor(expr p) = + runscript mfid_textextanchor (prescriptpart p) +enddef ; + +permanent textextanchor ; -- cgit v1.2.3