When I open a
.docx file containing Mathematica graphs on a computer without Mathematica software installed, the graphs look corrupted. For example,
FrameLabel looks differently. How can I keep these graphs looking as they were originally on a computer without Mathematica?
When I open a
You create metafiles every time when you copy graphics from Mathematica FrontEnd and paste it in MS Word because it is native format for exchanging vector graphics under Windows. So your question is actually about corrupted metafiles in MS Word document opened on a machine without Mathematica fonts installed. This behavior is expected because unlike PDF and EPS formats metafiles do not allow font embedding.
In the case when you cannot simply install Mathematica fonts on another machine you can preliminarily convert all the glyphs to outlines in Mathematica before exporting. The simplest way is to apply the following function to the whole graph:
With this approach you will need to scale up your graphics in order to achieve good quality of the outlined text. Another drawback is that with the above very basic implementation all the glyphs will be outlined, not only the glyphs from Mathematica fonts.
I also strongly recommend against usage of the clipboard for transferring graphics on Windows, the reasons are explained in this answer of mine:
If your problem is just
Another alternative is to insert in the Word document not a metafile (which you do by default by selecting graphics in the FrontEnd, copying and pasting in MS Word) but an EPS vector image with Mathematica fonts embedded in it. It is more difficult because both Mathematica's EPS export and MS Office EPS Import filter are rudimentary in an incompatible way and you will need to
If you are concerned mainly with the on-screen appearance or the above methods give unsatisfactory results you always can revert to the good old raster image format as described in the other answer. Here is a modification of that palette which copies graphics with target width of 1000 pixels:
Note however that due to abundance of bugs and shortcomings in the current implementation of Mathematica's graphical functionality sometimes increasing resolution results in significant changes in the appearance of graphics (see this answer for discussion). It is often preferred to
It's probably easier to use Edit -> Copy As -> Bitmap from the menubar. Changing the magnification of the notebook will change the size of the image that gets sent to the clipboard
There's likely a better answer out there, but I use a hack of the SEUploader to do this.
This is the relevant section (the original function name is
To use, execute the code, and a very small palette will appear. Highlight the cell you want to copy and click the "clip" button in the palette. Paste away.
Note: I do use this function blindly; I don't understand all the ins and outs. @Szabolics can perhaps chime in and suggest why this is a good/bad idea.
You may find setting this font option improves the appearance in Word:-