{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

2
votes
1answer
41 views

Relative positioning: how to avoid the discentering of external images?

Stuck with the following problem while making "Who we are" section for a business plan. The code \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
1
vote
0answers
13 views

Crop pdf graph to remove margins [duplicate]

I have input a graph as pdf into my latex document but there is a big white space underneath it. How do I crop my pdf so that is only includes the graph and no margins???
1
vote
3answers
51 views

Using tikzpagenodes with crop package?

Using the code from Background margin fill for (first line of) section titles?, I have this MWE: \documentclass[10pt,twoside,openright]{book} \usepackage[ paperwidth=15cm, paperheight=20cm, ...
2
votes
0answers
40 views

How to adjust memoir crop marks line length

I've been searching for the similiar question but still have no luck. I'm following this guide to create crop marks in memoir class and would like to adjust the length of the crop mark lines. Here's ...
1
vote
0answers
79 views

White space around cropped pdf [closed]

I am trying to insert a figure which is in PDF format using \includegraphics. The problem is that although I have already cropped my figure using pdfcrop tool but when I compile my tex file I got the ...
1
vote
1answer
44 views

Cropping an image generated in R code

I would like to crop an image that is not inserted (which has been searched a lot), but an image that is generated in R code. \documentclass{article} \setlength{\parindent}{0pt} ...
1
vote
1answer
45 views

Tikzexternal capturing crop marks when externalizing pgfplots?

Consider this MWE: % to rebuild: % rm test-testplot.pdf ; pdflatex -shell-escape test.tex \RequirePackage{filecontents} \begin{filecontents*}{testplot.tikz} \begin{tikzpicture} \begin{axis}[ ...
6
votes
4answers
85 views

How to expand a macro into viewport= arguments(includegraphics)

How do I properly expand a macro \myviewport so that it is parsed as the viewport=0pt 10pt 100pt 200pt argument of \includegraphics[clip, \myviewport]{somepdf.pdf}? \documentclass{article} ...
1
vote
1answer
79 views

Automatically generate fitted pdfs

I'm writing some kind of a notebook using LaTex. I'd like to have basically one page for each note, the page being fitted to the text of the note. For the moment I'm using a very long page by default, ...
2
votes
3answers
194 views

Print two sheets per page, with crop marks

I have a 124 mm x 164 mm pdf document that I want to print, two sheets per page, on letter paper (in landscape orientation). Arranging the two sheets per page is easy with the pdfpages package: ...
5
votes
1answer
146 views

Problem with cropmarks on geometry package

I want to print a page with a smaller size than and A4 paper on a A4 size layout and I want to show the crop marks on it. I specify the page and layout size in the geometry package options but as you ...
1
vote
0answers
75 views

print crop margings for bindingoffset

I would like to have a template for reformatting some arbitrary \LaTeX document in a way, that I can print and cut it, to glue it into my lab-book. To this end, the output should introduce a ...
0
votes
1answer
201 views

How to set Book Cover Design dimensions for printers?

I am new to LateX and I would like to know if there is a class which allows for creating a book cover design to send to the printers ? I already have the book cover design done in Adobe Photoshop ...
9
votes
1answer
257 views

Bleed correction for chapterthumbs in KOMA

I want to send a dissertation document with chapterthumbs to the printing house. The document is written in KOMA-Script and a good solution for bleed correction is found here. Since chapterthumbs are ...
2
votes
1answer
112 views

Why do eps images do not show TexLive2014? [closed]

I want insert my university logo that is .eps format with xelatex. but that do not show. my TexLive version is 2014. Why do eps images do not show TexLive2014?
1
vote
1answer
39 views

Image does not crop

When I do the following: \includegraphics[width=1.0\textwidth]{image.jpg} The space where the image should be, is correctly scaled to the size of the scaled image, but the image itself doesn't ...
4
votes
1answer
325 views

How to decrease the file size of pdf with a lot of (clipped and downscaled) png images

I am writing a report that includes a results section with a lot of generated images. These images are .png files. Judging by the file size of the resulting pdf, these images are included in their ...
1
vote
0answers
52 views

Crop package axes marks

I am preparing a document for printing. My bookbinder asked for long (vertical) axes marks on every page, for folding the signatures. The axes marks should start 1cm from the final page and go all the ...
1
vote
0answers
217 views

Crop and bleed marks

I'm working with the article document class: \documentclass[a4paper, twoside, openleft, showtrims]{article} I need to print a page that has color on the edges. The people who need to print this ...
5
votes
1answer
63 views

How to abbreviate the “trim” option of an image in a \newcommand?

I apologize if my question is worded incorrectly, please feel free to modify it. I have a long document with many figures, most of which need to be trimmed at the same lengths. I would like to ...
4
votes
2answers
267 views

two pages on one and exact crop marks

the page size of my document is A5 and has about 100 pages. For printing I need to put two pages on one in A4 and rearrange them in a specific way due to my thumb index at eachside of the page. ...
4
votes
0answers
96 views

TeX programmer needed - or assistance with page dimensions and crop marks [closed]

is there a place where i can find/hire a TeX programmer to adjust TeX files that were set up for us in the 80s? I can make minor edits, but things like page dimensions and crop mark locations are ...
2
votes
1answer
216 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
111 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
77 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
72 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, ...
5
votes
1answer
1k 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
90 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
2k 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} ...
5
votes
2answers
385 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
116 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
959 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
886 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
262 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 ...
7
votes
1answer
302 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
430 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 ...
6
votes
1answer
346 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 ...
4
votes
1answer
371 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
2k 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
269 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
746 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 ...
4
votes
1answer
237 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
644 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 ...
4
votes
1answer
300 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
285 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
328 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
305 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
273 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
146 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
571 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 ...