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
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 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:
The disadvantage of this approach is that all the glyphs will be outlined, not only glyphs from Mathematica fonts.
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 it in MS Word) but an EPS vector image with Mathematica fonts embedded in it. It is slightly more difficult because Mathematica's EPS export is rudimentary and you will need to
If you are concerned mainly with on-screen appearance or the above methods give unsatisfactory results you always can revert to 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
The simplest way to copy notebook's content to MS Word while preserving original appearance is to copy as
You may find setting this font option improves the appearance in Word:-