Re: Avoiding Word Wrapping:Re: Re: simplex tableau help wanted
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg929] Re: Avoiding Word Wrapping:Re: [mg855] Re: simplex tableau help wanted
- From: hay at haystack.demon.co.uk
- Date: Wed, 3 May 1995 00:08:14 -0400
Paul Rubin mg[855] asked about avoiding word wrapping in ouput and
printing.
Here is one way of doing this.
oldpw = Options[$Output,PageWidth][[1]];
(*save old value: got from width of current window*)
SetOptions[$Output, PageWidth -> 200];
Table[Random[],{3},{15}]//TableForm
Print[%];
SetOptions[$Output, PageWidth -> oldpw];
(*restore old value*)
I delete the output for obvious reasons.
Allan Hayes
hay at haystack.demon.co.uk