مقداری متن برای نمونه.....
% Source - https://tex.stackexchange.com/q/763350
% Posted by Vanellope
% Retrieved 2026-06-04, License - CC BY-SA 4.0
\documentclass{article}
\usepackage{nicematrix}
\usepackage{tikz}
\usepackage{amsmath}
\begin{document}
\begin{NiceTabular}{c*{4}{c}}[
hvlines,
corners = NW,
]
& $N$ & $R$ & $B$ & $RB$ \\
$N$ & $N$ & $R$ & $B$ & $RB$ \\
$R$ & $R$ & $N$ & $RB$ & $B$ \\
$B$ & $B$ & $RB$ & $N$ & $R$ \\
$RB$ & $RB$ & $B$ & $R$ & $N$ \\
\end{NiceTabular}
\end{document}
و متن کمی بعد...