Edit Links |
Examples /
PreventingLinebreakInInlineFormula
<< | Page list | >>
How can I prevent LaTeX from inserting a linebreak in an inline formula?ProblemIf I have an inline formula at the end of a line, LaTeX may break this formula and split it over two lines. How can I prevent this? Quick solutionPut the formula inside an mbox Detailed solution
Example fileuploads:/Examples/preventingLinebreakInInlineFormula.lyx Another solutionThis solution simply prevents line breaking formulas unless a very extreme case happens. To use this solution just add the following lines to the latex-preamble: \relpenalty=9999 \binoppenalty=9999 setting the number to 10000 will prevent all the line breaks, including in extreme cases. |