Text FormattingGetting smaller margins for more text on the page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Mini
Posts: 73
Joined: Thu Aug 06, 2009 12:46 pm

Getting smaller margins for more text on the page

Post by Mini »

Hello,

I've been reading through some tutorials on how to adjust the margins of the latex document, but none seem to be what I want.

Basicially I find that there is too much space from the edges of the page (especially the top). I want to maximize the space to write in as much as possible.

How would I achieve this?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Getting smaller margins for more text on the page

Post by frabjous »

Code: Select all

\usepackage[lmargin=2cm, rmargin=2cm, tmargin=2cm, bmargin=2cm]{geometry}
Change 2cm to whatever you want.

This really isn't a good idea if anyone else is going to read your document, however. LaTeX chooses its default margin sizes based on sound typographical principles. Reading lines of text too long causes eye fatigue.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Margins

Post by josephwright »

I wouldn't say the LaTeX defaults are necessarily optimal (the failings of the standard classes are well known). The said, geometry is rather more sensible, so just \usepackage{geometry} is a good place to start.
Joseph Wright
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Getting smaller margins for more text on the page

Post by localghost »

In addition to my predecessors I want to remark that there are some other document classes like KOMA Script or memoir which handle page geometry completely different. In opposite to the geometry package these classes construct a type area rather than letting the author explicitly set it up. But inside certain limits these setups can be modified.


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply