From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Malone Subject: Re: Double Spacing Latex Output Date: Fri, 7 Oct 2011 12:24:47 -0700 Message-ID: References: <506CDDE6-C140-43DF-9072-7E995E154702@gmail.com> Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/alternative; boundary="Apple-Mail=_E09847D8-052A-4DF5-B05F-725A976F1218" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCG2O-0006c1-T6 for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 15:24:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCG2N-0001z3-Jj for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 15:24:52 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:48648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCG2N-0001yv-EG for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 15:24:51 -0400 Received: by iaen33 with SMTP id n33so6083391iae.0 for ; Fri, 07 Oct 2011 12:24:50 -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: aditya siram Cc: emacs-orgmode@gnu.org --Apple-Mail=_E09847D8-052A-4DF5-B05F-725A976F1218 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 No problem. For future reference, the `#+LATEX_CLASS_OPTIONS` really only apply = options to the document class, for example to get something exported = like \documentclass[10pt,twocolumn]{article} you would want to use the `#+LATEX_CLASS_OPTIONS` to add the "10pt" and = "twocolumn" class options.=20 Use a `#+LATEX_HEADER` for including packages or defining = macros/variables in the preamble of your document. You can also change = which packages are included by default for a given class by changing = your `org-export-latex-classes` definition. See=20 http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-6 and the following section. Chris =20 On Oct 7, 2011, at 12:17 PM, aditya siram wrote: > Yes that worked! Thanks for the quick response! > -deech >=20 > On Fri, Oct 7, 2011 at 2:12 PM, Chris Malone = wrote: > Hi deech, >=20 > Does including the package and using double space work? >=20 > #+LATEX_HEADER: \usepackage{setspace} > #+LATEX_HEADER: \doublespacing >=20 > If not, what does the exported `.tex` file look like? >=20 > Chris >=20 > On Oct 7, 2011, at 12:07 PM, aditya siram wrote: >=20 > > Hi all, > > This is probably a really simple question but I'd like to double = space my Latex output. I added #+LaTeX_CLASS_OPTIONS:[setspace, = doublespace] to the header and I do have the setspace package, but the = output is still single-spaced. Any ideas? > > > > Thanks! > > -deech >=20 >=20 --Apple-Mail=_E09847D8-052A-4DF5-B05F-725A976F1218 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 No = problem.

For future reference, the = `#+LATEX_CLASS_OPTIONS` really only apply options to the document class, = for example to get something exported = like

\documentclass[10pt,twocolumn]{article}

you would want to use the `#+LATEX_CLASS_OPTIONS` = to add the "10pt" and "twocolumn" class = options. 

Use a `#+LATEX_HEADER` for = including packages or defining macros/variables in the preamble of your = document.  You can also change which packages are included by = default for a given class by changing your `org-export-latex-classes` = definition.  See 

http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-6

and the following = section.

Chris  
On Oct 7, = 2011, at 12:17 PM, aditya siram wrote:

Yes that = worked! Thanks for the quick response!
-deech

On Fri, Oct 7, 2011 at 2:12 PM, Chris Malone <chris.m.malone@gmail.com><= /span> wrote:
Hi deech,

Does including the package and using double space work?

#+LATEX_HEADER: \usepackage{setspace}
#+LATEX_HEADER: \doublespacing

If not, what does the exported `.tex` file look like?

Chris

On Oct 7, 2011, at 12:07 PM, aditya siram wrote:

> Hi all,
> This is probably a really simple question but I'd like to double = space my Latex output. I added #+LaTeX_CLASS_OPTIONS:[setspace, = doublespace] to the header and I do have the setspace package, but the = output is still single-spaced. Any ideas?
>
> Thanks!
> -deech



= --Apple-Mail=_E09847D8-052A-4DF5-B05F-725A976F1218--