I don't know why, but I'm trying to change the \tcbsetmanagedlayer defined in tcolorbox in order to increase the number of maximal nested boxes. However, this fail with the error

Undefined control sequence \tcbsetmanagedlayer

I pay attention to put it in the preamble, as stated by the documentation, so I don't understand what I missed. Any idea?

Thank you!




1 Answer 1


\tcbsetmanagerlayer is a documentation typo tcolorbox.pdf.

The macro is called \tcbsetmanagedlayers, not \tcbsetmanagedlayer, note the s indicating a plural here.

Looking into the source file of tcolorbox.sty reveals this.




I have reported this issue here: https://github.com/T-F-S/tcolorbox/issues/32

  • 1
    Yes, this is a documentation typo. I will correct this for the next version. Commented Nov 13, 2017 at 14:01
  • @ThomasF.Sturm: Thanks for your quick answer!
    – user31729
    Commented Nov 13, 2017 at 14:03

You must log in to answer this question.

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