0

I want to put the toc (with \tableofcontents) of a larger document (with a lot of \includes, so I do not know how to make a simple example out of it) into a breakable tcolorbox. The toc is correct, the box appears but I get always at fist two pages with an empty broken box (containing only 1 empty line) and the toc starts at the 3rd page, where the title now sticks near the top of the box. The "lines before break" option has no affect at all. Is there anybody who knows, how to avoid the empty pages? Thanks in advance,

Thomas.

1

Soon after my question I found out the solution myself. I took the code from the tcolorbox doc. In the first part "tcolorbox.doc.abstract.tex" I found the solution in the last block. Best regards.

2
  • To better help future readers who might have similar needs as you, perhaps you can provide an example demonstrating what you found. Dec 20 '20 at 21:51
  • You can answer your question to help others that have had (or that have) your same problem. Thank you very much.
    – Puck
    Aug 13 at 0:07

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.