I'm looking to produce something like this:

blah blah ____ blah blah

But with a solid line.

Thanks in advance.


1 Answer 1


There is a very simple way to do it. Using \rule[depth]{width}{height}, I know you didn't provided a Minimal Working Example, but here it is a very simple example:

    blah blah \rule{1cm}{0.15mm} blah blah

The code produces the following output blank underline

  • 3
    No need for the math mode ($...$)?
    – tvk
    Commented Apr 17, 2019 at 18:33
  • 2
    Confirmed - Works without math mode.
    – Sunanda
    Commented Nov 24, 2020 at 10:04

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