Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to make a simple colorbox using the package tcolorbox but receiving a compilation error by just including the tcolorbox.sty file.

Please consider the following code:


% File Containing All the Control Settings
\usepackage{../../Style/tcolorbox/tcolorbox}    ---> This line is giving compilation Error


Compilation Error:

! Paragraph ended before \pgfkeys@@qset was complete.

The Offending lines in the tcolorbox.sty file are:


Please guide me how to resolve this error.

share|improve this question
Make a local texmf directory, for example localtexmf and install your style mystyle and the package tcolorbox there. Then you can use simply \usepackage{tcolorbor} and the package should work. –  Kurt Aug 17 '12 at 16:32
No problem because of the location of the Package {tcolorbox}.The compiler is able to locate the package. The compilation Error is because of a problem with the package file itself. –  bill joy Aug 17 '12 at 17:32
Well then we need a complete MWE including your file mystyle.sty. Did you tried compiling without mystile? Without matrix? Perhaps the error is caused there. –  Kurt Aug 17 '12 at 18:24

1 Answer 1

matrix causes the error. Try this MWE (compiling with no errors), then delete the % and compile again.



  My box.
share|improve this answer
I'm using an actual MiKTeX, version 2.9. Perhaps you need to do an upgrade with your system? Which version of tikZ do you use? –  Kurt Aug 18 '12 at 1:53
My tikZ version is: Package: tikz 2008/02/13 v2.00 (rcs-revision 1.27) –  bill joy Aug 18 '12 at 2:03
That's the reason, I'm using rcs-revision 1.7. Please update your system. –  Kurt Aug 18 '12 at 2:14
Thanks. I am re-installing the whole new texlive package, will let you know the result once the update is complete. –  bill joy Aug 18 '12 at 2:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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