# image side by side with table [duplicate]

Good morning,

I would like to put the picture on the left of the table, all horizontally.

When I try this solution it doesn't work. What changes is the picture and table are aligned with left margin aligned vertically, but both captions remained centered.

I can't seem to do it, can anyone help?

The code is this:

\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.50]{uniformity_machine.PNG}
\caption{Uniformity machine}
\label{fig:uniformitymachine}
\end{center}
\end{figure}

{\centering \hfill
\begin{table}[h]
\centering
\begin{tabular}{| c | c |c | }
\hline
\small
\textbf{Parameter} & \textbf{Value}  &  \textbf{Unit} \\
\hline
Dimension (wxdxh) & 1 725x2 800x2 500 & mm \\
\hline
Weight & 3 100 & kg\\
\hline
Rim diameter & 13 - 25 & in\\
\hline
\multirow{3}{*}{Electrical requirements} & 3 & Phase\\
& 400 & V \\
& 50 & Hz \\
& 35 & A \\
\hline
Pneumatic requirements & 600 & kPa\\
\hline
Cycle time & 20 & s\\
\hline
Cost & NUMBER & EUR \\
\hline
\end{tabular}
\caption{Uniformity machine specifications}\label{tab2}
\end{table}
\hfill}


## marked as duplicate by leandriis, Phelype Oleinik, Tiuri, dexteritas, user36296Jan 11 at 12:48

• You can use minipage for this. Related: tex.stackexchange.com/a/5770 – JouleV Jan 11 at 11:57
• Welcome to TeX SX! You can take a look at the floatrow package. – Bernard Jan 11 at 12:16