In the attached code, I would like to get the equation number to show up boxed like this:
instead of the normal brackets "()".
Here is my MWE:
\documentclass[11pt,fleqn]{book}
\usepackage[english]{babel}
\usepackage{xcolor}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage[most]{tcolorbox}
\definecolor{ocre}{RGB}{243,102,25}
\definecolor{mygray}{RGB}{243,243,244}
\tcbset{myformula/.style={
arc=0pt,
outer arc=0pt,
colback=mygray,
colframe=ocre,
boxrule=0.8pt,
left=2pt,
right=2pt,
highlight math style={
arc=0pt,
outer arc=0pt,
colback=mygray,
colframe=red.
}
}
}
\newenvironment{spread}[1]{%
\advance\jot#1% indeed
}{%
\ignorespacesafterend
}
\begin{document}
\chapter{This is how it all began}
\section{Introduction}
\begin{tcolorbox}[ams align,myformula]
LT~&\approx~\frac{400}{F_{c}}(1-log_{10}|\Delta F|)\\
\Delta F~&=~\frac{Frequency~Tolerance}{Frequency~Jump}\nonumber
\end{tcolorbox}
\end{document}