4
votes
1answer
65 views

Correct clipping of 3D tikz for adjustbox?

Consider the following MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} ...
2
votes
1answer
60 views

How to avoid the tiny white line between clipped areas and gobbed line width

The is a tiny unwanted white line between blue areas (it is a MWE ;-) ) and the black border line is cut by the clipping line. How to avoid this two problems ? It's not visible on a png image but ...
1
vote
0answers
52 views

Tikz: shading region bounded by several curves with previously named path tikz

This two questions have been answered sepatly it should be interesting to be able to shade a region using previously named path. Is there a possibility to combine this two macros ? ...
6
votes
1answer
158 views

Number of intersection points

In this examle from pgfmanual p 132, how to use \t the number of intersections point outside \fill command. I tried \def\Nb{\t} but it dosen't work. \begin{tikzpicture} \clip (-2,-2) rectangle (2,2); ...
5
votes
1answer
127 views

Use a part of a path to make a cycle

I have two pathes the firt is to be fully drawed, but only a part of the second using intersection point with the first. Here an example: I want to draw only the upper part of the square (dashed) as ...
7
votes
0answers
106 views

Fore-edge painting package for books?

I would like to add fore-edge painting to the edge of each page, so that when the pages are fanned, it reveals text or an image. It seems it would be easy enough to slice up an image(Tikz/PGF), or ...
8
votes
1answer
86 views

How come only part of the interior of this path is used for clipping?

Here is an example document and the output I get from it. \documentclass[convert={size=480}]{standalone} \usepackage{tikz} \tikzset{ little circle/.style = { fill = black, ...
2
votes
2answers
180 views

How to fill a specified area using TikZ

I want to fill some regions which are only parts of a shape in a TikZ drawing (marked as "Here" in the following drawings): \documentclass{standalone} \usepackage[tikz]{bclogo} ...
11
votes
2answers
137 views

With TikZ, is it possible to only clip horizontally or vertically?

With TikZ, is it possible to only clip horizontally or vertically? Normally, when clipping, e.g., \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikz} \clip (-1,-1) rectangle ...
12
votes
2answers
199 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 ...
4
votes
1answer
104 views

TikZ: Using a line with thickness as clipping region?

In TikZ, is it possible to clip away a line? I would like to create a thin layer around an arrow in which nothing should be drawn (i.e. keep what is there at the moment the arrow is drawn) to create ...
7
votes
0answers
222 views

tikz clip rounded corners

How to apply this Tikz solution (Rounded corners only at one side of a TikZ node) to have the same effect on clipping? I want to clip things (images) using that rectangle with differently rounded ...
6
votes
1answer
165 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 ...
8
votes
1answer
383 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 ...
12
votes
3answers
553 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 ...
7
votes
3answers
732 views

Draw only part of a rectangle in Tikz

How can I draw only parts of a rectangle? I want to omit a small part of the rectangle to put some text in. As I'm using various complex rectangles, I do not want to construct own "open rectangles". ...
10
votes
2answers
892 views

How to control borders of intersected nodes (rectangles)

I am trying to superpose 2 rectangles; one blue, one red, and have the intersection area with a mix of blue and red. I have problems with the borders though. I am not getting the thickness of the ...
7
votes
2answers
431 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 ...
11
votes
2answers
2k 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 ...
4
votes
3answers
461 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 ...
4
votes
2answers
617 views

PGF/TikZ Clipping & Drawing: How to customize lines?

I have gotten some undesirable behavior with PGF/TikZ related to clipping and drawing paths with different color, say gray. So I tried with no success to exchange between \clip[draw=gray], ...
11
votes
4answers
1k 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 ...
9
votes
1answer
773 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
334 views

Drawing full nodes whose center is not clipped by some path

Goal I would like to draw full nodes whose center is not clipped by some path. How the solution would possibly work? To be better understood I would describe it in two steps: clip before drawing ...