during my work I've encountered the following problem:
I tried to prepare external border of my table. And it worked fine, to the time I applied \multicolumn
command to merge two adjacent cells. The name of new merged cell is "Oznaczenia zastosowane w artykule".
Please look at screenshot below.
We can see that there is blue thin part border color at left and right from the cell "Oznaczenia zastosowane w artykule":
How to improve that and keep that color of external thicker border at both sides (left and right)?
Below is my MWE code:
\documentclass[aps,physrev,showkeys,twocolumn,nofootinbib,floatfix]{revtex4-2}
\usepackage[polish]{babel}
\selectlanguage{polish}
\usepackage{polski}
\usepackage[table,xcdraw]{xcolor}
\usepackage{array,booktabs}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{setspace}
\newcommand\VRule[1][\arrayrulewidth]{\vrule width #1}
\begin{document}
\onecolumngrid
\newpage
\arrayrulecolor{blue}
\begin{table}[htbp]
\begin{tabular}{ !{\color{red}\VRule[.5mm]} l l !{\color{green}\VRule[.5mm]} } \specialrule{.5mm}{2pt}{0cm}
\hfill & \hfill \\[0.25cm]
\multicolumn{2}{|l|} {\hspace{5mm}\textbf{Oznaczenia zastosowane w artykule} } \\ [4mm]
\hspace{5mm} \textbf{Symbol} & \textbf{Opis} \\ [4.5mm]
\hspace{5mm} $\mathrm{ a }$ \hspace{3cm} & --~połowa długości [długość] pęknięcia w próbce M(T) [CT] \\
\hspace{5mm} $\mathrm{ BFS }$ & --~oznaczenie pozycji czujnika \\
\hspace{5mm} $\mathrm{ CC }$ & --~zamykanie się pęknięcia \\ \specialrule{2pt}{0pt}{0pt}
\end{tabular}
\end{table}
\twocolumngrid
\end{document}
\multicolumn{2}{|l|}
I guess you wanted\multicolumn{2}{!{\color{red}\VRule[.5mm]}l!{\color{red}\VRule[.5mm]}}
tcolorbox
for this task.