Possible Duplicate:
Can LaTeX be used to make a sheet of blank lines?
I try to create horizontal lines so that students exercise book to write the answer. I can not understand why the following command does not work.
\documentclass[b5paper,svgnames,11pt]{book}
\begin{document}
\hrulefill{} \\
\hrulefill{} \\
\hrulefill{} \\
\hrulefill{} \\
\end{document}
Then I writing like this and everything is okay.
\documentclass[b5paper,svgnames,11pt]{book}
\begin{document}
\phantom{.} \hrulefill{} \smallskip \\
\phantom{.} \hrulefill{} \smallskip \\
\phantom{.} \hrulefill{} \smallskip \\
\phantom{.} \hrulefill{} \smallskip \\
\end{document}
but this does not satisfy me to write a few simple lines one below the other.

\fillwithlinesis a command of theexamclass, so not for general use. Probably my own is better for you; I'll add a complete example with the result. – egreg Oct 23 '12 at 11:15