{crop} is about cropping, trimming or clipping some element in (La)TeX. Examples are the trim and clip options of \includegraphics. For path-clipping in TikZ or PSTricks use {path-clipping}.

learn more… | top users | synonyms

1
vote
1answer
45 views

Svmono and "real page dimensions''

I'm writing a document with the Springer's template svmono. Clearly the margins and more generally the page layout is automatically setted. Despite this, the output file is displayed as an A4 pdf ...
3
votes
1answer
68 views

How to crop my page to the size of tikz graph

I want to crop the page to exactly fit the tikz graph in it. When i used standalone document class, all the page content became on one line. Here is my code \documentclass{standalone} ...
0
votes
1answer
37 views

What might cause crop and trim to behave differently in different contexts?

I have tried to get a MWE for my problem, but really it is more of a dual to an MWE, because it doesn't work where my actual code DOES work, but I don't understand why it should work. For instance, ...
1
vote
0answers
32 views

Remove off-page vertices in PDF [closed]

I have asked a similar question before, but this time my goal is different: I have a PDF containing blueprints on a single page. There object it depicts is drawn a couple of times: from the side, ...
4
votes
1answer
106 views

How to crop background from image automatically?

I have a Google Docs drawing that is a small scheme. However, this small scheme is surrounded by a lot of background that occupies a lot of useless space. I do not want to remove the background ...
3
votes
1answer
45 views

Crop marks on an existing template to save paper

I would like to use the latex code which is available here to create a page a day calendar. My goal would be to get the same result proposed on the link but by dividing the sheet of paper in four, ...
3
votes
1answer
189 views

How do I get rid of the white space around included graphics? [duplicate]

I know that my question may be a duplicate, but I couldn't find a solution that worked for me elsewhere on the site. Here is the MWE : \documentclass[12pt]{article} \usepackage{graphicx} ...
4
votes
2answers
92 views

Adding crop marks to a4 document to crop it to book without changing the layout?

I have a complete 150 pages LaTeX document that is in a4 format. I basically want to print it exactly as it is, except that I want to add crop part of the margins. I want to remove 10mm on the inner, ...
2
votes
1answer
42 views

Cropping output of pdflatex to pagesize

I am trying to create square images with a fixed size in pixels in LaTeX to be used as buttons. So far, I got the best results using the slides document class in combination with the geometry package, ...
2
votes
1answer
175 views

Inserting .pdf created in Visio to LaTeX without whitespace [duplicate]

Introduction: I recently created a load of figures in Microsoft Visio. These figures looks great, however, are stored in the .png format. I am interested in raising the picture quality. Method: I am ...
4
votes
1answer
277 views

TikZ: Crop images after placing them

I have a ton of microscopy images to include in a report, some of these images have rather uninteresting information I want to crop. Since I add scale bars using TikZ and therefore require all image ...
4
votes
1answer
173 views

How do You print flowfram book?

I prepare a brocure in which the color gets to the border of the physical paper (which is called bleed in printing). I also have to set the crop marks. But if any colorful object is in contact with ...
6
votes
1answer
168 views

Crop off-page vertices in vector graphic PDF

I have a PDF that contains one page, with a vector image on it. I want to use the left half of the image on the backside of the front cover-page of my work, and the right half on the front of the ...
2
votes
1answer
217 views

Always scale and clip background image so it fills the page

