# leave gap before and after \hrule

I'm using \hrule to draw a line that has the width of the text.

Is there a safe way to leave a gap before and after the line?

The plain code is:

blablabla
\hrule
blabla


And produces:

Coming closer to what I need is:

blablabla \\
\hrule
blabla


Which produces:

And, of course, I get error messages when I try:

blablabla \\
\hrule
\\ blabla

• \hrule, probably. Can you add an example of how you use it? May 17, 2014 at 20:35
• Before and after you mean inline? Or a gap before means above? May 17, 2014 at 20:44

Try to avoid using \\ just end the paragraph and add space:
aaaaa