As shown below, tables and figures seem to add extra space at the bottom:
In the example below the problem persist also using float
(\intextsep
was multiplied by 1.5 \baselineskip
for better readability):
Code for the first image:
\documentclass[a4paper,12pt]{article}
\usepackage[demo]{graphicx}
\begin{document}
\noindent AAAAAAAAAAAAAAAAAAAAAAAA
\begin{table}[h]
\begin{tabular}{c}
\hline
table \\
\hline
\end{tabular}
\end{table}
\noindent BBBBBBBBBBBBBBBBBBBBBBBB
\begin{table}[h]
\vspace*{-\baselineskip}
\begin{tabular}{c}
\hline
table \\
\hline
\end{tabular}
\vspace*{-\baselineskip}
\end{table}
\noindent CCCCCCCCCCCCCCCCCCCCCCCC
\begin{figure}[ht]
\includegraphics{demo}
\end{figure}
\noindent DDDDDDDDDDDDDDDDDDDDDDDD
\begin{figure}[!ht]
\vspace*{-\baselineskip}
\includegraphics{demo}
\vspace*{-\baselineskip}
\end{figure}
\noindent EEEEEEEEEEEEEEEEEEEEEEEE
\end{document}
h
position) adds\intextsep
before and after the float.figure
andtable
environments.\intextsep
something else is adding space. Even after removing the two\intextsep
there is a bit of space left under the figures/tables