emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Malone <chris.m.malone@gmail.com>
To: aditya siram <aditya.siram@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Double Spacing Latex Output
Date: Fri, 7 Oct 2011 12:24:47 -0700	[thread overview]
Message-ID: <A9285F45-F867-4F10-9C02-C9BC05A1AE54@gmail.com> (raw)
In-Reply-To: <CAJrReyi0dXbq5qUGa_0K+bEnB454Bw6qrAJB3e_jdJ9mhOqLFg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

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> 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
> 
> 


[-- Attachment #2: Type: text/html, Size: 2300 bytes --]

      reply	other threads:[~2011-10-07 19:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07 19:07 Double Spacing Latex Output aditya siram
2011-10-07 19:12 ` Chris Malone
2011-10-07 19:17   ` aditya siram
2011-10-07 19:24     ` Chris Malone [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=A9285F45-F867-4F10-9C02-C9BC05A1AE54@gmail.com \
    --to=chris.m.malone@gmail.com \
    --cc=aditya.siram@gmail.com \
    --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).