Sometimes katex just not renders the line of the \overline, depending on the zoom or the font-size. - Example without zoom:  - Example with zoom: 