Text Formatting ⇒ pifont | Dingbat Symbol inside '\underbrace'
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
pifont | Dingbat Symbol inside '\underbrace'
How can one put a \ding{192} symbol in underbrace{}_{} particularly in the second curly brace in the \underbrace command? Surrounding the symbol with $ $ does not seem to work :S
Last edited by ghostanime2001 on Tue Dec 06, 2011 4:37 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pifont | Dingbat Symbol inside '\underbrace'
Code: Select all
\documentclass{article}
\usepackage{mathtools} % loads »amsmath«
\usepackage{pifont}
\begin{document}
\[
\underbrace{x+y}_{\text{\ding{192}}}
\]
\end{document}
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: pifont | Dingbat Symbol inside '\underbrace'
Is there a way to customize the curly underbrace?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pifont | Dingbat Symbol inside '\underbrace'
Why do you always come bit by bit with your questions and don't ask them right out at once? In which way do you want to customize the brace?ghostanime2001 wrote:Is there a way to customize the curly underbrace?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: pifont | Dingbat Symbol inside '\underbrace'
to control the vertical spacing between the top item and the bottom and how wide should the braces "embrace" the item it's bracing
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pifont | Dingbat Symbol inside '\underbrace'
Code: Select all
\documentclass{article}
\usepackage{mathtools} % loads »amsmath«
\usepackage{pifont}
\begin{document}
\[
\underbrace{\makebox[4em]{$x+y$}\strut}_{\strut\text{\ding{192}}}
\]
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10