The tag has no usage guidance.

learn more… | top users | synonyms

13
votes
2answers
4k views

Tikz clip shapes with another (built in) shape

I have some geometry that I need to clip. I would like to use the built in node shapes like diamonds, stars, etc... http://www.texample.net/tikz/examples/node-shapes/ Basically I use standard tikz ...
8
votes
6answers
812 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 ...
8
votes
1answer
830 views

How is the interior of a path determined when reverse clipping?

I'm been playing around with [reverseclip] from How can I invert a 'clip' selection within TikZ?. It works quite well. When you apply [reverseclip] it seems to add another part to your ...
13
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 ...
14
votes
3answers
1k 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 ...
5
votes
2answers
271 views

How can I design a DVD tray template to for my DVD label printer with TikZ?

Question I am trying to design a template for my Canon iP7250 printer. I would like to draw it using TikZ. I'd like to compile both pdf files and svg files. The middle should be transparent just like ...
12
votes
2answers
316 views

How to keep the line cap when clipping a path?

This question is kind of the opposite of Disable "clip" and "use as bounding box" in TikZ. Is it posisble to clip a path but let the line caps lokk as the path would end at the ...
7
votes
1answer
159 views

Problems combining clip, layer and pic when multiple instances are included in the same tikzpicture

I'm having trouble figuring out how I am supposed to combine (or if I am supposed not to combine) pics, clipping and layering when more than one instance of a pic is included in a single tikzpicture ...
5
votes
3answers
685 views

How to scale and clip a path at the same time?

Again, i started a question here, and i found the solution. But i think this method maybe useful for others. The problem: i exported the TikZ code of one path from Inkscape; then, i wanted to use it ...
20
votes
3answers
843 views

How to clip a TeX box using low-level PS commands?

I like to clip an arbitrary TeX box (\hbox) but without using larger graphic related packages like PGF/TikZ or PSTricks. This is intended to be used in packages which should not force the user to also ...
9
votes
1answer
1k views

Clipping tikz and raster pictures zigzag style

Is there a way to achieve this kind of clipping for raster images as well, not only for tikz pictures? -- Solved, see Edit #1. Are there any easier solution to achieve this with TikZ? -- Solved, see ...
6
votes
1answer
250 views

How to clip overlaying surfaces/paths instead of filling them with white?

The following code \newcommand*{\arcthickness}{0.3} \newcommand*{\myarc}[4]{ % x,y,radius,text % node is positioned by splitting the arc in two parts % see ...
2
votes
1answer
65 views

Reverse clipping in a 3D figure - Projection issue

I have an issue with a reverse clipping on a 2D surface represented in a 3D space. Although the reversed clipping is working, the cut part is not projected on a plane. Here is the MWE: ...
11
votes
1answer
230 views

problem with “crop circles” in tikz knot library

Using the knots library for tikz, I get very thin outlines of the circumferences of the clipping circles. How do I make them disappear? Here is a MWE: \documentclass{minimal} \usepackage{tikz} ...
7
votes
2answers
697 views

change draw color in a clipped region in tikz/pgf

I use \clip to clip a rectangular region of a drawing in a tikzpicture. I would like to have the lines in the clipped region to have a different color than their color in the original drawing. Would ...
5
votes
2answers
639 views

pgfplots and tikz: clipping a named plot

I would like to clip along a \addplot line made by pgfplots. I am not sure entirely how to do this since my tries have failed. What have done so far is below. \documentclass[tikz, convert = ...