1

I want to make a horizontal brace for mark a part of some numbers as special. see the picture: I hope I made it clear... enter image description here

  • 1
    \underbrace{1010}_{\mathrm{Desc}} – David Carlisle Nov 1 '15 at 15:08
1

If you want the number to be not split into two parts, I suggest using pstricks, inserting empty nodes at the relevant places, and joining them by an ‘underbracket’. Here are two possibilities:

\documentclass[12pt,a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{pst-node}
\usepackage{auto-pst-pdf}

\begin{document}

\[\begin{postscript}
  \psset{shortput=nab, linewidth=0.5pt, arm=0.6ex, nodesep=1.5pt, labelsep=1.5pt, angle=-90}
  \pnode{a}1010\pnode{b}1010\pnode{c}
  \ncbar{a}{b}_{\textsf{\scriptsize Desc}}\ncbar[arm=1ex]{b}{c}_{\textsf{\scriptsize my desc}}
  \end{postscript}
\]
\[\begin{postscript}
  \psset{shortput=nab, linewidth=0.5pt, arm=0.6ex, nodesep=1.5pt, labelsep=1.5pt, angle=-90}
  \pnode{a}1010\pnode{b}1010\pnode{c}
  \ncbar{a}{b}_{\textsf{\scriptsize Desc}}\ncbar[angle=90, nodesep=1.8ex]{b}{c}^{\textsf{\scriptsize my desc}}
  \end{postscript}
\]
\end{document} 

enter image description here

4

Use the underbrace command.

MWE given below.

\documentclass{article}

\begin{document}
\begin{equation}
\underbrace{1010}_{\textrm{Desc}} \underbrace{1010}_{\textrm{mydesc}}
\end{equation}
\end{document}

enter image description here

  • 1
    better to use \mathrm (or load amsmath) otherwise `\textrm doesn't get smaller in the subscript) – David Carlisle Nov 1 '15 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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