[NTG-context] MetaPost, specifiy max width of a text?

2015-03-18 Thread Norbert Melzer
Hi there! Is there a way to specify the with of a text so that the text gets wrapped? Something simalar to the following TikZ-Example (wrapped in ConTeXt): ```tex \usemodule[tikz] \starttext \starttikzpicture \draw (0, 0) node[text width=2.5cm,align=center] {Start new Game};

Re: [NTG-context] MetaPost, specifiy max width of a text?

2015-03-18 Thread Hans Hagen
On 3/18/2015 8:25 AM, Norbert Melzer wrote: Hi there! Is there a way to specify the with of a text so that the text gets wrapped? Something simalar to the following TikZ-Example (wrapped in ConTeXt): ```tex \usemodule[tikz] \starttext \starttikzpicture \draw (0, 0) node[text

Re: [NTG-context] MetaPost, specifiy max width of a text?

2015-03-18 Thread Alan BRASLAU
On Wed, 18 Mar 2015 08:25:50 +0100 Norbert Melzer timmel...@gmail.com wrote: \starttext   \startMPcode     draw Start new Game infont defaultfont scaled defaultscale;   \stopMPcode \stoptext draw textext(\framed[frame=off,width=2.5cm,align=middle]{Start new Game}); Alan