I have looked at this question as well as here and here but I cannot figure out how to produce a long underscore in plain TeX, as in the following example.
Date _____________________________
The closest I have come is the obviously undesirable concatenation which leaves gaps in the rendered output.
Date \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Best Answer
Use a negative height and a slightly bigger depth:
Adjust to suit.
The same idea can be used for “raised rules” (with a negative depth). No rule will appear if depth + height is negative.
If you want a “low rule” that fills up a given space, leaders should be used:
Note that
\leavevmode
is necessary because the command appearing in vertical mode would raise an error because of\hfill
(and would do nothing good either).