3

This is a simple plot, it looks fine in Mathematica. But after exporting it to pdf file, the display of vertical frame label has an error. The "33" in the subscript "epsilon33" becomes somewhat a superscript. It appears this error only occurs on vertical label with Greek letter as subscript. Assume the following simple plot

Plot[x, {x, 0, 1}, 
 Frame -> True, 
 FrameLabel -> {
   Style["\!\(\*SubscriptBox[\(a\), \(\[Epsilon]33\)]\)", 20], 
   Style["\!\(\*SubscriptBox[\(a\), \(\[Epsilon]33\)]\)", 20]
 }]

(Note that the Style is not related and is only for making the bug better visible)

This is the plot in Mathematica

Mathematica graphics

In the exported pdf file, the label on the y-axis (and we should emphasis that it is only this vertical label!) of the frame has somehow turned the "33" into a superscript:

enter image description here

I use 10.0 version on Window 7 system and halirutan can confirm this behaviour on Mac OS X with Mathematica 10.0.2.

halirutan
  • 112,764
  • 7
  • 263
  • 474
riorita
  • 133
  • 6

1 Answers1

1

I originally developed MaTeX to deal with various similar formatting issues. What pushed me over the line was noticing how exporting to PDF sometimes changes the formatting. While many of these issues have been fixed or improved since then (and since your post), I would still recommend MaTeX to achieve high-quality formatting that is guaranteed not to change upon export.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263