summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-14 16:01:23 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-14 16:01:23 (GMT)
commit89c4556edfc7ca5cac9c2e0171e3be9441990a91 (patch)
tree18e89cbabe6b728da396339a2ffaaa5862f248ba /templates
parentf64705ecdeff9eead62e63f27b2ba88bea87c259 (diff)
downloadDoxygen-89c4556edfc7ca5cac9c2e0171e3be9441990a91.zip
Doxygen-89c4556edfc7ca5cac9c2e0171e3be9441990a91.tar.gz
Doxygen-89c4556edfc7ca5cac9c2e0171e3be9441990a91.tar.bz2
Space around images in LaTeX output is sometimes a bit large
When we look at images in documents we see for a number of images a big amount of white space around the image. This is e.g. the case in the doxygen manual at page 99 of the 1.8.20 version. - using `\raggedbottom` sees to it that the space inside the page is removed (there might be some white space when the next image doesn't fit anymore. (See https://tex.stackexchange.com/questions/566779/placing-figures-on-a-fixed-place-without-lot-of-space-around-it) - use `\centering` instead of `\begin{center}` as the center environment adds some extra white space (see a comment with the question, on a different subject though: https://stackoverflow.com/questions/64328597/pdftex-warning-saying-about-duplicate-figures#comment113772445_64328597)
Diffstat (limited to 'templates')
-rw-r--r--templates/latex/doxygen.sty3
1 files changed, 1 insertions, 2 deletions
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}%
}