Questions tagged [clip]
The clip tag has no summary.
58 questions
1
vote
1
answer
64
views
how to zoom in on tikz clipped image
I have the following situation:
where the first \clip in the second frame is very small and I wish to present it a bit bigger for visibility reasons. I'm unsure how to tweak the code I'm using and if ...
0
votes
2
answers
77
views
LaTeX threw up with the little clips?
I use the command \clipbox and LaTeX chokes on it. I put \clipbox{0ex 0.2ex 0ex 0ex}{q} to clip off the q tail but part of the head was clipped off too. It's the same for any round letter, o, e, c, ...
3
votes
1
answer
202
views
Reducing the Thickness of a Tikz Clipping Curve
Consider the code:
\documentclass{book}
\usepackage{tikz}
\usepackage{adjustbox}
\newif\ifdeveloppath
\tikzset{/tikz/develop clipping path/.is if=developpath,
/tikz/develop ...
2
votes
1
answer
98
views
useasboundingbox does not clip picture
In the following code I am trying to clip a picture. In practice the lines drawn are paths that are invisible. All that should be in the picture is in the bounding box shown in the rectangle. However, ...
2
votes
1
answer
74
views
Triangle vertex going over line
The coordinates are right and I don't know how to avoid this, I tried using clip but it always makes the lines thinner as I have to make the clipping region an entire rectangle because it can't just ...
1
vote
1
answer
91
views
pgfplots - clipping on different layers
I don't understand how clipping on different layers works.
In the example, I tried to clip the grid and the function +x, but it seems the clipping always takes place on the main layer:
\documentclass{...
0
votes
1
answer
86
views
Customize page with character top and half different color (with TikZ or other solution)
Im trying to make a custom chapterpage and my aim is to get a page in which:
the bottom 1/3 pageheight is filled gray
then a character should middle/center aligned around 2/3 pageheight, with: 1) the ...
3
votes
1
answer
112
views
Why does \begin{scope}...\end{scope} seem to treat \draw and \addplot differently in this example?
The documentation for pgfplots and tikz have me thoroughly overwhelmed. Apparently I am missing something about the behavior of \draw and \addplot when using \clip. In the MWE, the second arrow (the ...
1
vote
1
answer
59
views
clip a image from top to bottom instead of from bottom to top
I would like to clip a image from top to bottom instead of from bottom to top. I have multiple images with the same width but different height, I wish my code can handle all images without care about ...
2
votes
1
answer
144
views
How to clip a rectangle on a QR Code with TikZ?
I'd like to clip a rectangle at the center of a QR Code, however it can't satisfy my request.
The first one clips reversed, then I switch the order of node and clip commands, the second one couldn't ...
0
votes
1
answer
117
views
Extracting an Interior Portion from a Tikz ClipPicture
Consider the MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{graphicx}
% % COMPILED WITH PDFLATEX
\newif\ifdeveloppath
\tikzset{/tikz/develop clipping path/.is if=...
1
vote
1
answer
99
views
\includegraphics clips one particular image differently after conversion?
I was sent a png image by an author (Janusz Bie\'n) and converted to jpg (pngtopnm Rubricella.png | pnmtojpeg >Rubricella.jpg) to reduce file size (jpg lossiness not an issue here). The resulting ...
0
votes
1
answer
83
views
How can I resolve the issue of the excess blank space?
I generated the following tikz codes through a software (with slight modifications), but I noticed a large blank space below the figure. Therefore, I wanted to use 'clip' (for example, \clip (-50,-...
0
votes
1
answer
90
views
Removing borders only from the shared area of intersected shapes
I need to intersect two circles and have the borders around them except the borders inside the shared area.
It is the tikz code I am trying to write, I have removed all borders but have no idea how to ...
0
votes
1
answer
91
views
"FPeval" along with "clip" when multiplied with 10 gives wrong answer while it does not happen with other numbers
\newcounter{tenMarksQ}
\setcounter{tenMarksQ}{0}
\DTLforeach{Q}{\Marks=Marks}
{
\ifnum\Marks=10
\addtocounter{tenMarksQ}{1}
\fi
}
\FPeval{\10}{clip(10*\thetenMarksQ)}
\section{ELABORATE ON:...