Math & ScienceRunaway argument

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
h0ps
Posts: 17
Joined: Thu Nov 08, 2012 10:29 pm

Runaway argument

Post by h0ps »

Hi everyone

I get a runaway with this equation. I can't seem to find the error, but I'm new to this latex thing, so I hope you guys can help me out?

Code: Select all

\begin{align}
(1-\psi)\left( (a^{2}+bc)\pi_{t+1|t}+(a+d)by_{t}+(1+a)p+bq \right) =a\pi_{t+1|t}+by_{t}+p-\psi\pi_{t+1|t}-\kappa\left( c\pi_{t+1|t}+dy_{t}+q \right) \\
(1-\gamma)\left( (a+d)c\pi_{t+1|t}+(d^{2}+bc)y_{t}+cp+(1+d)q \right) \sigma \left( a\pi_{t+1|t}+by_{t}+p \right) = c\pi_{t+1|t}+dy_{t}+q-\gamma y_{t}+\sigma \left({ f_{0}+f_{\pi}\pi_{t+1|t)+f_{y}y_{t}} \right)
\end{align}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Runaway argument

Post by Stefan Kottwitz »

It's just caused by a parenthesis which should be a brace, near the end, the last one here:

Code: Select all

\pi_{t+1|t}
Stefan
LaTeX.org admin
h0ps
Posts: 17
Joined: Thu Nov 08, 2012 10:29 pm

Re: Runaway argument

Post by h0ps »

Damn you braces!! :p

Thx a lot. Nice with good people around this community!
Post Reply