0

I want to write this expression :
enter image description here
so, what will be its code? please help...

closed as off-topic by Raaja, Phelype Oleinik, JouleV, Stefan Pinnow, hpekristiansen Mar 6 at 12:27

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 8
    \underline{100101} or what do you mean? – JouleV Mar 6 at 10:56
  • 4
    I'm voting to close this question as off-topic because it is solved via comments. – Raaja Mar 6 at 11:36
2

The \underline macro allows you to underline a word in a sentence. If you want to underline a sentence, the ulem package allows you to underline a sentence written on several lines.

\documentclass{article}
\usepackage{ulem}

\begin{document}
\textbf{With underline}:

\underline{100101} 101

\bigskip

\textbf{with uline}:

%allows you to underline a sentence written on several lines
\begin{minipage}[t]{.3\textwidth}
   \uline{allows you to underline a sentence written on several lines}
\end{minipage}
\hfill
\begin{minipage}[t]{.9\textwidth}
  % \uline{100101} 101
\end{minipage}

\end{document}

screenshot

  • I don't think he needs to underline multi-line text though. He only needs to underline 100101. – JouleV Mar 6 at 12:20
  • 1
    As marmot said "The point of answers is to go beyond what already existed before" – AndréC Mar 6 at 14:46

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