[Tex/LaTex] Get a thicker \bar

math-modesymbols

How to get a \bar more thicker (0.8pt for example) than usual and fit all character?

Best Answer

\documentclass{article}
\usepackage{accents}
\newcommand\thickbar[1]{\accentset{\rule{.4em}{.8pt}}{#1}}
\begin{document}

$\bar A$ VS $\thickbar A$

\end{document}

enter image description here

You can change the width and height of the rule as you wish.