I've been working on how to put side by side figures with captions for a book but haven't managed to find a way to put a horizontal space in between the two figures. There has been some troubles ever since I started using PDF images, so I just thought to mention it just in case.
I am using the minipage solution so far to manage this but I don't know how to go further than this. Any help or advices will be appreciated.
\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage[paperwidth=6in, paperheight=9in, margin=0.9in, showframe]{geometry}
\usepackage{lipsum}
\begin{document}
\begin{figure}
\centering
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=1\linewidth]{camellia}
\captionof{figure}{an evergreen eastern Asian shrub related to the tea plant, grown for its showy flowers and shiny leaves.}
\label{camellia}
\end{minipage}%
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=1\linewidth]{rose}
\captionof{figure}{a prickly bush or shrub that typically bears red, pink, yellow, or white fragrant flowers, native to north temperate regions. Numerous hybrids and cultivars have been developed and are widely grown as ornamentals.}
\label{rose}
\end{minipage}
\end{figure}
\lipsum
\end{document}
What I want to obtain is this:
I haven't mentioned it in the titles but I would also like to make the captions inline to each other. And the images sitting on the same line like this too: