TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To label a node with "1" in TikZ, I can use

\path (0,1) coordinate (P1) node[right=0.05cm] {1};

Is there a way to circle the label "1"?

share|improve this question
up vote 3 down vote accepted

Add the circle and draw options to the node:



\path (0,1) coordinate (P1) node[right=0.05cm,circle,draw] {1};


You can adjust the distance between the border and the 1 using, for example inner sep=<length>, or minimum size=<length>.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.