Questions tagged [clip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
57 views

Clipping a fill between region in pgfplots

I'm trying to create a drawing of the cylinder that is created when integrating the solid of revolution using the shell method. I'm trying to clip the "bottom" of the cylinder using the black arc. E....
3
votes
2answers
98 views

ConTeXt: Pixel-perfect figure span across a two-page spread

Background Looking to split external figures across two pages, evenly, for a seamless layflat photobook. Problem The seam between two pages is misaligned for illustrations that span two pages. This ...
0
votes
0answers
24 views

Clip text over image [duplicate]

Is it posible create text with an image shade? Something like this: Perfectly works on GeometryFigure, but does not work on Text \clip \includegrphics... Thanks
2
votes
3answers
154 views

Crop/clip 3d tikz drawing

I have prepared a 3D drawing using tikz-3dplot and now I want to clip a specific part of this drawing in order to magnify it (focus on the circle for instance in the example below). Is there any ...
6
votes
2answers
60 views

How can I hide the source code that overflows a listing's frame?

I've two side-by-side listing boxes that compare input and ouput code. How can I tell LaTeX to hide the code that is printed outside the listing boxes? Here is the LaTeX code: \documentclass[...
0
votes
1answer
103 views

Tikz fill only the A - B - C of three shapes

I am trying to draw a graph that can be represented as boolean operations on three shapes: A, B, C. The graph is A - B - C (or A - (B U C)). However, I have no Idea how to draw it using \clip or other ...
0
votes
0answers
23 views

How to add mathematical symbol with \hat and multiple clips in glossary?

I want to add a Symbol in the glossary with this command: \newglossaryentry{hU1}}{name={$\hat{u}_{1}$}, description={amplitude}, type=symbolslist, sort=amplitude} The Error I get then: Argument of \...
3
votes
1answer
129 views

How to apply a clipping mask with TikZ

Without rewriting the code, I want the part where the circles overlap to be transparent so it appears white (or whatever colour is hiding behind the circles). Graphic designers might refer to this ...
1
vote
0answers
55 views

Asymmetrical margins on tikz drawing

I am working on this picture. It is almost completed, but for some reason I can't trim the left margin so there is some annoying extra space. (If you open the image on a new tab is easier to see). It'...
2
votes
1answer
54 views

tikz node exceeding axis

I have an axis environment in a tikzpicture with a straight line exceeding the axis. At the end of the line I add a node whose text partially also exceeds the axis and is clipped. Clipping the line is ...
0
votes
0answers
47 views

How to embedding the clipping values from illustrator image

Here I using cutwin package for clipping images wrap around text and the values of each and every line need manual intervention. I have an illustrator clipping values of the image. Is there any ...
0
votes
0answers
54 views

Image clipping around the text

If there any latex package available for clipping the images. Here I using cutwin package, but it will produce tedious work to fix the text around the images. Here we have more images like that, we ...
4
votes
1answer
97 views

Clipped symbol in table caption

