I need to make the line on the picture the exact same as in the image. How it has to be
And this is my code:
\begin{figure}[h]
\centering
\captionof{table}{} \label{tab:table 1}
%I think that the line must be here
\begin{center}
\begin{tabular}{|c||c|c|c|c||c|}
\hline
Level & Trial & Mod. & Time & Prop. & Tot.\\
\hline
2 & 478 & 2 & 1h 19m & 3/5 & 16\\
3 & 408 & 1 & 1h 04m & 2/5 & 12\\
4 & 400 & 2 & 1h 00m & 3/5 & 14\\
5 & 7531 & 3 & 17h 52m & 2/5 & 6\\
6 & 402 & 1 & 0h 50m & 3/5 & 11\\
\hline
av. & 1843 & 1.6 & 4h 25m & 2.4/5 & 11.8\\
av2 & 422 & 1.5 & 1h 3m & 2.75/5 & 13.25\\
\hline
\end{tabular}
\end{center}
\end{figure}
and it looks like this: My compiled picture
Thank you for the help!
A first suggestion of working code to confront with yours:
\documentclass{article}
\begin{document}
\begin{table}[htbp]
\caption{Curation analysis for \emph{Let it snow} levels 2 to 6}
\label{tab:tab1}
\centering
\begin{tabular}{|c||c|c|c|c||c|}
\hline
Level & Trial & Mod. & Time & Prop. & Tot.\\
\hline
2 & 478 & 2 & 1h 19m & 3/5 & 16\\
3 & 408 & 1 & 1h 04m & 2/5 & 12\\
4 & 400 & 2 & 1h 00m & 3/5 & 14\\
5 & 7531 & 3 & 17h 52m & 2/5 & 6\\
6 & 402 & 1 & 0h 50m & 3/5 & 11\\
\hline
av. & 1843 & 1.6 & 4h 25m & 2.4/5 & 11.8\\
av2 & 422 & 1.5 & 1h 3m & 2.75/5 & 13.25\\
\hline
\end{tabular}
\end{table}
\end{document}
You should consider removing the figure and the center enviroment and use the table enviroment instead. You will achive the same result but in the right way. As far as the question, im unsure to what specifically you want, i assume you want caption underneath, in that case add the option labelsep=newline to the caption package as shown in the dokumentation http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/caption/caption-eng.pdf .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.