Consider the following MRE where you would notice that it's difficult for the average reader to see the bars above Q and k.
\documentclass[11pt]{article}
\begin{document}
\begin{tabular}{|c|c|}
\hline
cell 1 & cell2 \\ \hline
$\bar{k}$ & $\bar{Q}$ \\ \hline
\end{tabular}
\end{document}
How do I fix this issue? I don't really mind whether you insert a vertical space above the letters or use a more clever way -- I'm simply looking for a solution to this issue without having to write a lot of code (so that I can remember it and reproduce later when needed).
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for the users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.\toprule
,\midrule
and\bottomrule
of packagebooktabs
instead ofhline
for better formatting of tabulars.tabularray
, it has better spacing by default: i.sstatic.net/82cK18HT.png