TeX source:
\text{tr}_B(\rho)