I would like to reduce the size of the following equation just exactly as needed in order to fit the page. Is there some sort of command to adapt the font size to the page width?
Here's my latex:
\begin{equation}
d\left(\begin{array}{c}
D(t) \\ \Pi(t) \\ \Theta(t)
\end{array}\right)
=
\left(\begin{array}{ccc}
-\alpha_{D} & 1 & 0 \\
0 & -\alpha_{\Pi} & 0 \\
0 & 0 & -\alpha_{\Theta}
\end{array}\right)
\left(\begin{array}{c}
D(t) \\ \Pi(t) \\ \Theta(t)
\end{array}\right)
+
\left(\begin{array}{ccc}
\sigma_{D,D} & \sigma_{D,\Pi} & 0 \\
0 & \sigma_{\Pi,\Pi}& 0 \\
\sigma_{\Theta,D} & 0 & \sigma_{\Theta,\Theta}
\end{array}\right)
d \left(\begin{array}{c}
w_{D}(t)\\ w_{\Pi}(t) \\ w_{\Theta}(t)
\end{array}\right)
\end{equation}
And here's the result I get (as you can see the equation getgets out of the right page bound):
Note: I tried using
\resizebox{.9 \textwidth}{!}
{
\begin{equation}
[...] % My equation here
\end{equation}
}
But I get a compilation error.