Hello, is it possible to create multiline text only with \crlf, \par etc. inside a MP block?
The following example treats \par (or \crlf resp.) as a space (or skips it
completely), so is there another trick?
----
\setMPtext{Text}{TEXT\par UUU}
\startuseMPgraphic{Test}
fill fullsquare xyscaled(10cm, 5cm) withcolor red;
label(btex AAA aaa etex, (0, 1cm));
label(btex BBB \crlf bbb etex, (0, 0cm));
label(btex CCC \par ccc etex, (0, -1cm));
label(\MPbetex{Text}, (0, -2cm));
\stopuseMPgraphic
\starttext
\useMPgraphic{Test}
\stoptext
----
Or - if multiline text is wanted - each line of the text must be placed
separately by MP code?
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:[email protected]]
Pontex s. r. o. [mailto:[email protected]] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
Test.mkiv
Description: Binary data
Test.pdf
Description: Adobe PDF document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
