From 34e9255ea7289229b979324c9195d4992340bc3a Mon Sep 17 00:00:00 2001 From: muzimuzhi Date: Wed, 26 Jul 2023 23:25:54 +0800 Subject: [PATCH] docs: simplify short verb `|...|` (#1267) Signed-off-by: muzimuzhi --- doc/generic/pgf/pgfmanual-en-tikz-coordinates.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/generic/pgf/pgfmanual-en-tikz-coordinates.tex b/doc/generic/pgf/pgfmanual-en-tikz-coordinates.tex index bf6047fc1..aedf0f648 100644 --- a/doc/generic/pgf/pgfmanual-en-tikz-coordinates.tex +++ b/doc/generic/pgf/pgfmanual-en-tikz-coordinates.tex @@ -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);