I want to place a clipped math symbol in table caption. This MWE works until I uncomment the marked line \documentclass{amsart} \usepackage{trimclip} \begin{document} \begin{table} \caption{Clipped ...
3
votes
1answer
326 views

How to use fill inside the \draw command in Tikz/PGF?

I am quite new at trying Tikz and PGFplots so apologies if this question is rather naive.I have been trying to fill the area under this manually made curve and I have tried to use \clip and \draw[clip....
2
votes
1answer
115 views

filling an intersection between shapes

I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated. \documentclass[border=5]{standalone} \usepackage{tikz} \...
4
votes
1answer
59 views

How to change the opacity of a surface out of a rectangular area?

I made the following simple MWE to explain constrain function: \begin{tikzpicture}‎‎[scale=1] ‎\begin{axis}[xlabel=$x$‎, ‎ylabel=$y$‎, ‎zlabel={$z$}]‎‎ \addplot3 ‎[‎‎surf‎, ‎samples=20‎, ‎domain=-4:...
3
votes
2answers
303 views

tikz: clip image with rounded corners and border

I want to round corners of image and I want to have border around: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shadows.blur,fadings} \tikzset{ photo/.style={ inner sep=1pt,clip,...
6
votes
2answers
189 views

Drawing stones and pebbles under seafloor

in order to do some technical drawings, I intend to reproduced a (schematized) pebbled sea floor. I could manage to do a MWE, but this is as far as I can possibly get. \documentclass{article} \...
16
votes
1answer
567 views

Eraser tool for TikZ

I am asking for a style (or something similar), let us call it ERASE. The imaginary tool works as a convenient inverse clip or eraser within a scope. The specific way is asked within the comment in ...
1
vote
1answer
240 views

How can I modify attachfile icon?

I'm working on an moderncv and trying to edit the default attachfile icon (Pushpin) to use the Paperclip, but it returns an error. Here is my MWE: \documentclass[11pt,spanish,a4paper,sans]{moderncv} ...
5
votes
1answer
111 views

Clipping at node – making a pattern

I want to add a pattern to a node in TikZ; how can I, for example, fill in the number 5 with the numbers 5 (ie a picture in a picture ...)? Here is my MWE: \documentclass[border=5pt,tikz]{standalone}...
2
votes
1answer
232 views

Shading Circle Segments in a complex Venn diagram

I have a Venn diagram with some overlapping ellipses that I segmented into sections using lines. I want to use this to make a few figures, and I am wondering wether there is a clever / clean way to ...
3
votes
1answer
117 views

How to fill the intersection among four curves?

In my problem, all curves are plot from data instead of explicit function. And what I want to do is to fill those little curved rectangles with different colors. How could I do it? Here is the tex ...
1
vote
0answers
53 views

Actually crop vectors in included pdf image with includegraphics trim/crop? [duplicate]

I've seen How can I crop included PDF documents? - but it doesn't quite address my problem. Let me illustrate with MWE - this is test1.tex, which you can compile with pdflatex test1.tex, which ...
3
votes
1answer
389 views

Clipping more complicated shapes in TikZ

I have tried to understand TikZ clipping better but I am stuck. I'd like to clip the area bounded by the blue contour in this picture: Unfortunately, the MWE is rather lengthy, and based on Alain ...
3
votes
2answers
106 views

Coloring a truncated/trimmed part of a character

MWE \documentclass{article} \usepackage{trimclip,graphicx} \def\normala{a} \def\trima{\rotatebox[origin=center]{25}{% \clipbox{2.5pt 0pt 0pt 0pt}{\rotatebox[origin=center]{-25}{a}}}} \begin{...
3
votes
1answer
261 views

How to discard an area of a pdf page using pdfpages?

I'm writing a text tha includes some pdf pages from external document. This specific page is driving me crazy. I'd like to include it without this specific area: Anyone knows how to do this using ...
2
votes
3answers
124 views

Add a pin not counted in bounding box

I would like to use Tikz to annotate some terms in equations. I have attempted the following \documentclass{article} \usepackage{tikz} \pagestyle{empty} \begin{document} \newcommand{\tikzbox}[2]{\...
4
votes
1answer
159 views

Asymptote 3d: Remove the flicker from the dots of a dice to play?

I coded my first figure with Asymptote in 3d which is a dice to play with faces numbered by one to six points representing numbers 1 to 6 in a classic way. This dice can be manipulated with the mouse. ...
0
votes
1answer
139 views

Clip an A3 tikz overlay to two A4 pages

The design of a two-page spread for chapter openings involves a shaded background which runs across both pages. I have constructed this with: \documentclass{article} \usepackage[a3paper,landscape,...
18
votes
3answers
6k views

How to scale and then trim an image?

I am trying to create a document that requires the inclusion of images at a precise size (h x w inches). I would like to reuse the document template, so I would like to create a command that would ...