答案1
该tcbline
功能需要skins
库,即
\usepackage[skins]{tcolorbox}
或者
\usepackage{tcolorbox}
\tcbuselibrary{skins}
本示例有效:
\documentclass[a4paper,12pt]{article}
\usepackage[skins]{tcolorbox}
\begin{document}
\tcbset{enhanced,colframe=blue!50!black,colback=white}
\begin{tcolorbox}[title=tcbline example]
This is a \textbf{tcolorbox}.
\tcbline
Here, you have the middle part of the box.
\tcbline
And here is the lower part of the box.
\end{tcolorbox}
\end{document}