Possible Duplicate:
Long underscore in LaTeX
a sample output would be like:
__________ hello
__________ hello
Possible Duplicate:
Long underscore in LaTeX
a sample output would be like:
__________ hello
__________ hello
You can write it in a number of ways, but the easiest is probably \rule{<len>}{<width>} hello where you specify <len> and <width>. Typically, <width> is 0.4pt.

\documentclass{article}
\begin{document}
\rule{10em}{0.4pt} hello \par
\rule{50pt}{1pt} hello
\end{document}
In a more general setting, see Long underscore in LaTeX.
\newcommand{\Qline}[1]{\noindent\rule{#1}{0.6pt}}– karathan Nov 11 '12 at 12:57