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

Norbert Melzer timmelzer at gmail.com
Wed Mar 18 08:25:50 CET 2015


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};
  \stoptikzpicture

  \startMPcode
    draw "Start new Game" infont defaultfont scaled defaultscale;
  \stopMPcode
\stoptext
```

TIA
Norbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150318/cd7eb160/attachment.html>


More information about the ntg-context mailing list