Even-odd pages, inner edge 2.5cm, outer edge 1.5cm top and bottom 2cm. 1.5 spacing between the lines, double between paragraphs, no indent.

A general solution for other requirements would be best.

  • 1
    If you want to be really nice, once you figure this out, you should leave a template or sty file with your department so that future students don't have to reinvent your solution.
    – PersonX
    Commented Jul 27, 2010 at 13:31

3 Answers 3


For the margins use the geometry package. For your particular example use


Check the documentation of this package for more details and other options!

For the line spacing use setspace. Again for your example

\onehalfspacing % or \doublespacing
  • I was just posting my answer as you must have posted yours :-)
    – Joseph Wright
    Commented Jul 27, 2010 at 13:12

Have you checked if your university already has a document class (.cls) or style file (.sty) for theses? If there is no university wide one, you might also check with a prof or grad student in Computer Science or Mathematics. Many universities or departments do have such files already. Though, in some cases, the quality and utility of these files leaves a bit to be desired.

  • I'd give you a +1 but I've reached my vote limit for the day.
    – PersonX
    Commented Jul 27, 2010 at 18:24

You could look at a class such as KOMA-Script, where there are settings for all of these things. On the other hand, you could use the appropriate packages for different items. The geometry package is the way to do margins, something like


For line spacing, use the setspace package, and for not having indents at the start of paragraphs use the parskip package.

  • There's a typo in your code snippet ("geomtery" instead of "geometry").
    – lockstep
    Commented Aug 12, 2010 at 22:22
  • Sorted out the typo, and also formatting
    – Joseph Wright
    Commented Aug 13, 2010 at 6:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .