0

Possible Duplicate:
Long underscore in LaTeX

I am not even sure if there isn't a proper typographical term for this thing. I use it for a questionnaire, where I have questions like:

I have worked ____ years in this job position

If I write the questionnaire in Word, I can use 3-4 underscores in row, and it will appear to be an uninterrupted horizontal line in the middle of the sentence. But if I try the same thing in LaTeX, I get discrete underscores, which look ugly.

There must be a better way to do this. What can I use?

marked as duplicate by egreg, Mike Renfro, Frank Mittelbach, lockstep, doncherry Mar 5 '12 at 16:20

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.

  • \makebox[2cm]{\hrulefill} (use the dimension you want instead of 2cm) – egreg Mar 5 '12 at 15:43
  • See Long underscore in LaTeX in the "Related" sidebar. – Mike Renfro Mar 5 '12 at 15:52
  • @rumtscho Use the answer to the second question mentioned by Mike – egreg Mar 5 '12 at 15:57