Thanks. That solves the problem. I obviously missed the fact that textext is an \hbox, a fact that explains its behaviour. Hans van der Meer On 15 dec. 2011, at 16:06, Aditya Mahajan wrote:
On Thu, 15 Dec 2011, Hans van der Meer wrote:
Is it correct that the use of textext(label,pos) in MetApost pictures does not honor \crlf? I could not make a twoline text with textext("abc\crlf xyz",pos), it comes out as one line "abcxyz". Is it a feature or a defect?
textext("...") is a hbox. So you need to either use
textext("\vbox{... \crlf ...}")
or
textext("\noexpand\framed[align=normal]{... \crlf ...}")
Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________