I have learned from other answers how to use an image file as background and make it transparent. Since my background files do not necessarily have the exact page dimensions (they are provided by ...
5
votes
1answer
205 views

Image behind and beyond crop marks?

This is what I'm trying to do... Please note that the images that will be used in the final version are of slightly uneven size, so that should ideally be taken into account. I've been through the ...
2
votes
1answer
125 views

How can the margin around externalized pgfplots crossrefs be set?

When using \usepgfplotslibrary{external} to externalize refs to labels in a pgfplot, the resulting .pdf looks cropped when the linewidth used for the line corresponding to the label is thick (or ...
4
votes
2answers
798 views

How is cropping for EPS-files done in XeLaTeX?

When trying to crop an EPS-figure with trim=<left> <bottom> <right> <top>, clip, ... it results in strange behavior. Please find a MWE and a image of the result below. It ...
0
votes
1answer
169 views

Interference between crop and (new)geometry

I encountered a strange behavior of the command \newgeometry when using the crop package. After the first call of \newgeometry the centering of the page layout is lost and also can not be restored by ...
2
votes
1answer
251 views

print B5 on A4 then crop

I printing my thesis and I have written it in B5 format by \usepackage[b5paper,left=3.5cm,right=2cm,bottom=2cm,top=3cm,twoside]{geometry} \special{papersize=176mm,250mm} I want to print it on A4 ...
3
votes
1answer
109 views

How to use only half an image? [duplicate]

Is it possible to include only half an image? I'm looking to include only the right half of an image and discard the left half. If there is a simple way to accomplish that, it would make more sense ...
7
votes
1answer
424 views

wrong positioning of figure with tabular in xelatex

I recently updated MikTex and it seems Xelatex is not able to place figures correctly anymore. Before updating all figures were shown correctly. I work with Texworks and Miktex 2.9 Here it is the ...
2
votes
1answer
182 views

Text decoration is trimmed off with standalone package

I am decorating an arc with text as shown in this MWE using the standalone class: \documentclass[10pt,class=article]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.text} ...
5
votes
1answer
173 views

How to eliminate spacing in tikzpicture?

It seems that, when using Tikz, nodes and/or the tikzpicture environment add space around a drawing. An example is shown in the following MWE, where a simple square is drawn three times. First it is ...
5
votes
1answer
226 views

Align TikZ grid with geometry crop marks

I am drawing a grid on top of the layout defined with geometry. \documentclass[letter]{article} \usepackage{geometry} \geometry{ showcrop, paper = a4paper, layout = a5paper, ...
3
votes
1answer
232 views

Crop image bigger than page from top left to bottom right

I have a small problem when including an image bigger than an A4 page. Normally, I would use this code, but with this I am able to crop it using the bounding box, from 0, 0 to 500,700: %%image start ...
6
votes
1answer
204 views

Should included images have white borders?

I was wondering if the correct way to include an image\graphic in latex is A) crop ALL the white space around the figure and let LaTeX handle the borders/spacing completely; B) leave a white border ...
6
votes
1answer
121 views

Is there an option to trim the remaining whitespace to the right?

\documentclass{article} \usepackage[active,tightpage]{preview} \PreviewBorder=12pt \begin{document} \begin{preview} $ \frac{1}{3}=0.333\ldots \Rightarrow 1=3\times\frac{1}{3}=3\times ...
1
vote
2answers
338 views

Using crop and creating duplicate a5 pages on one a4

I often create programmes for events, and I've just been reading about the crop package, and was wondering, is there any way to create two identical pages from one source, and then to have the crop ...
11
votes
3answers
477 views

How to trim / clip / crop graphics without trial and error?

Often I include graphics with the trim option. Everytime I have to start a trial and error search for the right values. Is it possible to do it more straight forward?
6
votes
2answers
403 views

Crop package in a document with TikZ graphics

My Problem Briefly I've created an address book for my son's kindergarten using XeLaTeX. I used TikZ for creating the headers and footers and some other graphics. The book is in DIN A6 format. The ...
6
votes
3answers
579 views

Clipping a formula to make a nice compliment

I just found a nice cartoon and wonder if this is possible with LaTeX as well. If you draw "128 \sqrt{e 980}" on the blackboard (sqrt written with the root character) and erase the approximately ...
4
votes
1answer
686 views

includepdf into .tex file but crop each page's header off

I was hoping to find a way to insert several (many) pages of a pdf but crop off the header (with the date, filename, etc.). I'm using \subsection{Notes} ...
6
votes
1answer
99 views

How to get black trim markings in memoir when having colored text?

When I have colored text it seems that color rubs of on the trim markings when switching page. How can I make all of them black? An example: \documentclass[showtrims,12pt]{memoir} ...
6
votes
1answer
1k views

\includegraphics clipping and trim is squishing image

Clipping keeps squishing my image. My command is: \includegraphics[keepaspectratio=false,clip=true,trim=90px 0 0 0]{blue.jpg} But I'm getting: Where the original image is: Why can't I clip ...
3
votes
2answers
616 views

How to trim after an overpic

I was reading this post and its answers regarding the overpic package so I tried this: \documentclass{article} \usepackage[abs]{overpic} \begin{document} \begin{overpic}[grid,tics=10]{elephant} ...
3
votes
2answers
284 views

How to crop a pstricks figure

I wish to create a figure using pstricks code, and then to display only a cropped region of the figure. I thought that the arguments to \begin{pspicture}(...,...)(...,...) would allow me to do this, ...
3
votes
1answer
584 views

preview and standalone crop too much of tikz picture

When I try to fit the page size to my tikz image, too much is cropped. No matter whether I use \documentclass{standalone}, \documentclass[preview=true]{standalone} or ...
16
votes
2answers
2k views

The perfect pdfcrop

I need a "perfect" pdfcrop, one that crops exactly to the edge of the figure or text for alignment issues as a graphic in other programs. I'm aware of the standalone package, and have gone through ...
8
votes
2answers
495 views

Build cropped PDF image from LaTeX

I have created an image with pgfplots in a separate file and want to add the PDF that is built from that as an image in my report. The problem is that the image PDF created is a complete A4 format. ...
14
votes
4answers
5k views

Crop an inserted image?

I'm inserting an image with a simple: \includegraphics[height=5cm]{filename.png} This results in an image that maintains the aspect ratio, and so gives me something like 6cm width. I only really ...
2
votes
1answer
421 views

How can I set a a4 landscape page with crop marks?

I need to set a a4 page in landscape mode with crop marks in every corner of the page. I used the geometry package with the following values, paperheight=22.76cm, paperwidth=31.46cm, a4paper, ...
4
votes
1answer
189 views

problem with cropping and alignment

I'm trying to make a layout suitable for two-side printing and cutting. I used geometry package with these parameters: a4paper, paperwidth=210mm, paperheight=297mm, bindingoffset=1cm, ...
1
vote
2answers
328 views

How to export a pdf from a word file which is not one page long but smaller according to the drawing size? [duplicate]

Possible Duplicate: How can I crop included PDF documents? I have a drawing from a word file. I export it in a pdf format and i import to my tex file as a figure for a paper. The problem is ...
12
votes
3answers
698 views

Standalone producing cropped / truncated formulae

I'm using standalone to produce, well, standalone formulae. However, sometimes they end up being cropped too close and parts get left off. I'm including a sample .tex file and output. What can I do to ...
6
votes
2answers
305 views

Is it possible to have thin lines or crop marks to help cut the pages with \setuparranging?

I have something like this: \setuppagenumbering[state=stop] \setuppapersize[A5,landscape][A4] \setuplayout[topspace=1cm,backspace=1cm, header=0mm,footer=0mm, width=middle,height=middle] ...
4
votes
1answer
2k views

Including crop marks when printing

I would like to print crop marks around my document (an invitation). The invitation has a smaller size than the physical paper and the crop marks aid in the cutting process. Using the crop package, ...
1
vote
0answers
102 views

want pdf picture to be smaller than one page [duplicate]

Possible Duplicate: How can I crop included PDF documents? I created a pdf file using PSTricks. It appears to occupy an entire page. When I included it in my LaTeX file using ...
6
votes
1answer
1k views

Trim, crop, clip not working as expected in XeTeX [duplicate]

Possible Duplicate: Clipping support in XeTeX Why does the crop feature not work in this example? Secondary question: Is there a good and thorough example somewhere floating around the ...
10
votes
1answer
1k views

Include trimmed multipage PDF in XeTeX

I have a multipage PDF manuscript (for example, my_PDF.pdf) that I would like to include in a new document. I would also like to trim/clip off the header and footer from each page of this included ...
5
votes
2answers
2k views

How to specify size of binding and trim/crop

If i want to print a document on a standard size paper (for example A4), and then bind it and trim it, what is the best way to tell LaTeX what the binding space and the trim size is? How do I figure ...