Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using a template for this document and I want to set the margins to 2.5cm on each side. The top of my .tex file looks like this:

% $Id: $
\pdfpxdimen=1in

\divide\pdfpxdimen by 150

\documentclass[a4paper,12pt]{report}

How can I set the margins to 2.5cm?

And another question: is it possible to have a different line-distance for the abstract part, and how?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Use the geometry package and the setspace package.

\documentclass{article}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{setspace}
\begin{document}
\begin{abstract}
\doublespacing
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
\end{abstract}
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
\end{document}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.