I have just made a command in my own document class wherein if I type: \mline it would automatically output 5 lines only.
My problem would be producing lines by just defining how many lines I want to be displayed by the command \mline.
This is what I want to achieve
Examples:
\mline[10]outputs 10 lines\mline[3]outputs 3 lines
Code
\newcommand{\mline}{
\noindent \null\hrulefill{} \\
\null\hrulefill{} \\
\null\hrulefill{} \\
\null\hrulefill{} \\
\null\hrulefill{} \\
}


\mline? – Gonzalo Medina Nov 04 '12 at 01:07\mlinecommand? ##Code \newcommand{\mline} { \noindent \null\hrulefill{} \null\hrulefill{} \null\hrulefill{} \null\hrulefill{} \null\hrulefill{}} – Kayla Nov 04 '12 at 01:08
\Qlines{5}– karathan Nov 04 '12 at 01:41