TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Long underscore in LaTeX

a sample output would be like:

__________ hello

__________ hello
share|improve this question

marked as duplicate by Werner, Peter Grill, yo', egreg, Stefan Kottwitz Nov 11 '12 at 13:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Something here or here might help you. For more options, search the site for "long underscore". – Scott H. Nov 11 '12 at 3:20
    
I think you should take a look here .... at the point \newcommand{\Qline}[1]{\noindent\rule{#1}{0.6pt}} – karathan Nov 11 '12 at 12:57
up vote 7 down vote accepted

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.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.