0

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

Suresh
  • 113

1 Answers1

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

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