[Tex/LaTex] How to create long underscore before the text?

rules

Possible Duplicate:
Long underscore in LaTeX

a sample output would be like:

__________ hello

__________ hello

Best Answer

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.

enter image description here

\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.

Related Question