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//.
>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 <---+--<--------<--------<--------<--------<
\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/