1

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?

1 Answer 1

2

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}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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