Re: Converting result to ASCII-art
- To: mathgroup at smc.vnet.net
- Subject: [mg57026] Re: [mg56925] Converting result to ASCII-art
- From: yehuda ben-shimol <bsyehuda at gmail.com>
- Date: Thu, 12 May 2005 03:53:07 -0400 (EDT)
- References: <200505100742.DAA08356@smc.vnet.net>
- Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
Duid you tryTeXForm[]? also printing into a postscript file can later be converted to a pdf file, quite easily. The following is a TexForm output of the required result. you may send it and the other side copy it into a latex file. There is no line wrapping of any kind here __________________________________________________________ \left\{-\frac{b}{4 a}-\frac{1}{2} \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}-\frac{1}{2} \sqrt{\frac{b^2}{2 a^2}-\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}-\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}-\frac{-\frac{b^3}{a^3}-\frac{8 c}{a}}{4 \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}}},-\frac{b}{4 a}-\frac{1}{2} \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}+\frac{1}{2} \sqrt{\frac{b^2}{2 a^2}-\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}-\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}-\frac{-\frac{b^3}{a^3}-\frac{8 c}{a}}{4 \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}}},-\frac{b}{4 a}+\frac{1}{2} \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}-\frac{1}{2} \sqrt{\frac{b^2}{2 a^2}-\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}-\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}+\frac{-\frac{b^3}{a^3}-\frac{8 c}{a}}{4 \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}}},-\frac{b}{4 a}+\frac{1}{2} \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}+\frac{1}{2} \sqrt{\frac{b^2}{2 a^2}-\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}-\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}+\frac{-\frac{b^3}{a^3}-\frac{8 c}{a}}{4 \sqrt{\frac{b^2}{4 a^2}+\frac{\sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}{3 \sqrt[3]{2} a}+\frac{\sqrt[3]{2} (4 a d-b c)}{a \sqrt[3]{27 d b^2+27 a c^2+\sqrt{\left(27 d b^2+27 a c^2\right)^2-4 (12 a d-3 b c)^3}}}}}}\right\} ___________________________________________________________________ yehuda yehuda On 5/10/05, DJ Craig <spit at djtricities.com> wrote: > When running MathKernel from command line in OS X, it shows expressions > kind of like ASCII-art. I have a very long equation that I need to > convert to ASCII, but when doing this the way I normally do, using > Terminal and copying and pasting, it comes out looking like a mess, > because it does too much line wrapping. What I am trying to display is > the result of: > Solve[a x^4+b x^3+c x+d==0,x] > I've tried displaying this in command line with and without MatrixForm. > Is there some other form that I should try? > What I really need is some way that I can send this result to someone > (who doesn't have Mathematica, MathReader, or any type of MathML > reader), so that they can copy and paste out of it. A PDF would be > fine, but when I use Print to create a PDF, the PDF that it creates > can't be read by either Preview or Acrobat. > >
- References:
- Converting result to ASCII-art
- From: "DJ Craig" <spit@djtricities.com>
- Converting result to ASCII-art