I find that when I export graphics to PDF format from Mathematica, the words in pictures can be copied. However, when I save the pictures from Mathematica and then insert those pictures into MS Word, the words in pictures can't be copied. If I want to place the pictures from Mathematica in MS Word and have the words in pictures copyable, how shall I do?

Plot[{x, x^2, x^3, x^4}, {x, -1, 1}]
  • $\begingroup$ Welcome to the Mathematica Stack Exchange. Please include a minimal working example to make your question more concrete. This way you can get focused replies. A minimal example includes enough code that respondents can copy-paste to their notebooks to replicate the problem locally. Thanks. $\endgroup$
    – Syed
    Feb 7, 2022 at 15:14
  • $\begingroup$ Your title suggests you want to change the text but if fact you just wan't to select it and copy it to the clipboard. Correct? $\endgroup$ Feb 7, 2022 at 16:16
  • $\begingroup$ @Syed Thanks. I have made change on my question. $\endgroup$
    – Y. zeng
    Feb 8, 2022 at 4:30
  • 1
    $\begingroup$ @GustavoDelfino I just want to select it and copy it to the clipboard. $\endgroup$
    – Y. zeng
    Feb 8, 2022 at 4:31
  • 1
    $\begingroup$ There is a relatively new (and maybe limited) feature in MS Word that will import an SVG file (which can be exported from Mathematica). After importing the SVG file into MS Word, right-click on the graphic and choose "Convert to Shape". That converts every little thing to a separate object. For example, the text "1.0" becomes 3 graphics objects and replacing text is not readily apparent. Maybe you'll have more luck than I have had with it. $\endgroup$
    – JimB
    Feb 8, 2022 at 5:50

1 Answer 1


The only way (as far as I know) to edit a vector image in MS Word is to use one of the Microsoft's Vector Graphics Formats: .WMF or .EMF.

You can export graphics from Mathematica in either of those formats, however, they have been deprecated from version 12.3 on.

If you have an earlier version of Mathematica, you can try doing this:

Plot[x, {x, 0, 1}]
Export["test.wmf", %]

and importing the image in MS Word. You should be able to right-click on it, and then Edit Image will allow you to change the text.

  • $\begingroup$ I am using a version 13.0. I right click the picture in Mathematica and select Save As, then I can't find the .WMF or .EMF choice. May you tell me how to export graphics as .WMF or .EMF? $\endgroup$
    – Y. zeng
    Feb 8, 2022 at 4:33
  • $\begingroup$ @Y.zeng You need an older version of Mathematica for exporting to these formats (lower than version 12.3, where they replaced the legacy GDI-based rendering with modern DirectWrite-based). $\endgroup$ Feb 8, 2022 at 8:23
  • $\begingroup$ @Y.zeng Earlier you could use EPS format for obtaining vector figures in MS Word, but MS seemingly dropped support for this format in the latest versions. $\endgroup$ Feb 8, 2022 at 8:44
  • 1
    $\begingroup$ @AlexeyPopkov Okay. I will use latex instead of MS Word. $\endgroup$
    – Y. zeng
    Feb 8, 2022 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.