Farbfelder mit tcolorbox im Jupyter-Notebook

Farbfelder mit tcolorbox im Jupyter-Notebook

Ich verstehe nicht, wie ich eine Formel in einem Feld mit einer Hintergrundfarbe in ein Notizbuch bekomme. Ich versuche es wie folgt und es funktioniert nicht richtig. Was ist mein Fehler?. Freundliche Grüße

\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\begin{equation}
\tcboxmath[colback=magenta!25!white,colframe=magenta, title=Solución]
{\sum\limits_{i=1}^k P{x_i}= 1}  
\end{equation}

verwandte Informationen