Linked Questions

1
vote
1answer
198 views

Is there a way to draw/fill with eraser (tikz)? [duplicate]

I wish build up a tikz picture from layers. Is there a way to draw/fill one of the layer with "eraser" (not transparency)? Somehow: I have no idea therefore neither MWE :-/ (I know, that there is an ...
24
votes
3answers
11k views

How to make overlay still work inside lstlisting environment?

Problem I want to explain C# programming language step by step using overlay in beamer.cls. But it does NOT works as shown in the following figure. How to solve this problem? Code Snippet \...
16
votes
7answers
855 views

TikZ - How can I filldraw areas spanned over an arc?

I'd like to draw an angle transmitter: The following code shows what I have come up with so far, which is basically nothing. I can't figure out how to fill up for cells per quadrant... in a radial ...
21
votes
4answers
4k views

Is there a way to draw TikZ lines on the “inside” or “outside” of a path?

In this answer, Jake points out The miter option is more "correct" in that it doesn't add new corners to a shape or introduce rounding. In some cases with very sharp angles, the results might ...
15
votes
3answers
2k views

How to Reverse Clip on Custom Path Defined by Ellipse Intersections

Suppose I have two ellipses with known locations, major and minor axes, and rotation angles. What I would like to do is define a custom path that primarily uses one ellipse but follows the other at ...
14
votes
5answers
2k views

TikZ: complicated paths, e.g. for complex integrals

I would like to illustrate lecture notes on complex analysis, which by its nature is a lot about how the lines of integration are running through the complex plane. However, I'm having trouble finding ...
12
votes
5answers
3k views

Clipping a path using a node

I've searched, but I can't find a previous question sufficiently close to this one to find an answer. At the same time, this problem seems like it must have been solved by someone before now, so ...
13
votes
4answers
3k views

Merge arrows with TikZ

I am still learning to use TikZ and now I find myself in a tight spot. I want to draw three processes on the lhs and one on the rhs. These processes are represented by a circle. I then want three ...
12
votes
3answers
767 views

Drawing circular sector regions

I would like to round the corners of the gray filled areas. The problem seems to be in how I am building the borders as separate pieces as opposed to one contiguous command that can use the "rounded ...
8
votes
6answers
2k views

clip in TikZ leaves a faint outline of clip region even after filling with white!

I have three circles A, B, C whose centers are collinear and equally spaced. I would like to clip the region which is inside the middle circle, but outside the other two. I do a poor man's version ...
13
votes
2answers
2k views

Is it possible to fill the complement of (A union B union C) with a solid color but the remaining regions remain transparent?

Please ignore the binary numbers. Without finding the intersection points in advance, is it possible to fill the complement of (A union B union C) with a solid color but the remaining regions remain ...
7
votes
3answers
358 views

How to partially make a segment of a path dashed?

I have two stocks, A and B. These two "meet" each other at rates q(x), and f(x), by going through a joint-state process called X. Then, A becomes a, and B becomes b. I thought about visualizing the ...
8
votes
4answers
1k views

Fill a section between two circles with TikZ

I am trying to fill a pattern in a section between two circles with TikZ. In the code below, C0 is a circle with radius=1, center=(0,0). C1 is a circle through Point z0 with center=z1. Calculating ...
7
votes
6answers
2k views

Graphics: Clip or cutout a circle from a circle

I have a very specific problem that needs solving: I would like to produce a shape which can be most easily thought of as a circle or an ellipsis cut out of another bigger circle: Think e.g. the apple ...
8
votes
3answers
443 views

A problem on pgf drawing: circulant shapes

How to draw, for example, four rectangles on the circulant shapes which hold down another separately? See my figure. I can't draw the purple rectangle which is behind the red rectangle on the above ...

15 30 50 per page