Minipage example.tex
From Organic Design wiki
\begin{figure}[!h]
\begin{minipage}[h]{0.5\textwidth} \centering
\footnotesize % ========================== ANOVA TABLE ===========================
\begin{tabular}{lrllrl}\hline
\multicolumn{1}{c}{$Source$}& \multicolumn{1}{c}{$df$}& \multicolumn{1}{c}{$SS$}& \multicolumn{1}{c}{$MS$}& \multicolumn{1}{c}{$F$}& \multicolumn{1}{c}{$p\;value$} \\ \hline $Error(Run)$&&&&&\\ Time&1&0.02&0.02&&\\ $Error(Insect)$&&&&&\\ Time &3&0.32&0.11&6.20&0.022\\ Treatment &1&0.52&0.52&30.11&$9.2 \times 10^{-4}$\\ Time:Treatment&3&0.31&0.10&5.97&0.024\\ Residuals &7&0.12&0.02&&\\ $Error(Reps)$&&&&&\\ Residuals&29&0.21&0.01&&\\ \hline \end{tabular}
% !========================= ANOVA TABLE ===========================
\label{table:by:fig} \end{minipage} \begin{minipage}[h]{0.5\textwidth} \centering
\includegraphics[width=1\textwidth]{PBP1interaction}
\label{fig:by:table} \end{minipage}%
\end{figure}