• Jason Rhinelander's avatar
    Improve latex equation output · 04d4a248
    Jason Rhinelander authored
    - in the general latex tabulation, use a minipage instead of a
      \nopagebreak; the latter only prevents page breaks at once location,
      but does nothing about page-breaks in the title that appears right
      before it (so half the equation could end up at the bottom of a
      page/column, and the other half at the top of the next page/column).
      Putting the whole thing in a minipage fixes that.
    - Don't put a \n before the equation: under latex, it becomes a \\, but
      the \\ is in an invalid location and generates "no line to end here"
tabulate.cpp 14.1 KB