Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I drew a point using TikZ and labelled it 'P0'.

\documentclass[a4paper,10pt]{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=1]

  \path (0,0) coordinate (P0) node[right]{P0};
  \fill (P0) circle (2pt);

\end{tikzpicture}

\end{document}

Now, in the output, the label 'P0' is too close to the point itself. Is there a way to move it further from the point?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

You can use right=<dimension>

\documentclass[a4paper,10pt]{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=1]

  \path (0,0) coordinate (P0) node[right=2cm]{P0};
  \fill (P0) circle (2pt);

\end{tikzpicture}

\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

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.