summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 8a70405..01798ff 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -365,6 +365,14 @@ static void writeDefaultStyleSheetPart3(QTextStream &t)
t << "\\addtocounter{secnumdepth}{1}\n";
t << "\\sloppy\n";
t << "\\usepackage[T1]{fontenc}\n";
+ t << "\\makeatletter\n";
+ t << "\\renewcommand{\\paragraph}{\\@startsection{paragraph}{4}{0ex}%\n";
+ t << " {-3.25ex plus -1ex minus -0.2ex}%\n";
+ t << " {1.5ex plus 0.2ex}%\n";
+ t << " {\\normalfont\\normalsize\\bfseries}}\n";
+ t << "\\makeatother\n";
+ t << "\\stepcounter{secnumdepth}\n";
+ t << "\\stepcounter{tocdepth}\n";
}
void LatexGenerator::writeHeaderFile(QFile &f)