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?


\hfill! – bers Dec 07 '16 at 22:50%) as there is not room for two word spaces) – David Carlisle Dec 07 '16 at 22:520.1+0.1+0.1-0.3, which equals5.5511e-17(from https://stackoverflow.com/questions/249467/what-is-a-simple-example-of-floating-point-rounding-error) – bers Dec 07 '16 at 23:13\hspace{0.02\linewidth}and\hspace{0.035\linewidth}: use\hfill\hfill\hfill\hfilland\hfill\hfill\hfill\hfill\hfill\hfill\hfill. – bers Dec 07 '16 at 23:20\hspace{\stretch{.2}}and\hspace{\stretch{.35}}. – GuM Dec 07 '16 at 23:44%line terminators prior to posting the answer, to make sure that all 3 graph would indeed show up in one row, using the default text width (345pt) of thearticledocument class with10ptas the main font size. Of course, if\textwidthwere set to a smaller value, it would definitely become necessary to use the%device to prevent LaTeX from inserting extra spaces. Since we can't know how the example code might get used by future readers, it's definitely a good idea to feature the%symbols. – Mico Dec 08 '16 at 08:40