summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-11-03 10:58:01 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-11-03 10:58:01 (GMT)
commitb35a84b39214af8340a75ea086df299a2c3343e3 (patch)
tree22860540dd7f38d88a6b862c59b3f624a28f039f /src/latexgen.cpp
parentcd8d9d90f0ded716840cd405d88c8b711428e899 (diff)
downloadDoxygen-b35a84b39214af8340a75ea086df299a2c3343e3.zip
Doxygen-b35a84b39214af8340a75ea086df299a2c3343e3.tar.gz
Doxygen-b35a84b39214af8340a75ea086df299a2c3343e3.tar.bz2
Release-1.5.7.1-20081103
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)