I think you would need to pre-process an entire text string
using extended macro functions, especially -piece-.
Justification is often best done by using -place()-
as a suboption in my experience.
Nick
[email protected]
Venable
> Is it possible to automate the wrapping of text in Stata graphics? I
> am familiar with the trick of breaking blocks of text up manually
> using separate double-quotes, e.g.
> note("Comment #1" "Comment #2", span)
> will put Comment 1 on the first line and comment 2 on a second line.
>
> However, I often include macros in my notes, e.g.
> note("Notes: Sample: `sample_note'; Years: `sample_years_note';
> Regression weighted by `weights_note'", span)
> so the length of individual lines will vary, which can lead to poor
> results from the above manual technique.
>
> (Along the same lines, is it possible to justify text at the left and
> right margins?)
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/