Re: Multiline Text[ ] in figures: How to change alignmenty (justification)?
- To: mathgroup at smc.vnet.net
- Subject: [mg37764] Re: Multiline Text[ ] in figures: How to change alignmenty (justification)?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 12 Nov 2002 03:13:15 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <aqo0qo$fqr$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, you have a single block of text and the block if lines is not broken into single lines. If you wish to justify every line you have to break the string into it's lines and Plot[x^2, {x, 0, 2}, Epilog -> (MapIndexed[ Text[#1, {1, 3 - 0.25First[#2]}, {0, 0}] &, {"pure", "gain", "guiding"}])] may work. Regards Jens AES Newspost wrote: > > The use of "\n" is a handy way to get line breaks in text strings, as in > > Epilog->{Text["pure\ngain\nguiding", {4, 5}, {-1,-1}] > > to get > > pure > gain > guiding > > Is there a way to change the alignment of the text box from Left justify > to Center or Right justify? > > Thanks . . . > > ----- > "Power tends to corrupt. Absolute power corrupts absolutely." > Lord Acton (1834-1902) (slightly modified) > "Dependence on advertising tends to corrupt. Total dependence > on advertising corrupts totally." -- Modern equivalent.