The equation is very big

My equation is too big, does not enter the sheet, how do I solve it?

$$\label{ecuacionTrOpti} [(lr: 0{.}1, error: 0{.}1),(lr: 0{.}1, error: 0{.}5),(lr: 0{.}1, error: 0{.}9), (lr: 0{.}5, error: 0{.}1),(lr: 0{.}5, error: 0{.}5),(lr: 0{.}5, error: 0{.}9), (lr: 0{.}9, error: 0{.}1),(lr: 0{.}9, error: 0{.}5),(lr: 0{.}9, error: 0{.}9)]$$

• As usual, a code snippet is not enough, you should provide an MWE! – user156344 Feb 27 '19 at 15:46
• Why is it even an equation? Would it not be better as monospaced text? – Steven B. Segletes Feb 27 '19 at 15:47

Even if you still need an equation label, would it not be better as mono-spaced text?

\documentclass{article}
\usepackage[usestackEOL]{stackengine}
\begin{document}
This
$$\label{ecuacionTrOptiA} \textrm{\ttfamily\Longstack[r]{% [(lr: 0{.}1, error: 0{.}1),(lr: 0{.}1, error: 0{.}5),\\ (lr: 0{.}1, error: 0{.}9),(lr: 0{.}5, error: 0{.}1),\\ (lr: 0{.}5, error: 0{.}5),(lr: 0{.}5, error: 0{.}9),\\ (lr: 0{.}9, error: 0{.}1),(lr: 0{.}9, error: 0{.}5),\\ (lr: 0{.}9, error: 0{.}9)] }}$$
or this:
$$\label{ecuacionTrOptiB} \textrm{\Longstack[r]{% [(lr: 0{.}1, error: 0{.}1),(lr: 0{.}1, error: 0{.}5),(lr: 0{.}1, error: 0{.}9),\\ (lr: 0{.}5, error: 0{.}1),(lr: 0{.}5, error: 0{.}5),(lr: 0{.}5, error: 0{.}9),\\ (lr: 0{.}9, error: 0{.}1),(lr: 0{.}9, error: 0{.}5),(lr: 0{.}9, error: 0{.}9)] }}$$
\end{document}


• I must use the library usestackEOL? – x-rw Feb 27 '19 at 15:52
• i have this error: ! Dimension too large. \height ->\ht \@tempboxa – x-rw Feb 27 '19 at 15:59
• @x-rw The [usestackEOL] is not a library, but a package option. You can omit the option and instead, in the preamble, type \setstackEOL{\\} – Steven B. Segletes Feb 27 '19 at 16:11
• @x-rw That error you cite does not sound like anything from stackengine. – Steven B. Segletes Feb 27 '19 at 16:12

Another solution could be to use align and \notag \\ to enter the page.

\begin{align}
\label{ecuacionTrOptiB}
[(lr: 0{.}1, error: 0{.}1),(lr: 0{.}1, error: 0{.}5),(lr: 0{.}1, error: 0{.}9),\notag\\
(lr: 0{.}5, error: 0{.}1),(lr: 0{.}5, error: 0{.}5),(lr: 0{.}5, error: 0{.}9),\notag\\
(lr: 0{.}9, error: 0{.}1),(lr: 0{.}9, error: 0{.}5),(lr: 0{.}9, error: 0{.}9)]
\end{align}