[patch tracking] 20201016023007641729 - ef6cc2b1b3

This commit is contained in:
openeuler-ci-bot 2020-10-16 02:30:19 +08:00 committed by Gitee
parent 5a9e337bbe
commit 488d29948d

View File

@ -0,0 +1,41 @@
diff --git a/doc/doxygen_manual.tex b/doc/doxygen_manual.tex
index aacb57390..3354801dc 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 1d55dd60f..418afa7ed 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 78a52546a..a1399b14a 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}%
}