From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Paper Size for Exported LaTeX
Date: Wed, 22 Oct 2014 01:40:49 +0200 [thread overview]
Message-ID: <87h9yxf0u6.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <87vbndaxf8.fsf@be.cs.appstate.edu>
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
prev parent reply other threads:[~2014-10-21 23:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 18:00 Paper Size for Exported LaTeX Kenneth Jacker
2014-10-21 18:29 ` John Hendy
2014-10-21 19:26 ` Thomas S. Dye
2014-10-21 19:38 ` Kenneth Jacker
2014-10-21 20:38 ` Nick Dokos
2014-10-21 22:08 ` Kenneth Jacker
2014-10-21 22:29 ` Thomas S. Dye
2014-10-21 23:18 ` Andreas Kiermeier
2014-10-22 1:42 ` Brady Trainor
2014-10-23 14:00 ` Kenneth Jacker
2014-10-21 23:40 ` Marcin Borkowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9yxf0u6.fsf@wmi.amu.edu.pl \
--to=mbork@wmi.amu.edu.pl \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).