Article View: net.text
Article #615Re: TeX question about hrules
From: Chris Torek
Date: Tue, 13 Aug 1985 22:41
Date: Tue, 13 Aug 1985 22:41
17 lines
1257 bytes
1257 bytes
Within \hbox es, you can use \hrulefill to generate a "leader" rule
which fills all the available space (just like an \hfil only it
draws a line too). So if you wanted to create a horizontal rule
that spans the entire page (\hsize) you could do this:
\hbox{\kern-\leftskip\hbox to \hsize{\hrulefill}}
The \kern-\leftskip should move you back by the amount of left
margin (NOT including the 1in margin inserted by the DVI to
device conversion program).
There is probably a better way to do that, but I haven't got
a TeXbook handy.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP: seismo!umcp-cs!chris
CSNet: chris@umcp-cs ARPA: chris@maryland
Technical Details
Message-ID:
<1212@umcp-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chrisReferences:
<569@bu-cs.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.text Subject: Re: TeX question about hrules Message-ID: <1212@umcp-cs.UUCP> Date: Tue, 13-Aug-85 18:41:00 EDT Article-I.D.: umcp-cs.1212 Posted: Tue Aug 13 18:41:00 1985 Date-Received: Thu, 15-Aug-85 00:47:39 EDT References: <569@bu-cs.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 17