答案1
使用tikz
:
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}
\node (Q1) at (0,0) {$\mathbb{Q}$};
\node (Q2) at (2,2) {$\mathbb{Q}\Big[\sqrt{2}\Big]$};
\node (Q3) at (0,4) {$\mathbb{Q}\Big[\sqrt[3]{2} \, ; \sqrt{2}\Big]$};
\node (Q4) at (-2,2) {$\mathbb{Q}\Big[\sqrt[3]{2}\Big]$};
\draw (Q1)--(Q2) node [pos=0.7, below,inner sep=0.25cm] {2};
\draw (Q1)--(Q4) node [pos=0.7, below,inner sep=0.25cm] {3};
\draw (Q3)--(Q4);
\draw (Q2)--(Q3);
\draw (Q1)--(Q3);
\end{tikzpicture}
\end{document}
答案2
我改用...xy
包...来绘制用户的图像。我放了我的 MWE 的截图。
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\usepackage[all]{xy}
\begin{document}
\[
\xymatrix@[email protected]{
&\mathbb{Q}[\sqrt[3]{2};\sqrt{2}]\ar@{-}[ld]\ar@{-}[rd] \ar@{-}[dd]\\
\mathbb{Q}[\sqrt[3]{2}] \ar@{-}[rd]_3 &&\mathbb{Q}[\sqrt{2}]\ar@{-}[ld]^2\\
& \mathbb{Q} &
}
\]
\end{document}
答案3
使用该tikzcd
包:
\documentclass[border=32mm]{standalone}
\usepackage{amssymb}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[row sep=huge]
& \mathbb{Q}\Bigl[\sqrt[3]{2} \, ; \sqrt{2}\Bigr]
\ar[dl,-]\ar[dd,-]\ar[dr,-] & \\
\mathbb{Q}\Bigl[\sqrt[3]{2}\Bigr]\ar[dr,"3" ',-]
& & \mathbb{Q}\Bigl[\sqrt{2}\Bigr]
\ar[dl,"2",-] \\
& \mathbb{Q} &
\end{tikzcd}
\end{document}
答案4
和tikz-cd
:
\documentclass{article}
\usepackage{tikz, tikz-cd}
\usepackage{amssymb}
\begin{document}
\begin{tikzcd}[arrows=dash, row sep=3.5em, column sep=1.5em]
& \mathbb{Q}\Bigl[\sqrt[3]{2},\sqrt{2}\Bigr] \dlar\arrow[dd] \drar\\
\mathbb{Q}\Bigl[\sqrt[3]{2}\Bigr] \drar["\textstyle 3",swap]& & \mathbb{Q}\Bigl[\sqrt{2}\Bigr]\dlar["\textstyle 2"]\\
& \mathbb{Q}
\end{tikzcd}
\end{document}