I want to insert picture into my document and under this picture I must create table.
The problem is, that it must be together like a one figure containing from picture, table, and after that description.
How can I keep this together in output? Because table is on one page, picture on other page...
Here is part of my code:
Code: Select all
\begin{figure}[!ht]
\centering
\includegraphics{D:/BP/Projekt/costmodel.JPG}
\end{figure}
\begin{table}[!ht]
\centering
\begin{tabular}{llccccc}
& & M1&M2&M3&M4&M5 \\
Specify& Document Request& V1& V2& & V3& \\
Design& Architecture Description && V1& V2& V3& \\
Design& Design Description& && V1 &V2 & \\
Encode& Source code & &&& V1 &V2 \\
Test &Test, report & && V1& V2 &V3\\
Write &User Guide && V1&&& V2\\
Activity & Results & \multicolumn{5}{c}{Versions (Vi) of the work }\\
&& \multicolumn{5}{c}{results at milestones (Mj)} \\
\end{tabular}
\caption{Activities and phases - the cost model (Sandmayr, 1991) }
\label{fig:costmodel}
\end{table}