Please see below:
There is too little space between the horizontal line from \frac
and the bar from \bar{h_1}
. So, it is a little hard to read. Any alternative way to represent the upper bar? And, it is short too.
ADDED:
This is inline mode. In the display math mode, it is quite better. But in the inline math mode, it looks pretty bad, even with \bar{h}_1
.
Best Answer
I think the problem here is that you are using inline math mode
$..$
as opposed to display mode\[...\]
. Here is the comparison of the output between the two:with the second one producing better spacing. To obtain that you need to either use one of the following
Note that
\dfrac
requires that theamsmath
package be loaded, either by including it explictly\usepackage{amsmath}
, or as part some other package that already includesamsmath
, such\usepackage{mathtools}
.Here is the MWE. Note that the
center
environment was only used to simplify the image capture.To make the bar wider you can use
\overline
as in:or adapt the
xoverline
from The \bar and \overline commands with which you can adjust the spacing:or specify you want it wider with:
Here is a comparison between
\bar{p}_1
,\overline{p}_1
,\xoverline[1.25]{p}_1}
, and{\xoverline[1.50]{p}_1