I'm trying to draw a diagram my teacher drew on the blackboard to summarize divisibility relationships and I just can't get it right. Here is my best attempt:
\documentclass[a4paper]{report}
\usepackage[all]{xy}
\usepackage{amsmath,amsfonts,amssymb,graphicx,color}
\begin{document}
\begin{gather}
|S^G|=|G:\operatorname{Stab}_G(S)|=|G:N_G(S)|. \
\xymatrix{
G \ar@{{}\composite{\hbox{\scalebox{2}{$\underset{\Big{}{\scriptscriptstyle\text{\color{white}A}}$}}}}@<-3ex>[dd]_{p'\quad}\ar@{{}\composite{\hbox{\scalebox{1}[2]{}}}}{}}@<1.5ex>[d]^{p'}\ar@{-}[d] \
N_G(S) \ar@{-}[d] \
S \ar@{-}[d] \
1
}
\end{gather}
\end{document}
Result:

OK, there is an extra line in the code, and I should use a single equation for an isolated matrix. Anyways, the problem is obvious: those long braces just won't properly extend. I need the big brace to extend from close to the G to close to the S. I tried lots of variants, but the brace invariably starts either far from the G or above (!!) the G, and always ends close to the N_G(S). The little brace is also somewhat problematic, but I guess I can leave it as is, and besides when (and if) I fix the big one the little one will probably be easy to fix. So how do I fix that big brace?



tikz-cd. – Sigur Jul 19 '15 at 18:13tikz-cdand make that diagram with it. But my time might not be much. I have to deal with the notes of a teacher who didn't prepare his lessons (I mean the exercise teacher for the course whose theory teacher drew the diagram), and wading through those might take even longer than I fear. For example one of those unprepred lesson took me some 8+h to complete. So I really don't know what to expect from that and I'd rather avoid learning to use a new package from scratch. But then if there really is no alternative... – MickG Jul 19 '15 at 18:52