Take the 2-minute tour ×

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.

share|improve this question
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. –  Chris Phan Jul 27 '10 at 13:31
add comment

3 Answers

up vote 14 down vote accepted

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
share|improve this answer
I was just posting my answer as you must have posted yours :-) –  Joseph Wright Jul 27 '10 at 13:12
add comment

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.

share|improve this answer
I'd give you a +1 but I've reached my vote limit for the day. –  Chris Phan Jul 27 '10 at 18:24
add comment

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.

share|improve this answer
There's a typo in your code snippet ("geomtery" instead of "geometry"). –  lockstep Aug 12 '10 at 22:22
Sorted out the typo, and also formatting –  Joseph Wright Aug 13 '10 at 6:50
add comment

Your Answer


