Upload
nicola-rainiero
View
994
Download
1
Tags:
Embed Size (px)
Citation preview
How to crop & split a PDF(in LATEX, without using it)
Nicola Rainiero • rainnic.altervista.org • [email protected]
I show you how it is simple and powerful the use of LATEX to split and cropiteratively a PDF in half, just editing a few lines of code, basically modifyingonly some numbers. You can use my LATEX template in Overleaf or in youreditor.
Here is the link: bit.ly/1F6r5H4
Online with Overleaf: remember that I post a read-only view template. If youwant to edit it, you have to paste its content in a new project and register inOverleaf (the only way that allows you to upload PDF files).
Here is my sign up link: www.overleaf.com/signup?ref=03181694e0d0
In your local editor: Copy and paste its content in your LATEX editor. I suggestyou one with an integrated viewer and live update.
Which one? Check the Comparison of TeX editors page on Wikipedia:en.wikipedia.org/wiki/Comparison of TeX editors
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
How does it work?
It is simple, you have onlyto edit the area on the left,changing opportunely somenumbers.
In the next sections, I willshow you how, with the helpof handy examples.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
PDF FILENAME
CORRECT THE SIZE
FIX THE NUMBER OF PAGES
If your input is correct, you will see in the preview: your PDF and a virtualblue rectangle that cover the first half.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result CROP FALSE
DOUBLE TRUE
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
SECOND STEP, scroll in the preview the result and save it in a new PDF
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result CROP TRUE
DOUBLE TRUE
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result
size of the cutter
280
150
280
150
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result
distance of the two cuttersfrom the bottom left of the page
y
x
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result
distance of the two cuttersfrom the bottom left of the page
30
242
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
SECOND STEP, scroll in the preview the result and save it in a new PDF
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result CROP TRUE
DOUBLE FALSE
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result
size of the cutter
280
360
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result
distance of the first cutterfrom the bottom left of the page y
x
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
FIRST STEP, check in the output the result
distance of the first cutterfrom the bottom left of the page
303
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
1
2
3
4
5
6
7
8
9
SECOND STEP, scroll in the preview the result and save it in a new PDF
SOURCES
bit.ly/1bc7KsA
rainnic.altervista.org/tag/latex
Presentation was created using: Fancyslides class by Pawel Lupkowski