diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-15 18:13:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 18:13:13 (GMT) |
commit | ef6cc2b1b3b70fba03e994e7a61926c8e2958867 (patch) | |
tree | 883961ff17cec4a6058b6d46cc98fe3698fee80f | |
parent | de56d1864473485861bac89436337e8114fb2f6b (diff) | |
parent | 89c4556edfc7ca5cac9c2e0171e3be9441990a91 (diff) | |
download | Doxygen-ef6cc2b1b3b70fba03e994e7a61926c8e2958867.zip Doxygen-ef6cc2b1b3b70fba03e994e7a61926c8e2958867.tar.gz Doxygen-ef6cc2b1b3b70fba03e994e7a61926c8e2958867.tar.bz2 |
Merge pull request #8100 from albert-github/feature/bug_latex_fig_space
Space around images in LaTeX output is sometimes a bit large
-rw-r--r-- | doc/doxygen_manual.tex | 1 | ||||
-rw-r--r-- | src/latexgen.cpp | 3 | ||||
-rw-r--r-- | templates/latex/doxygen.sty | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/doc/doxygen_manual.tex b/doc/doxygen_manual.tex index aacb573..3354801 100644 --- a/doc/doxygen_manual.tex +++ b/doc/doxygen_manual.tex @@ -122,6 +122,7 @@ \usepackage{etoc} \etocsettocstyle{\doxytocparskip}{\doxynormalparskip} \begin{document} +\raggedbottom \pagenumbering{alph} \begin{titlepage} \includegraphics[width=\textwidth]{doxygen_logo} diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 1d55dd6..418afa7 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -774,7 +774,8 @@ static void writeDefaultHeaderPart1(FTextStream &t) // End of preamble, now comes the document contents t << "%===== C O N T E N T S =====\n" "\n" - "\\begin{document}\n"; + "\\begin{document}\n" + "\\raggedbottom\n"; QCString documentPre = theTranslator->latexDocumentPre(); if (!documentPre.isEmpty()) { diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index 78a5254..a1399b1 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -186,9 +186,8 @@ % (only if caption is specified) \newenvironment{DoxyImage}{% \begin{figure}[H]% - \begin{center}% + \centering% }{% - \end{center}% \end{figure}% } |