I'm using \vrule in the matrix and pmatrix environments, and it works well. However, inside smallmatrix, \vrule doesn't fill all height of row. It looks that smallmatrix adds some vertical space after each row. Is it possible to get rid of it?
Here is minimal working example to compare \vrule in matrix (works well) and small matrix (doesn't work well):
\documentclass[12pt,sumlimits,a4paper,intlimits,namelimits,twoside]{article} \overfullrule5pt \usepackage[T2A]{fontenc} \usepackage[cp1251]{inputenc} \usepackage[russian,ukrainian]{babel} \usepackage{array} \usepackage{amsmath,amsthm,amsfonts,amssymb} \begin{document} $$ \begin{smallmatrix} 2 & \vline \\\ 2 & \vline \\\ 2 & \vline \\\ 2 & \vline \\\\[2pt]\hline & \vline \\\\[1pt] 2 & \vline \\\ 2 & \vline \\\ 2 & \vline \end{smallmatrix}\quad \begin{matrix} 2 & \vline \\\ 2 & \vline \\\ 2 & \vline \\\ 2 & \vline \\\\[2pt]\hline & \vline \\\\[1pt] 2 & \vline \\\ 2 & \vline \\\ 2 & \vline \end{matrix} $$ \end{document} The result of this example is below. Thanks in advance


