Fabrice Couvreur schrieb am 20.04.2020 um 11:00:
Hi Wolfgang, Thank you very much ; as usual your explanations are always clear and your approach to the problem intelligent and original. I would however like to know the way in which we can use the command \frameletter except for the rounded corners with outlinetext. For example, this doesn't work.
\startMPcode
draw outlinetext.f ("\frameletter{A}") (withcolor darkred withpen pencircle scaled 1/10) rotated 5 xsized 2cm ;
\stopMPcode
Take a look at the log-file and you should see a line like this: %%%% begin error message tex error > tex error on line 8 in file ./test.tex: ! Undefined control sequence <argument> \par draw outlinetext.f ("\frameletter %%%% end error message As the error message tells you the command \frameletter doesn't exist, you can fix this with \defineframed[frameletter] %%%% begin example \defineframed [frameletter] \starttext \startMPcode draw outlinetext.f ("\frameletter{A}") (withcolor darkred withpen pencircle scaled 1/10) rotated 5 xsized 2cm ; \stopMPcode \stoptext %%%% end example Wolfgang