How do you draw simple lattice diagrams with MathJax? [duplicate]

How do I make a lattice diagram, for example a tower of field extensions, on this website using MathJax?

I'll also accept a redirect to a helpful page. Here's a link to the original question I asked on TexSE.

• @Arkamis So it seems there's not an easy way. Disheartening, but helpful anyways. Dec 22 '14 at 1:13
• Unfortunately so. The easiest way might be to become familiar with some of the LaTeX commutative diagramming tools and use a service such as ShareLaTeX to code up the image. From there, it's easy enough to embed the image in a question. Dec 22 '14 at 1:17
• For bonus points, you could make public the tex document and provide a link so others could edit. Dec 22 '14 at 1:18
• @Arkamis Thank you, I will try that. Dec 22 '14 at 1:22
• @Arkamis Bonus points counter-offer: Do you know of any other relevant tags to add? I couldn't find any syntax-related ones. Dec 22 '14 at 1:23
• Most questions pertaining to Mathjax usage are generally considered to belong on Meta, actually. Dec 22 '14 at 1:24
• @Arkamis Ah, that's good to know. Is there a way I can migrate it (so the comments and answers still appear)? Dec 22 '14 at 1:27
• You can flag and just comment that it should be migrated. But since this question has an accepted answer, I'd just let it be. Eventually someone else will search for what you're asking on main, and they might come across this question. Dec 22 '14 at 1:29
• This post has an example with TikZ and TikZ-cd on making a lattice type diagrams. Dec 22 '14 at 21:59
• The technical term is Hasse diagram. Dec 23 '14 at 0:05
• Dec 23 '14 at 7:07
• For what it's worth, MathJax was never really meant for this sort of thing. (Not as of today, at least, though perhaps it will be in the future.) It's meant as a way to render simple formulas, not as a complete in-browser implementation of (La)TeX; in fact the only reason MathJax has anything to do with TeX is that the LaTeX/AMSTeX syntax for math is the one that most professionals are familiar with. Dec 27 '14 at 7:34
• FWIW, the reason why MathJax currently does not easily draw more advanced diagrams, in particular diagonal arrows, is that our underlying format is MathML which does not easily lend itself to that. In the long run, we hope to add SVG-based extensions as part of core MathJax. E.g. the third party xyjax extension provides much of xypic (using SVG). Dec 30 '14 at 7:38
• It seems that many users who need similar diagrams (field extensions or Galois theory or subgroups or Hasse diagrams in general) include them in images. Oct 7 '16 at 2:06
• One possibility would be to ask also in comments to some of those posts what software the particular poster used, but I am not sure whether you will learn something which is not already covered in some of the several meta posts on this or closely related topics). Oct 7 '16 at 2:06

$$\begin{matrix} && \Bbb Q(\sqrt{2},i) & \\ &\huge\diagup & \huge| & \huge\diagdown \\ \Bbb Q(\sqrt{2}) & & \Bbb Q(i\sqrt{2})& & \Bbb Q(i)\\ &\huge\diagdown & \huge| & \huge\diagup \\ &&\Bbb Q \end{matrix}$$
$$\begin{matrix} && \Bbb Q(\sqrt{2},i) & \\ &\huge\diagup & \huge| & \huge\diagdown \\ \Bbb Q(\sqrt{2}) & & \Bbb Q(i\sqrt{2})& & \Bbb Q(i)\\ &\huge\diagdown & \huge| & \huge\diagup \\ &&\Bbb Q \end{matrix}$$

• or $$\mathbb{Q}(\sqrt{2},i)$$$$\Bigg / \hspace{.75cm}\Bigg \vert \hspace{.75cm}\Bigg \backslash$$$$\mathbb{Q}(\sqrt{2})\hspace{1.5cm}\mathbb{Q}(i\sqrt{2})\hspace{1.5cm}\mathbb{Q}(i)$$$$\Bigg \backslash \hspace{.75cm} \Bigg \vert \hspace{.75cm}\Bigg /$$$$\mathbb{Q}$$