I'm designing a table. In order to increase the first row's spacing I've applied the solution at Spacing for first row in a table, i.e. add \vrule depth 2ex height 4ex width 0pt after the 1st row.
\documentclass{article}
\usepackage{threeparttable}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{makecell}
\renewcommand\theadfont{\bfseries}
\begin{document}
\setlength{\LTleft}{1pt}
\begin{table}[htbp!]
\renewcommand{\arraystretch}{1.1}
\begin{tabular}{ll|c}
\textbf{Country} & \multicolumn{1}{l}{\textbf{GDP p.c.}} & \textbf{Purchasing Power Parity GDP p.c.}\vrule depth 2ex height 4ex width 0pt \
Luxembourg & 127,673 & 141,587 \
Denmark & 65,713 & 69,845 \
China & 12,970 & 21,291 \
India & 2,466 & 8,293 \
\end{tabular}
\caption*{List of countries by GDP per capita & Purchasing Power Parity GDP p.c., 2022}
\end{table}
\end{document}
The solution worked fine but after I've added a vertical line next to the 2nd column, the vertical line extended over the first row's upper boundary.
How to shorten that line (or apply some other fix) so that the table looks decent as a whole?
Optional / Relevant Question I have a hard time specifying the thickness of the vertical line. How to set/increase its thickness, as shown in the screenshot?



\vrule depth 2ex height 4ex width 0ptto e.g.\vrule depth 2ex height 2ex width 0pt. If you want the extra vertical space above thetabularyou can add\vspace{2pt}. For the thickness:\setlength{\arrayrulewidth}{4pt}. – Pieter van Oostrum Jan 20 '23 at 16:59