[Tex/LaTex] How to make a double \hline in the vertical direction

tables

When you put two \hline in a latex table it separates it in two different blocks. I want to make that, but in the vertical direction I have tried putting in the tabular options{|c||cccc|} but this doesn't work beause horizontal lines cross the entire table without leaving a blanck between the first and second column.

My table is as follows.

\begin{table}[]
    \centering
    \begin{tabular}{|c||ccccccccc|}
    \hline
         r,s & 0&1& 2&3&4&5&6&7&8 \\ \hline \hline
         0& 1&$\R\oplus \R$ & $\R(2)$ & $\C(2)$&$\H(2)$&$\H(2)\oplus\H(2)$&$\H(4)$&$\H(4)\oplus\H(4)$&$\R(16)$\\
         \hline
    \end{tabular}
    \caption{Caption}
    \label{tab:my_label}
\end{table}

Best Answer

enter image description here

\documentclass{article}

\usepackage{hhline}


\begin{document}

\begin{table}
    \centering
    \begin{tabular}{|c||ccccccccc|}
    \hhline{-||---------}
         r,s & 0&1& 2&3&4&5&6&7&8 \\ \hhline{=::=========}
         0& 1&$R\oplus R$ & $R(2)$ & $C(2)$&$H(2)$&
$H(2)\oplus
H(2)$&$H(4)$&$H(4)\oplus H(4)$&$R(16)$\\
           \hhline{-||---------}
    \end{tabular}
    \caption{Caption}
    \label{tab:my_label}
\end{table}
\end{document}
Related Question