In this MWE, I have five elements on a line: three figures with 32% each, and two spaces with 2% each. 3*32+2*2=100. So I expect these items to fit on one line:
\documentclass{article}
%\usepackage[showframe]{geometry}
\usepackage{mwe}
\begin{document}%
$32+2+32+2+32=100$, right?
\begin{figure}%
\includegraphics[width=0.32\linewidth]{example-image-a}%
\hspace{0.02\linewidth}%
\includegraphics[width=0.32\linewidth]{example-image-a}%
\hspace{0.02\linewidth}%
\includegraphics[width=0.32\linewidth]{example-image-a}%
\end{figure}%
\end{document}%
Why don't they?
Bonus question: What influence does the geometry
package have?