47

I'm looking to produce something like this:

blah blah ____ blah blah

But with a solid line.

Thanks in advance.

2

1 Answer 1

64

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:

    \documentclass{article}
    \begin{document}
    blah blah \rule{1cm}{0.15mm} blah blah
    \end{document}

The code produces the following output blank underline

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

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