\documentclass{article}
\usepackage{mathtools,amsfonts,amsmath,amssymb,amsthm}
\usepackage[most]{tcolorbox}
\begin{document}
\begin{tcolorbox}[enhanced,boxrule = 1pt,
colframe = myLColor,
colback = red!80!black,
sharp corners,
rounded corners = southeast,
rounded corners = northeast,
rounded corners = southwest,
rounded corners = northwest,
arc is angular,
arc = 3mm,
coltext = white,attach boxed title to top center={xshift=3mm,yshift*=-\tcboxedtitleheight/2},
boxed title style={
colback=blue,
colframe=blue,
arc=3mm,
outer arc=3mm,
boxrule=0mm,
boxsep=0mm
},title=Lots of equations]
Let us consider
\begin{align}
f&=ma\\
T_{\mu\nu}&=G_{\mu\nu}
\end{align}
\end{tcolorbox}
\end{document}
Is there a way to have this box contains everything but not the equation numbers. I would like the equation numbers to be outside of the tcolorbox but everything else inside the box.
Is it possible to do so?
tcolorbox
usesred!80!black
as background color andwhite
as foreground color. What colors do you expect for the equation numbers outside of the box?