Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm creating a document programmatic and use breqn to automatically break equations across multiple lines. But when a single equation is larger then a page it fails.

\documentclass[11pt,fleqn]{article}
\usepackage[landscape,margin=.5in]{geometry}
\usepackage{amsmath}
\usepackage{breqn}


\begin{document}
\begin{dmath}
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)} = 
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(10)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+
{RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}
\end{dmath}       
\end{document}
share|improve this question

closed as too localized by Joseph Wright Feb 4 '12 at 22:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Welcome to TeX.sx! Note that it is best to post a minimal working example (MWE) that illustrates your problem. That is, exclude packages that are not necessary to reproduce the issue at hand (like graphicx, lastpage, longtable, ...). –  Werner Dec 7 '11 at 0:53
1  
Let me also express my welcome to TeX.sx. I've taken the liberty of inserting line breaks in your big math expression to make the code (marginally) more readable for humans. That said, it might be helpful if you posted a real example of where your equation(s) exceed one full page than the sample code you provide. –  Mico Dec 7 '11 at 1:31
    
Thanks for cleaning up the example. –  ben Dec 7 '11 at 2:28
1  
@ben I would split the equation, a=page1eq, b=pag2eq, c=a+b, meaning I wouldn't look at TeX, but rather at the equation. Is this something that Mathematica vomited out? –  Yiannis Lazarides Dec 7 '11 at 3:57
1  
@ben Come on! There is no math or an engineering topic where you cannot simplify an equation. What happened to beautiful maths?en.wikipedia.org/wiki/Mathematical_beauty –  Yiannis Lazarides Dec 7 '11 at 18:05

Browse other questions tagged or ask your own question.