I want to have a wide bar over XY but it just shows a small bar. Any idea? enter image description here

\item In the standard $(x,y)$ coordinate plane, point $X$ has coordinates $(-4,0)$ and point $Y$ has coordinates $(0,-8)$. What is the coordinates of the midpoint of $\bar{XY}$?\hfill
    \item $(-6,-1)$     
    \item $(-2,-4)$ 
    \item $(0,2)$ 
    \item $(2,4)$ 
    \item $(6,-1)$          

1 Answer 1


To get an overline, well, just use the \overline TeX primitive!


You might want to add some semantic meaning. E.g., define a macro


and use as


or something similar.

  • 2
    A semantic meaning does not make sense here because overline is really clear. Commented Feb 23, 2023 at 11:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .