I'm trying to compile the following code on arXiv, involving a tcolorboxenvironment which wraps an existing environment like quote in a tcolorbox:



 Hello World!


On my system and on overleaf, it looks like this: enter image description here

When arXiv compiles the document, it looks like this, with additional padding at the top of the box. enter image description here The arXiv compile log does not show any warnings.

For this behavior it doesn't matter which environment (quote or theorem etc) I wrap. Without \pdfoutput=1 (which tells arXiv to use PDFLaTeX) it also happens (though I got a rotated PDF from arXiv). I doesn't help to explicitly set the top option variable of the tcolorboxenvironment.

Any ideas what could be the cause?

  • 1
    Do you have access to the logs on arXiv? Can you compare the package versions?
    – frabjous
    May 17 at 23:37
  • 1
    A vague guess: arXiv uses tcolorbox v4.32, see issue github.com/T-F-S/tcolorbox/issues/123 . May 18 at 0:21
  • Thanks a lot, that was indeed the problem. I added an answer. May 18 at 7:28
  • arXiv runs off of TeXLive 2020 (it's on the schedule to upgrade to 2022 later this year). It seems likely this was indeed the package bug indicated.
    – Jake
    May 18 at 15:29

1 Answer 1


As suggested by commenters frabjous and muzimuzhi Z, the problem was that arXiv uses an old version (v4.32) of tcolorbox. I uploaded a newer version tcolorbox.sty and it got rid of the bug. The newest version that worked and didn't lead to arXiv compile errors was v4.42 (from v4.50 onwards there were problems with the line \NewDocumentCommand{\tcblistof}).

Your Answer

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

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