# \overline not working in LaTex Math mode (with Workaround)

This is a reference to \overline not working in LaTex Math mode, which was closed. The proposed workaround did not work for me, so I had to find my own

### Steps to reproduce

Enter either $or$\$ modes and use the \overline{} command

### Expected result

A line that spans over the given text

### Actual result

Nothing appears to be changed about the text

### Environment

• Operating system: Windows
• Obsidian version: v1.0.3

I have tried disabling and enabling plugins and CSS snippets but to no avail.

# Workaround

Create a CSS snippet with folowing content:

@media not print {
mjx-stretchy-h mjx-ext {
border-top: 0.5px solid;
}
}


Since it seems to work correctly when exporting, I sourounded it with the media query not print.
This workaround is pretty hacky but seems to work reliably.

did you see why it was closed?