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

I don't know if anyone here is skilled with Ipe7. A drawing tool for LaTeX.

I have two circles. One with a radius of X the other with radius X + Y, a wheel. Now I want the area between those circles filled with a color. How do I do this?

I tried joining the two circles but that fails saying: a selected object does not consists of open curves.

I also tried filling one circle and making the other opaque.

Anyone knows how to do this?

Edit: I fixed it currently by creation 2 arcs and connecting them together. However now I have a again a shape which can't be propperly joined... Hopefully someone can help me with this and explain how it is done good...


share|improve this question
If you enable object snapping you can draw CW or CCW arcs by snapping to each circle and drawing the intersecting arc. Then right click on the curve and select stroke&fill -> Fill only. – percusse Jan 15 '13 at 17:22
@percusse This was an answer, not a comment? – Sveinung Jan 15 '13 at 19:06
@Sveinung It's just a description I need to get the screenshots etc. to write a proper answer. – percusse Jan 15 '13 at 22:54
@percusse I didn't really understand what you meant but I did now the following. I just build two arcs and connected them together. – WG- Jan 16 '13 at 9:52

To be able to draw complicated shapes you need to draw the sub paths individually and then connect them by selecting two subpaths and then by right clicking on any of them selecting the Join Paths option. That will apply the line join settings on the subpaths and end points are joined properly.

In your example your subpath endpoints are not exactly aligned hence they cannot be joined.

enter image description here

The easiest way to do this without such problems is to use the endpoint snapping and starting next subpath from the snapped position. If I redraw the upper part of the problematic curve by guessing and joining all the paths I obtain the following

enter image description here

share|improve this answer
What is endpoint snapping? I assume you mean vertex snapping? And "In your example your subpath endpoints are not exactly aligned hence they cannot be joined." Why not? I used vertex snapping and moved the endpoint of the line exactly to the end of the other... – WG- Jan 16 '13 at 23:25
@WG- I wish I knew why it didn't work but fixing it solves the issue as you can see from the screenshot. – percusse Jan 16 '13 at 23:33

A common ipe drawing technique is rather than drawing something directly, draw a background and then subtract from it. In your case, that would mean fill the larger circle with the color, and then fill the smaller circle with white. Bring the smaller circle to the front so that it is drawn on top of the larger circle. In the drawing below, the circles don't have the same center, since I couldn't tell from your question if that's what you wanted or not. You can draw much more complicated shapes this way as well, without having to deal with joining paths.


share|improve this answer
Can you also apply it to the given example? I don't think subtraction is an easier alternative to that shape. – percusse Mar 6 '14 at 8:49
@percusse for the shape in your answer, I agree! I was just offering another technique that is helpful to know about in some cases. I also draw complex shapes using a single splinegon object, and making small adjustments using right-click->edit-path, but you can't make true circular arcs that way. – Joe Mar 6 '14 at 18:31

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.