答案1
变量是rbox_radius
。
以 MetaFun 为例(抱歉,我从来不使用普通的 MetaPost)。
\startMPinclusions
input rboxes;
\stopMPinclusions
\startMPpage
interim rbox_radius := 2bp; % default 8bp
rboxit.box1(btex hello world etex);
box1.dx=3mm; box1.dy=2mm;
box1.c=(8.8cm,4.5cm);
drawboxed(box1);
\stopMPpage
答案2
同样适用于lualatex
\documentclass{article}
\usepackage{luamplib}
\everymplib{input rboxes; beginfig(1);}
\everyendmplib{endfig;}
\begin{document}
\begin{mplibcode}
rbox_radius := 2bp;
rboxit.box1(btex hello world etex);
box1.dx=3mm; box1.dy=2mm;
box1.c=(8.8cm,4.5cm);
drawboxed(box1);
\end{mplibcode}
\end{document}