I am sure that this has been answered here many times, but I can't find a duplicate.
My question is what to do with lines that are "too long", i.e. that overflow into the margin. I think the problem has to do with the way LaTeX handles splitting and I seem to remember that there is something that one can insert on a line that turns out too long so that it will be split only if needed. It is something like \allowsplitline
.
\documentclass[oneside,oldfontcommands]{memoir}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\begin{document}
\noindent That is we have that $F_A(\pi_A) = F_A(\pi_{A},B)$ is blablabla if and only if $F_A(\pi_{A, B})(7) = \lambda_{\pi_A}(\varpi_A) =\lambda_{\pi}(\varpi_A) = 11$. Text Text Text TextTextText TextTextTextTextTextText TextTextText
\end{document}
Best Answer
Insert
\allowbreak
where needed, or even better, reword the sentence - the breakpoints (after relations and binary operators) are there for a reason.From TeX by Topic (p 207):
If you add
\showoutput
to your MWE, you can see TeX printing the insertion of the penalty after the operator=
but nowhere else (the output below is forthat $F_A(\pi_A) = F_A(\pi_{A},B)$ is
):