emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Paper Size for Exported LaTeX


From: Marcin Borkowski
Subject: Re: [O] Paper Size for Exported LaTeX
Date: Wed, 22 Oct 2014 01:40:49 +0200

On 2014-10-22, at 00:08, Kenneth Jacker wrote:

> So, I guess I need to explicitly change the L/R and top/bottom margins.
>
> Here's what I do using emacs/latex without Org:
>
>      \setlength{\textheight}{9.25in}
>      \setlength{\textwidth}{6.75in}
>      \setlength{\oddsidemargin}{0in}
>      \setlength{\evensidemargin}{0in}
>      \setlength{\topmargin}{-0.6in}
>
> Can I just put the above somewhere near the beginning of my .org file?
> Or, is there a "better" way?  ;-)

Please don't do this!  There /is/ a better way.  What you're doing is
very low-level; the canonical way to change such settings is to use the
geometry package.  Quoting from http://www.ctan.org/pkg/geometry :

--8<---------------cut here---------------start------------->8---
The package provides an easy and flexible user interface to customize
page layout, implementing auto-centering and auto-balancing mechanisms
so that the users have only to give the least description for the page
layout. For example, if you want to set each margin 2cm without header
space, what you need is just \usepackage[margin=2cm,nohead]{geometry}.

The package knows about all the standard paper sizes, so that the user
need not know what the nominal ‘real’ dimensions of the paper are, just
its standard name (such as a4, letter, etc.).
--8<---------------cut here---------------end--------------->8---

Protip: if you're on a Linux system, typing texdoc geometry at the
terminal will give you the docs for this package.  (I don't know whether
this works with Windows or Mac.)

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



reply via email to

[Prev in Thread] Current Thread [Next in Thread]