Text Formattingneed help with cutting off white borders of a ps file

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
pax1
Posts: 1
Joined: Wed Jan 21, 2015 5:48 pm

need help with cutting off white borders of a ps file

Post by pax1 »

Hi, please how do I cut off white borders from a ps file pages most easily?
Say, using pdfpages package?
I would like to specify 4 numbers:1st two numbers are upper and bottom
size of the space,respectively and similarly 3rd and 4th numbers are the sizes of borders
from the left and right hand side.
I can also provide you with a pdf file just by using ps2pdf command.
So that
=0pt
=0pt
=0pt
=0pt
will exploit WHOLE OF A4 page
while
=10pt
=0pt
=0pt
=0pt
will start printing at 10pt from above edge of the paper.
Best, Jan
Here is the manual page, which I do not understand at all:
http://texdoc.net/texmf-dist/doc/latex/ ... fpages.pdf

Here is a TOY example, not containing anything useful, except for

Code: Select all

\documentclass{article}
\usepackage{enumitem,bbding,etoolbox,calc,pdfpages}

\begin{document}
\begin{itemize}[label=\HandRight]
\item abc

\item[\PencilRight] def
111
\end{itemize}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

need help with cutting off white borders of a ps file

Post by Stefan Kottwitz »

Hi pax1,

welcome to the forum!

I would convert the ps file to pdf, because it's very common and good to use pdfLaTeX directly.

pdf files can be cropped using the command line tool pdfcrop. It can remove all white borders, but you may optionally specify margins.

Stefan
LaTeX.org admin
Post Reply