please help me with a hopefully small problem. I would like the
TeX-command
\hrulefill
to produce thicker lines. As to my knowledge, there is no appropriate
lenght or parameter for this purpose. Any idea on how this can be done is
appreciated.
Thank you for your ideas,
Sebastian.
\def\varrulefill#1{\leaders\hrule height#1\hfill}
Would that be the ``canonical'' way to a solution?
>please help me with a hopefully small problem. I would like the
>TeX-command
>
> \hrulefill
>
>to produce thicker lines. As to my knowledge, there is no appropriate
>lenght or parameter for this purpose. Any idea on how this can be done is
>appreciated.
\hrulefill is a macro which expands to \leaders\hrule\hfill
(as you can learn either from consulting the index of the TeXbook
or searching for "\hrulefill" in the plain.tex file on your
computer). Since (as you suggest you know) \hrule does take
parameters (namely, in this case, height and depth) when you
care to pass them, I think you're all set.
Lee Rudolph
I would have used
\def\verrulefill#1{\leaders\hrule width 0pt height#1\hfill}
otherwise you would get the stuff on the right badly aligned.
Oscar Lazzarino
??
Why does this work?
I thought \hrule width 0pt was invisible?
Jules
Simply modify the definition of \hrulefill. Or, rather, produce
something like it.
(TeXbook, p357)
\def\hrulefill{\leaders\hrule\hfill}
You want
\def\hrulefillthicker{\leaders\hrule height 2pt\hfill}
or possibly
\def\hrulefillvar#1{\leaders\hrule height #1\hfill}
so you can type
\hrulefillvar{3pt}
A 'normal' \hrule is height 0.4pt, for comparison.
Jules
Oooops, sorry, this is not true. Something else was broken.
Oscar