From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: setting left margin in PDF output of ORG file Date: Wed, 23 Apr 2014 12:41:05 -0500 Message-ID: References: <87oazsm6yx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd1AS-0000KT-Bk for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 13:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wd1AR-0003FR-AR for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 13:41:08 -0400 Received: from mail-oa0-x22c.google.com ([2607:f8b0:4003:c02::22c]:59226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wd1AR-0003FN-4M for emacs-orgmode@gnu.org; Wed, 23 Apr 2014 13:41:07 -0400 Received: by mail-oa0-f44.google.com with SMTP id n16so1392312oag.31 for ; Wed, 23 Apr 2014 10:41:06 -0700 (PDT) In-Reply-To: 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: "J. David Boyd" Cc: emacs-orgmode 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 > > I can put it into the .tex file that is created manually, then run pdflatex 3 > times like org does, but there must be somewhere to put it into the org > config, yes? > > Dave > > >