# 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? – egreg May 17 '14 at 20:35
Before and after you mean inline? Or a gap before means above? – Sigur May 17 '14 at 20:44

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

aaaaa

\vspace{1cm}
\hrule
\vspace{1cm}

aaaaaaa


If you want a spaced out line.

-