While preparing an exam, I needed to create empty lines for students to write their answers.
How to typeset that using ConTeXt? I could think of a plain TeX solution: create an appropriate \leaders
to create a ruled line; insert appropriate \vskip
between the lines. Before trying to code it, I decoded to quickly grep ConTeXt base for \leaders
to see if a similar macro was already implemented. Sure enough, ConTeXt had a macro for that: \thinrules
(and \setupthinrules
to change space between the lines, color and thickness of the rule, etc.) Thus, to get the result shown above, I needed:
Fill in the blanks \thinrules[n=2]