Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wider \hrulefill

144 views
Skip to first unread message

Volker Stefan Gierenz

unread,
Apr 30, 1997, 3:00:00 AM4/30/97
to

Hello LaTeXians,

I got a question:

is it possible to generate a horizontal line of variable length (like
\hrulefill) but with a wider width (as \rule supports it) and a vertical
offset (like \risebox...)

Thanks: Volker//.

Daniel Luecking

unread,
May 1, 1997, 3:00:00 AM5/1/97
to

>Hello LaTeXians,

>I got a question:

This is raw TeX code:

\leaders \hrule height 3pt depth -2pt \hfill

The \hrule specification says the top of the rule is 3pt above the
baseline, the bottom is 2 pt above (-2 pt below) the baseline. Thus it
is 1 pt thick and raised 2 pt.

--
Dan Luecking -------->-------->-------->-------->-------->--------v
Mathematical Sciences <---+ luec...@comp.uark.edu |
Univ. of Arkansas <---| http://comp.uark.edu/~luecking/ |
Fayetteville, AR 72101 <---+--<--------<--------<--------<--------<

Ulf A. Lindgren

unread,
May 2, 1997, 3:00:00 AM5/2/97
to Volker Stefan Gierenz

Define as

\def\mghrulefill#1{\leavevmode\leaders\hrule\@height #1\hfill\kern\z@}

Use as

\mghrulefill{2pt}

(mg=more general)

--
Ulf A. Lindgren
Department of Applied Electronics
Chalmers University of Technology
S-412 96 Göteborg, Sweden

email: lind...@ae.chalmers.se
WWW: http://www.ae.chalmers.se/~lindgren/

0 new messages