305 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 ...
13k 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 \...
1k 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 ...
1k views

### How to draw diagram of circles and curves with pattern-filled intersections, using TikZ?

After looking up the PGF manual, I think the picture above might be drawn by using the \clip command and \usetikzlibrary{patterns}. I have an easier example as follows: \documentclass{article} \...
5k 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 ...
3k 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 ...
3k 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 ...
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 ...
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 ...
992 views

### How can I draw dashed lines of this picture?

I am trying to draw this picture I tried \documentclass[border=2mm,tikz]{standalone} \usepackage{tikz-3dplot} \usetikzlibrary{3dtools} \tikzset{intersection of line trough/.code args={#1 and #2 ...
817 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 ...
954 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 ...
3k 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 ...