How I can align caption for table like this?
Current code:
\begin{table}[h]
\caption{}
\centering
\begin{tabular}{|l|r|r|l|}
\hline
№ & X & Y & Время выполнения м:сс \\ \hline
1 & 15000 & 16000 & 0:57 \\ \hline
2 & 16000 & 17000 & 0:19 \\ \hline
3 & 17000 & 18000 & 0:10 \\ \hline
4 & 18000 & 19000 & 0:03 \\ \hline
5 & 19000 & 20000 & 0:02 \\ \hline
6 & 20000 & 21000 & 0:01 \\ \hline
7 & 60000 & 61000 & 0:01 \\ \hline
\end{tabular}
\end{table}
Best Answer
The requirement for traditional
\caption
right/left justification implies that the table be boxed. You can do this withctable
andcaption
: