Hi, 1. In the following code, the color is not included in the \startframedtext \stopframedtext environment 2. How can the height of the red square adapts to the height of the text ? 3. Can we improve the code ? Best regards, Fabrice \setupcolors[state=start] \definecolor[mycolor][c=0.00, m=0.10, y=0.20, k=0.00] \defineenumeration [definition] [text={\blue DÉFINITION : }, headstyle={\bf\feature[+][f:smallcaps]}, headcommand={ \startMPcode u:=0.3cm; filldraw (0,0)--(1u,0)--(1u,1u)--(0,1u)--cycle withcolor red ; \stopMPcode}, width=fit, alternative=top, title=yes, titleright=, titleleft=, before={\startframedtext[width=\textwidth,frame=off,background=color,backgroundcolor=\MPcolor{mycolor}]}, after={\stopframedtext}] \starttext \startdefinition{\red Expérience aléatoire} Une {\bf expérience aléatoire} est une expérience renouvelable dont les résultats possibles sont connus sans qu'on puisse déterminer lequel sera réalisé. \stopdefinition \stoptext