Re: Outputting MatrixForm to Word
- To: mathgroup at smc.vnet.net
- Subject: [mg60628] Re: Outputting MatrixForm to Word
- From: Mike <m.HoneychurcNOSPAMh at uq.edu.au>
- Date: Thu, 22 Sep 2005 05:42:15 -0400 (EDT)
- Organization: University of Queensland
- References: <200509180515.BAA02255@smc.vnet.net> <dgm0d0$nov$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On 19/9/05 7:29 PM, in article dgm0d0$nov$1 at smc.vnet.net, "Chris Chiasson" <chris.chiasson at gmail.com> wrote: > *There is a convoluted way that involves conversion to LaTeX and then > to RTF and then to Word. I don't know if it works for matrices. It does. http://library.wolfram.com/infocenter/MathSource/5698/ However if you only want to convert a single MatrixForm cell as opposed to an entire notebook then a more direct way is this: [In1]:= ls = DiagonalMatrix[{a, b, c, d}]; [In2]:= ls2 = MatrixForm[ls] Then [In3]:= Display["!latex2rtf -o ls2.rtf", ls2, "TEX"] This assumes that you have latex2rtf installed. The switch "-o" is for naming of the output file, in this case ls2.rtf. When you open ls2.rtf you will notice that the matrixform is a field. You can double click this and it will open the MS Word equation editor and you will need to do this (opening and then closing the equation editor) to get it to display correctly. Mike > *On the other hand, you could buy that high end equation writing > package for Word. I hear it supports MathML input (which Mathematica > can easily export). This would probably be the best option, especially > if everyone that looks at the document doesn't have the same version > of Word. > *Another method might be to convert the elements of your matrix to > text form and then apply bold, italics, etc. within Mathematica > itself. > *If you really wanted the document to be portable, you could write it > in DocBook and embed the MathML. > > Is this for work? How do they *expect* you to do this? > > On 9/18/05, Steve Gray <stevebg at adelphia.net> wrote: >> I have some matrices of modest width (they fit across the screen >> easily) whose numeric >> contents I want to copy into MS Word so I can reformat them by hand >> (underlines, italics, etc., >> selectively). Everything I have tried results in Word seeing a picture >> instead of text. I cxan make >> true text by changing the cell to InputForm, which loses the nice columnar >> layout. I need to keep >> the data in the MatrixForm layout. Can I do this without recoding my output? >> Thanks for any tips. >> >> Steve Gray >> >> >
- References:
- Outputting MatrixForm to Word
- From: Steve Gray <stevebg@adelphia.net>
- Outputting MatrixForm to Word