TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

EDIT: It was simply a matter of outdated package versions. On a mac there are those useful commands sudo tlmgr update –self and after that sudo tlmgr update –all.

The following throws the error "undefined control sequence", but when I switch to \tcbmaketheorem instead it works. Whats the matter?




%\tcbmaketheorem{mytheo}{My Theorem}{colback=green!5,colframe=green!35!black,fonttitle=\bfseries}{th}

\newtcbtheorem{mytheo}{My Theorem}{colback=green!5,colframe=green!35!black,fonttitle=\bfseries}{th}


Great theorem with beautiful box.

share|improve this question

closed as off-topic by Marco Daniel, diabonas, Stefan Kottwitz Nov 23 '13 at 18:39

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Your example compiles without error for me. My guess is that you work with an old version of tcolorbox. The current version is 2.51 (2013/09/16). You should check your logfile for your version, i.e. a line like Package: tcolorbox 2013/09/16 version 2.51 text color boxes for the current version. – Thomas F. Sturm Nov 21 '13 at 13:04
Welcome to TeX.SX! – Claudio Fiandrino Nov 21 '13 at 13:08
This question appears to be off-topic because it is about a outdated TeX Live version. – Marco Daniel Nov 23 '13 at 17:52