
在 中TikZ
,我嘗試創建一個在其東北部帶有文字的點。我知道你應該使用類似的東西\node[anchor=northeast] {Whatever}
,但這只會給我一個錯誤。這是我的程式碼:
\begin{tikzpicture}
\filldraw [blue] (0,0) circle(2pt) node[anchor=northeast] {Origin};
\end{tikzpicture}
有某種 TikZ 庫或類似的東西嗎?請告訴我。
答案1
north east
, 不是northeast
。 TikZ 中的錨點名稱帶有空格。