Skip to main content
The 2024 Developer Survey results are live! See the results
Became Hot Network Question
Tweeted twitter.com/StackTeX/status/1292928727521910785
added 1 character in body
Source Link
Robb1
  • 187
  • 1
  • 5

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):

enter image description here

Note: I tried using

\resizebox{.9 \textwidth}{!} 
{
    \begin{equation}
    [...] % My equation here
    \end{equation}
}

But I get a compilation error.

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 get out of the right page bound):

enter image description here

Note: I tried using

\resizebox{.9 \textwidth}{!} 
{
    \begin{equation}
    [...] % My equation here
    \end{equation}
}

But I get a compilation error.

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 gets out of the right page bound):

enter image description here

Note: I tried using

\resizebox{.9 \textwidth}{!} 
{
    \begin{equation}
    [...] % My equation here
    \end{equation}
}

But I get a compilation error.

Source Link
Robb1
  • 187
  • 1
  • 5

A long equation: how to adapt the font size to the page width?

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 get out of the right page bound):

enter image description here

Note: I tried using

\resizebox{.9 \textwidth}{!} 
{
    \begin{equation}
    [...] % My equation here
    \end{equation}
}

But I get a compilation error.