Geometry line segment symbol in Math

I've been asked about a way to represent a line that goes through
points A and B, very common in basic geometry, and found a feature
request regarding the lack of it[1]. So, is there there any way to
achieve that?

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=65253

Maybe

overline{ AB }

If you need a different kind of symbol, please upload a picture somewhere to show what you need.

Regards,
Ricardo

this is the symbol needed

https://s16.postimg.org/x9ce51tc5/segmento_ab.jpg

this is the symbol needed

https://s16.postimg.org/x9ce51tc5/segmento_ab.jpg

Got it. Math do not offer that attribute, sorry. But you can obtain something quite similar by cheating a bit with this formula

{ AB }csup{ font fixed {"┣⎼⎼┫"}}

The characters between quotes are U+2523, U+23bc (two times) and U+252b.

Note the need to use a fixed font and the quotes, otherwise it will look terrible.

At least on my system this workaround gives a very good result. Just be aware that screen rendering could be very bad, but export to PDF or print will work without problems.

Regards,
Ricardo