Permalink
Browse files

Made paragraph spacing more flexible in the LaTeX output to prevent p…

…age overflows
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 12, 2015
1 parent 12b28cf commit 17b3b41e12e890187f6b7dcc98ed9e2451b14018
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/latexgen.cpp
  2. +1 −1 templates/latex/latexrefman.tpl
@@ -553,7 +553,7 @@ static void writeDefaultHeaderPart1(FTextStream &t)
"\\hbadness=750\n"
"\\setlength{\\emergencystretch}{15pt}\n"
"\\setlength{\\parindent}{0cm}\n"
"\\setlength{\\parskip}{0.2cm}\n";
"\\setlength{\\parskip}{3ex plus 2ex minus 2ex}\n";
// Redefine paragraph/subparagraph environments, using sectsty fonts
t << "\\makeatletter\n"
"\\renewcommand{\\paragraph}{%\n"
@@ -51,7 +51,7 @@
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\setlength{\parskip}{3ex plus 2ex minus 2ex}
\makeatletter
\renewcommand{\paragraph}{
\@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{

0 comments on commit 17b3b41

Please sign in to comment.