emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Jeff Rush <jrush@taupro.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: LaTex Adjustments for Org-Export
Date: Wed, 31 Jul 2013 08:44:25 -0500	[thread overview]
Message-ID: <CA+M2ft_--V4n=mrLPzt610xYrpUmGyCxTbwCg-RG2hxa72DFbw@mail.gmail.com> (raw)
In-Reply-To: <51F902C4.4080902@taupro.com>

On Wed, Jul 31, 2013 at 7:27 AM, Jeff Rush <jrush@taupro.com> wrote:
> I'm trying to export a .org file to .pdf and although I've gotten past
> many formatting hurdles, I am stuck on two problems.
>
> 1) How can I redefine, in my org-export-latex-classes variable, the
> \section definition, such that it includes \pagebreak?
>      My reason is that I would like each of my top-level headings to
> start on a new page, like a new chapter.
>

Can't help with this one.

> 2) How can I change the basic formatting of paragraphs everywhere to
>
>      a) omit the leading indent, and
>      b) have a blank line between paragraphs
>
>     Instead of this strange-looking style:
>
>         This is a test paragraph
>     of the following kind of thing.
>         And so is this one.
>
>     I want it to look like this:
>
>     This is a test paragraph
>     of the following kind of thing.
>       And so is this one.
>
> Thanks for any helpful souls out there.  I'm working on learning LaTeX
> but can't see how the various parts of the "article" base class fit
> together and how to selectively override them.

I have the following in my setupfile, which I think greatly improves
the default look:
#+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry}
#+latex_header: \usepackage{paralist}
#+latex_header: \setlength{\parskip}{0.5cm} \setlength{\parindent}{0cm}
#+latex_header: \usepackage{mathpazo}

The \parskip and \parindent options should get you in the ballpark of
what you're looking for (non-indented new paragraphs, white space
between consecutive paragraphs).

The others widen the text space and use a nicer font.

Good luck!


John

>
> -Jeff
>
>

  reply	other threads:[~2013-07-31 13:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 12:27 LaTex Adjustments for Org-Export Jeff Rush
2013-07-31 13:44 ` John Hendy [this message]
2013-07-31 14:01 ` Nick Dokos
2013-07-31 16:24 ` Nick Dokos
2013-07-31 18:56   ` Suvayu Ali
2013-07-31 21:26     ` Nick Dokos
2013-08-03 20:49 ` Brian van den Broek
2013-08-04  1:26   ` John Hendy
2013-08-04  2:03     ` David Rogers
2013-08-04  4:16     ` Brian van den Broek
2013-08-04 14:51 ` Anthony Lander

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='CA+M2ft_--V4n=mrLPzt610xYrpUmGyCxTbwCg-RG2hxa72DFbw@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrush@taupro.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).