# How to write this underdash? [closed]

I want to write this expression :

## closed as off-topic by Raaja, Phelype Oleinik, The old JouleV, Stefan Pinnow, hpekristiansenMar 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.

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

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}


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