From mboxrd@z Thu Jan 1 00:00:00 1970 From: jdavidboyd@adboyd.com (J. David Boyd) Subject: Re: setting left margin in PDF output of ORG file Date: Wed, 23 Apr 2014 14:24:46 -0400 Message-ID: References: <87oazsm6yx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd1r1-0001DJ-V9 for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 14:25:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wd1qv-0001D3-Rp for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 14:25:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:42890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd1qv-0001Bc-Lq for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 14:25:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wd1qr-00015H-U1 for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 20:24:57 +0200 Received: from www1.g9.pair.com ([66.39.4.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Apr 2014 20:24:57 +0200 Received: from jdavidboyd by www1.g9.pair.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Apr 2014 20:24:57 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Hendy writes: > On Wed, Apr 23, 2014 at 11:59 AM, J. David Boyd wrote: >> Bastien writes: >> >>> jdavidboyd@adboyd.com (J. David Boyd) writes: >>> >>>> I've looked through all the latex, org-latex, org-beamer variables I can >>>> find with customize-apropos, but not having any luck. >>> >>> You can use the LaTeX geometry package: >>> >>> \usepackage[margin=0.25in]{geometry} >>> >>> HTH, >> >> Thanks, but since my LaTeX-fu and Org-fu are quite weak, where would I use >> this at? > > I have a line at the top like so: > > #+latex_header: \usepackage[margin=0.25in]{geometry} > > (Mine's different, but that's the analog for this case). Anything you > would normally put in LaTeX straight-up, like commands, settings, > packages, etc. would go into #+latex_header: lines in Orgmode. Here's > an example of my default setup: > > #+AUTHOR: John Henderson > #+OPTIONS: *:t TeX:t H:5 creator:nil > #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry} > #+latex_header: \usepackage{mathpazo} \usepackage{paralist} > #+latex_header: \usepackage{enumitem} > #+latex_header: \setlength{\parskip}{0.5cm} \setlength{\parindent}{0cm} > #+latex_header: \usepackage{lscape} > #+latex_header: \usepackage{booktabs} > #+latex_header: \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue} > > Just wanted to give an example of how you might setup Org to do what > you want in LaTeX/PDF output. > > To go even further, I don't even have the above in each Org file. I > keep it in ~/org/aux/setupfile.org. Then in each file I create, I use > this line: > > #+setupfile: "~/org/aux/setupfile.org" > > So, for any regularly used options, I just leave them in setupfile.org > and bring them in with the above line for new files. For things I want > to set per-file, I'd add a file-specific #+latex_header line, or tweak > the #+options parameters. > > > John > Thanks very much! Exactly what I was looking for. Dave