I am trying to use the poster
library for the tcolorbox package, and, following the tcolorbox manual, I am loading this library via
\usepackage[poster]{tcolorbox}
in the preamble.
When I compile (pdflatex
) I always get the following error:
! LaTeX Error: Unknown option `poster' for package `tcolorbox'.
I also tried to put the following line in my preamble
\tcbuselibrary{poster}
which should be equivalent to the option in the above \usepackage
statement (according to the tcolorbox manual). I get the following message:
! Package pgfkeys Error: I do not know the key '/tcb/library/poster' and I am going to ignore it. Perhaps you misspelled it.
No matter what combination of the two methods I try, I still get this type of error.
Finally I noticed there was no tcbposter.code.tex
file in my texlive/texmf-dist/tex/latex/tcolorbox/
directory, and I thought this was the source of the error. So I downloaded it from this link and put it in this directory, but I still get the same error.
Here is a MWE (or rather MnotWE):
\documentclass[12pt]{article}
\usepackage[a3paper,landscape]{geometry}
\usepackage[poster]{tcolorbox}
\pagestyle{empty}
\begin{document}
\begin{tcbposter}[
coverage = {spread},
poster = {showframe,columns=4,rows=5},
]
\end{poster}
\end{document}
Why am I getting this error?
tcolorbox
seems to pretty new. Do you really have the newest version oftcolorbox
installed? There's also a typo:\end{poster}
should mean\end{tcbposter}
, most likelysudo apt-get texlive
to see if I was up to date (since it seems to be included in TeXLive), and I am. Is this the right way to ensure I have the latest version? And it is not a typo, I actually copied this example (after having tried it with no success) from mirror.ibcp.fr/pub/CTAN/macros/latex/contrib/tcolorbox/….texlive
packages are rather outdated (as are for debian or OpenSuSE). I don't recommend them. Rather use a clear vanilla install over the net.\listfiles
before\begin{document}
in order to see which version oftcolorbox
is loaded -- if it is not4.10
, you're loading an older version oftcolorbox
instead of the version from CTAN, which I don't recommend in this case. The package manager of the TeX distribution is to be preferred