0

This question already has an answer here:

I need to give a answer line along the question. what should I do?

That is if I have a question like this..

The value of $\sin^2\theta+\cos^2\theta=______________$

What should I do to put dash along the question itself.

marked as duplicate by Werner, user31729, Przemysław Scherwentke, Malipivo, user13907 Dec 7 '14 at 8:39

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.

1

Use \rule command like the following:

\documentclass{article}
\usepackage{amsmath} 
\begin{document}
The value of $\sin^2\theta+\cos^2\theta=\rule{60pt}{1pt}$
\end{document}
1

If I correctly understand your question, you want to obtain something similar to the following:

\documentclass{article}

\begin{document}

%The value of $\sin^2\theta+\cos^2\theta=______________$

\noindent
\hbox to\linewidth{The value of $\sin^2\theta+\cos^2\theta=\hrulefill$}

\end{document}

enter image description here

I would suggest rather ...\theta={}\hrulefill... for better spacing around = sign.

  • oh.. i may be not clear.. I need the answer what vahid Posted. @Przemyslaw – David Dec 7 '14 at 7:06
  • @David So exactly what I made: an underscore to the end of a line. Or I am missing something? – Przemysław Scherwentke Dec 7 '14 at 7:09

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