This is such a simple thing and should just work, but I don't understand why it is not. I have a simple table with three columns and two rows. I wanted the text in each cell in the first row to be vertically centered. It does center
vertically in the first and second columns, but in the third column, the text remains at the top. My source is as follows:
\documentclass[12pt]{article}
\usepackage[margin=2cm]{geometry}
\usepackage{array}
\title{}
\author{}
\pagestyle{empty}
\date{}
\begin{document}
\setlength\extrarowheight{2pt}
\begin{tabular}{|m{1cm}|m{4in}|m{3cm}|}
\hline
\textbf{No.} & \textbf{Particulars} & \textbf{Amount}\\[8pt]
\hline
1. & Blah blah blah & 2,000.00\\[8pt]
\hline
\end{tabular}
\end{document}
I almost feel sorry to have to ask this here, as it is such a simple thing. But, it gives me a less than satisfactory result, and I don't seem to be able to make out what is going wrong.


\\[8pt]) to be the culprit. – leandriis Mar 25 '20 at 19:16