格子节点标签被所有其他节点标签覆盖

格子节点标签被所有其他节点标签覆盖

当我运行以下代码时,节点 V 的标签会被所有其他节点标签覆盖。如何修复此问题?

\documentclass[14pt]{extarticle}
\usepackage{mathtools}
\usepackage{fancyhdr}
\usepackage{tikz}
\usetikzlibrary{positioning}
\pagestyle{fancy}
\title{Insert Title Here}
\author{Name of Author}
\date{Date}
\begin{document}
\maketitle
%-|SECTION 1
\section{A New Section}
New text goes here.  The introduction has yet to be written.  This 
work is still in progress.  But first, I need to create a lattice
diagram.
\hfill\null\\[36pt]
\begin{tikzpicture}[node distance=2cm]
\node(V){$F$};
\node(u)[below=of V]{$G$};
\node(s)[left=of u]{$H$};
\node(b)[right=of u]{$J$};
\node(e)[below=of u]{$K$};
\draw (V) -- (s);
\draw (V) -- (u);
\draw (V) -- (b);
\draw (s) -- (e);
\draw (u) -- (e);
\draw (b) -- (e);
\end{tikzpicture}
\hfill\null\\[9pt]
More text goes here.\\
\end{document}

相关内容