I would like to draw a diagram like this. Is this possible to do with TikZ? I read the tutorial, but didn't see anything specifically for this. I am also not sure how to describe what I want to draw either.
Asked
Active
Viewed 310 times
0
2 Answers
5
Do you really need TikZ for that?
\documentclass{article}
\usepackage{mathtools}
\makeatletter% From https://tex.stackexchange.com/a/419690/156344
\def\smalloverbrace#1{\mathop{\vbox{\m@th\ialign{##\crcr\noalign{\kern3\p@}%
\tiny\downbracefill\crcr\noalign{\kern3\p@\nointerlineskip}%
$\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
\makeatother
\begin{document}
\[\smalloverbrace{1}^{\mathclap{\text{identity}}},\underbrace{(12),(13),(23),}_{\mathclap{\text{three transpositions}}}\overbrace{(123),(132)}^{\mathclap{\text{two 3-cycles}}}\]
\end{document}
2
Edit 3: I replaced everything because there were a few commas missing or deleting from the code and brackets.
As already written by the very good @JouleV user, there is no need to use graphics to create simple graphics that can be traced back to commutative diagrams, or to simple tricks of symbolic mathematical notation. I'm showing you another possibility that certainly won't be the best.
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[row sep=.4cm, column sep=.2cm]
& 1, & \underbrace{{(12), (13), (23)}}{}, & \underbrace{{(123), (132)}}{} \arrow[rd, no head] & \\
\text{identity} \arrow[ru] & & \text{three traspositions}
\arrow[u, no head] & &\text{two 3--cycles}
\end{tikzcd}
\end{document}
Sebastiano
- 54,118



just-do-it-for-mesite. – Raaja_is_at_topanswers.xyz Apr 07 '19 at 12:32Xto achieveY:) or please explicitly mention such a statement as in your comment. – Raaja_is_at_topanswers.xyz Apr 08 '19 at 06:13