diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-08 09:54:20 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-08 09:54:20 (GMT) |
commit | fa6585b2fc6847c2b242b226b163810c7a6366de (patch) | |
tree | 60f173dccc1ce8007eb0eba73382c5db4be722a9 /src/latexgen.cpp | |
parent | 21d14b3c7697f8807065070f5850259b1b6550e4 (diff) | |
download | Doxygen-fa6585b2fc6847c2b242b226b163810c7a6366de.zip Doxygen-fa6585b2fc6847c2b242b226b163810c7a6366de.tar.gz Doxygen-fa6585b2fc6847c2b242b226b163810c7a6366de.tar.bz2 |
Improved handling of <caption> in tables for LaTeX output.
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 30e28ec..2ed30e9 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -455,9 +455,12 @@ static void writeDefaultHeaderPart1(FTextStream &t) "\\newcommand{\\clearemptydoublepage}{%\n" " \\newpage{\\pagestyle{empty}\\cleardoublepage}%\n" "}\n" - "\n" "\n"; + // caption style definition + t << "\\usepackage{caption}\n" + << "\\captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top}\n\n"; + // End of preamble, now comes the document contents t << "%===== C O N T E N T S =====\n" "\n" |