0

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.

Werner
  • 603,163
David
  • 1,964

2 Answers2

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.