Consider this example


The pdf image can be downloaded from https://cms-results.web.cern.ch/cms-results/public-results/publications/MUO-16-001/CMS-MUO-16-001_Figure_008-a.pdf

When compiled with xelatex of TexLive 2017 the image is rotated to -90 degrees.

What is the cause and the solution? Upgrading to a new TexLive version is also an acceptable solution.

  • 1
    For me it's the same for xelatex as for pdflatex or lualatex... What version do you have? Nov 17, 2018 at 19:56
  • @PhelypeOleinik TexLive 2017
    – Viesturs
    Nov 17, 2018 at 19:56
  • @PhelypeOleinik, I managed to solve the problem by uninstalling TexLive 2017 and installing TexLive 2018
    – Viesturs
    Nov 17, 2018 at 22:52
  • 2
    Sorry, I completely forgot to answer you. Yes. I too have TeXLive 2018. Quite strange, though, XeTeX rotating the picture. Very odd... Perhaps you should post an answer in case someone else experiences the same issue :-) Nov 17, 2018 at 23:39

1 Answer 1


The problem was solved by uninstalling TexLive 2017 and installing TexLive 2018.

  • 1
    Please edit your question accordingly (note that it works in TL2018). As you are asking for a solution for TL2017 this does not answer your own question…
    – TeXnician
    Nov 18, 2018 at 10:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .