Discussion:
Adding a Horizontal Line
(too old to reply)
AdamE
2007-02-15 18:38:38 UTC
Permalink
Is there any easy way to add a horizontal line as a "break" in text?
I've looked at the \line command but keep getting errors whenever I
try to use it. Basically I'd like to have a text break like on a web
page when you insert a horizontal line using say FrontPage.

Adam
Martin Heller
2007-02-15 18:53:10 UTC
Permalink
Post by AdamE
Is there any easy way to add a horizontal line as a "break" in text?
I've looked at the \line command but keep getting errors whenever I
try to use it. Basically I'd like to have a text break like on a web
page when you insert a horizontal line using say FrontPage.
Adam
\noindent\rule{\textwidth}{0.4pt}
Bob Tennent
2007-02-15 19:08:45 UTC
Permalink
Post by AdamE
Is there any easy way to add a horizontal line as a "break" in text?
I've looked at the \line command but keep getting errors whenever I
try to use it. Basically I'd like to have a text break like on a web
page when you insert a horizontal line using say FrontPage.
\line is used in picture environments.

You can get a horizontal rule across the page by using \hrule. But you'll
have to specify the vertical spacing you think appropriate before and after
the rule.

I wouldn't recommend using horizontal rules as breaks. Why don't you use
some nice dingbats to create a somewhat ornamental break?

Bob T.
Stefan Höst
2007-02-15 22:28:36 UTC
Permalink
Post by AdamE
Is there any easy way to add a horizontal line as a "break" in text?
I've looked at the \line command but keep getting errors whenever I
try to use it. Basically I'd like to have a text break like on a web
page when you insert a horizontal line using say FrontPage.
Adam
In LaTeX:

\par\noindent\hrulefill\par

/Stefan
--
AdamE
2007-02-16 01:34:53 UTC
Permalink
Thanks for all the suggestions! The problem is now solved!

Adam
Post by Stefan Höst
Post by AdamE
Is there any easy way to add a horizontal line as a "break" in text?
I've looked at the \line command but keep getting errors whenever I
try to use it. Basically I'd like to have a text break like on a web
page when you insert a horizontal line using say FrontPage.
Adam
\par\noindent\hrulefill\par
/Stefan
--
Loading...