Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Sat, 28 Mar 2009, Wolfgang Schuster wrote: Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan umich.edu> writes: > Here is a simplified picture. Basically, anything inside btex ... etex (or > textext(...) or \sometxt{...}) is in what is known as TeX's horizontal > mode. Think of this as what you will get if you put the same argument in a > \hbox (see the TeXbook or TeX

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Wolfgang Schuster
Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use streams and local footnotes. Wolfgang __

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Sat, 28 Mar 2009, CuriousLearn wrote: Aditya Mahajan umich.edu> writes: Any ideas why it may not be working for me? Because I did not test before posting :) Try \framed[align=normal, width=5cm, frame=no]{} Aditya Awesome! That works great. Before asking I tried searching a lot

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan umich.edu> writes: > > > > Any ideas why it may not be working for me? > > Because I did not test before posting :) > > Try \framed[align=normal, width=5cm, frame=no]{} > > Aditya Awesome! That works great. Before asking I tried searching a lot in metafun manual and on the

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Aditya Mahajan umich.edu> writes: For example, suppose I have label.rt(textext("Do you see this label text. Quite long. Need to break it across lines"),(3,5)); label.rt(textext("\framed[frame=no,width=5cm]{}", (3,5)) ; Aditya Thanks Aditya.

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan umich.edu> writes: > > For example, suppose I have > > > > label.rt(textext("Do you see this label text. Quite long. Need to break it > > across lines"),(3,5)); > > label.rt(textext("\framed[frame=no,width=5cm]{}", (3,5)) ; > > Aditya > Thanks Aditya. Sorry but that does n

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext("Do you see this label text. Quite long. Need to break it across lines"),(3,5)); label.rt(textext("\framed[frame=no,width=5cm]{}", (3,5)) ; A

[NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext("Do you see this label text. Quite long. Need to break it across lines"),(3,5)); Can I have it appear in the figure as Do you see this label text. Quite long. Need to break it across line