7.4 Fixing decoration fbox

When adding a frame in SW, around math equation such as displayed formula, it will add \fbox to do it. To improve how the math looks inside, added this to the preamble of the document

\usepackage{amsmath} 
 
\let\latexfbox\fbox 
\renewcommand{\fbox}[1]{% 
  \latexfbox{\everymath{\displaystyle}#1}% 
}
 

Thanks for http://tex.stackexchange.com/