Skip to content

Commit

Permalink
docs: simplify short verb |...| (pgf-tikz#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Jul 26, 2023
1 parent 42bd29b commit 80ae468
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/generic/pgf/pgfmanual-en-tikz-coordinates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ \subsubsection{Node Coordinate System}
Specifies an anchor of the node. Here is an example:
%
\begin{codeexample}[preamble={\usetikzlibrary{arrows.meta}}]
\begin{tikzpicture}
\node (shape) at (0,2) [draw] {|class Shape|};
\node (rect) at (-2,0) [draw] {|class Rectangle|};
\node (circle) at (2,0) [draw] {|class Circle|};
\node (ellipse) at (6,0) [draw] {|class Ellipse|};
\begin{tikzpicture}[node font=\ttfamily]
\node (shape) at (0,2) [draw] {class Shape};
\node (rect) at (-2,0) [draw] {class Rectangle};
\node (circle) at (2,0) [draw] {class Circle};
\node (ellipse) at (6,0) [draw] {class Ellipse};

\draw (node cs:name=circle,anchor=north) |- (0,1);
\draw (node cs:name=ellipse,anchor=north) |- (0,1);
Expand Down

0 comments on commit 80ae468

Please sign in to comment.