I have defined a new command below, but when ever I pass an equation into, it will not work.
\newcommand{\defn}[1]{
{\textbf{Definition}}\\
\parbox{5.2in}{\begin{flushright} \fbox{#1}\end{flushright} } }
This is what it allows me to do:
\defn{If $f$ is integrable over the interval $[a,b]$, we define $\int_{b}^{a} f(x)\ dx$ }
However, this is what I want to do:
\defn{If $f$ is integrable over the interval $[a,b]$, we define
$$\int_{b}^{a} f(x)\ dx$$ }
Or alternatively,
\defn{If $f$ is integrable over the interval $[a,b]$, we define
\begin{equation*}
\int_{b}^{a} f(x)\ dx
\end{equation}}
I would greatly appreciate any help. Thank you.
\[
…\]
preferable to$$
?amsthm
package allows you to create theorem-like structures that are unnumbered. Then you also get the bonus of automatically added separation space above and below the construction