From: tsd@tsdye.com (Thomas S. Dye)
To: khj@cs.appstate.edu
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Paper Size for Exported LaTeX
Date: Tue, 21 Oct 2014 12:29:05 -1000 [thread overview]
Message-ID: <m21tq1m4zy.fsf@tsdye.com> (raw)
In-Reply-To: <87vbndaxf8.fsf@be.cs.appstate.edu> (Kenneth Jacker's message of "Tue, 21 Oct 2014 18:08:11 -0400")
Aloha Kenneth,
Kenneth Jacker <khj@be.cs.appstate.edu> writes:
> ndokos> This may be a TeX installation default.
>
> Apparently, 'letter' is the default.
>
> ndokos> If it is indeed the case that it is using A4 (check it with
> ndokos> pdfinfo on linux, ...
>
> Good suggestion. I used 'pdfinfo' on the generated PDF file and saw
> (among other output) this:
>
> Page size: 612 x 792 pts (letter)
>
> 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? ;-)
If you want to achieve what you do using LaTeX without Org mode, then
this should work:
#+LATEX_HEADER: \setlength{\textheight}{9.25in}
#+LATEX_HEADER: \setlength{\textwidth}{6.75in}
...
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
next prev parent reply other threads:[~2014-10-21 22:29 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 [this message]
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
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=m21tq1m4zy.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=khj@cs.appstate.edu \
--cc=ndokos@gmail.com \
/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).