Does any know how to put an arrow on top of a table in latex? Got the feeling I need tikzmark. But wasn't able to get the arrow at the right position.
\begin{table}[H]
\centering
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
\hline
\tikzmark{b}4 & 2 & 1 & 3 & 6 & 5 & 12 & 8\tikzmark{a} & 7 & 10 & 11 & 12 & 14 & 13 & 15 \\
\hline
\end{tabular}
\begin{tikzpicture}[overlay, remember picture]
\draw [<-] (a) [bend left] to (b);
\end{tikzpicture}
\end{table}



\documentclass{...}, continued by essential used packages,\begin{document}and ending with\end{document}. Also use figure environment option[H]is measure of last resort if other options doesn't work as you expected. In your case use of[htb]is just fine. – Zarko Sep 11 '16 at 09:50