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
\begin{tikzpicture}[overlay,remember picture]
    \path node [draw, circle, inner sep = 0] at (current page.center) {Test circle\ldots};

I have this circle and want to specify it's radius with command I have saved with the name \sRadius but I can't find where to place my value for /tikz/radius

share|improve this question
up vote 3 down vote accepted

You can use minimum width as you are defining circle as a node shape:

\begin{tikzpicture}[overlay,remember picture]
    \path node [draw, circle,minimum width=\sRadius, inner sep =0cm] at (current page.center) {Test circle\ldots};

Note that the minimum width will be equal to the diameter. If you are re-using this node many times, then you may put the parameters inside a tikz style.

share|improve this answer
\tikzset{Circle/.style={shape=circle, minimum size=#1, inner sep=0pt}, Circle/.default=\sRadius} might be a helpful style. – Qrrbrbirlbel Apr 15 '13 at 4:16
But why is the property radius not accessible? – Supernovah Apr 15 '13 at 5:06
@Supernovah Because it's a node and many factors effect the radius. The text content, line width, inner sep, outer sep etc. all is considered by TikZ before coming up with a number in the bowels of shape declaration and that is not a fixed number. If you put more text in the node TikZ enlarges the circle. If you need a simple circle use a circle instead of a node. – percusse Apr 15 '13 at 7:35
Okay so my goal is to draw a number of circles that need to be as wide as the page and slightly smaller and then also a large number of arcs inside them. Is tikz the best library for this? – Supernovah Apr 15 '13 at 21:35
@Supernovah tikz can do it quite neatly. Use minimum width = \textwidth (or \paperwidth if you mean it). For arc, you may use something like \draw (0,0) arc (0:270:5cm); meaning an arc starting at point (0,0) from angle 0 to 270 with a radius of 5cm. Refer pgfmanual for more details (www.texdoc.net). – Harish Kumar Apr 15 '13 at 22:16

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.