0

I am running TeXLive 2012 however when I run this...

\documentclass{article}

\usepackage[breakable]{tcolorbox}
\usepackage{lipsum}

\begin{document}

\begin{tcolorbox}[breakable, title=My breakable box]
\lipsum[1-6]
\end{tcolorbox}

\end{document}

I get this error

! LaTeX Error: Unknown option `breakable' for package `tcolorbox'.

The package works fine with unbroken boxes. How can I resolve this?

  • 2
    I think you need to update your system or at least tcolorbox. – Ignasi Apr 14 '15 at 8:35
1

For using breakable, you must load the library : breakable. refer to the doc : texdoc tcolorbox section 9

\documentclass{article}
\usepackage[breakable]{tcolorbox}
\tcbuselibrary{hooks, breakable, skins}
\usepackage{lipsum}

\begin{document}

\begin{tcolorbox}[enhanced, breakable, title=My breakable box]
\lipsum[1-6]
\end{tcolorbox}

\end{document}
  • 1
    As it stands I don't see how this answers the question and you don't explain that. Can you please updated. – Andrew Swann Apr 14 '15 at 9:02

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.