3

How would I make something like this in Latex? enter image description here

Thank you in advance!

1
  • 1
    I'm not sure it's literally a duplicate, but Tex.SE Question 30090 and Tex.SE Question 498790 give you what you need. In brief, amsmath's \underbrace and similar commands type under-material in math mode, use \text for text mode.
    – user52733
    Commented Feb 21, 2023 at 1:14

1 Answer 1

9

You can use the \underbrace command or using mathtools the \underbracket command:

enter image description here

\documentclass{article}

\usepackage{mathtools}

\begin{document}

You can try $1\!\underbrace{666\cdots6}_{m\textup{ 6's}}$ or $1\!\underbracket{666\cdots6}_{m\textup{ 6's}}$

\end{document}

If you want a round brace with the text through it, you can use the abraces package (documentation here):

enter image description here

\documentclass{article}

\usepackage{abraces}

\begin{document}

A special underbrace for $1\!\aunderbrace[l1@{\raisebox{-2pt}{\smash{\scriptsize\,$m$ 6's\,}}}1r]{666\cdots6}$.

\end{document}

Or if you want the text lower:

enter image description here

A special underbrace for $1\!\aunderbrace[l1@{\raisebox{-4pt}{\scriptsize\,$m$ 6's\,}}1r]{666\cdots6}$.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .