[Tex/LaTex] Put a box and shade it around aligned equations

alignequationsmiktex

Given:

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mathtools}
\usepackage{amssymb}
\author{Sam Keene}
\title{Notes}
\begin{document}
\section{Notes}

\begin{align}
\tan{\theta} &= \frac{2t}{1-t^2} & 
\sin{\theta} &= \frac{2t}{1+t^2} & 
\cos{\theta} &= \frac{1-t^2}{1+t^2}
\end{align}

\end{document}

I know I can put a box around individual equations using \Aboxed, but how could I put a box around the entire group and have it shaded?

Best Answer

Something like that?

\documentclass{article}
\usepackage[many]{tcolorbox}
\begin{document}
\begin{tcolorbox}[enhanced,ams align,drop fuzzy shadow,
  colback=yellow!10!white,colframe=yellow!50!black]
\tan{\theta} &= \frac{2t}{1-t^2} &
\sin{\theta} &= \frac{2t}{1+t^2} &
\cos{\theta} &= \frac{1-t^2}{1+t^2}
\end{tcolorbox}
\end{document}

enter image description here