1
$\begingroup$

I'm trying to save an Graphics with rotated MaTeX and a transparency. My code is below.

g = Show[
  Graphics[Inset[MaTeX["AAAAA", Magnification -> 4]]], 
  Graphics[Rotate[Inset[MaTeX["AAAAA", Magnification -> 4]], π/4]]]
Export["Rotated.png", g, Background -> None];

When you run this code, you'll notice that the horizontal TeX is in the exported image, but the rotated is not.

$\endgroup$
  • $\begingroup$ It works fine in version 11.2. It might be a bug in an earlier version. $\endgroup$ – Szabolcs Nov 22 '17 at 18:04
  • $\begingroup$ I've got 11.1. I'll try to upgrade tonight and will report. $\endgroup$ – Wynne Nov 22 '17 at 18:26
  • $\begingroup$ It might be good to mention your operating system too. It could be OS-dependent instead of version-dependent. $\endgroup$ – Szabolcs Nov 22 '17 at 19:44
  • $\begingroup$ Still seeing the bug in 11.2. MacOS 10.13.1 $\endgroup$ – Wynne Nov 23 '17 at 19:47
  • $\begingroup$ Strange. I get the expected output with M11.2 on macOS 10.13.1. $\endgroup$ – Szabolcs Nov 23 '17 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.