From: Nick Dokos <nicholas.dokos@hp.com>
To: Matt Price <moptop99@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: gnash crunch... latex whitespace defaults! + numbering in only some subheadings
Date: Thu, 02 Sep 2010 01:18:32 -0400 [thread overview]
Message-ID: <16353.1283404712@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Matt Price <moptop99@gmail.com> of "Wed, 01 Sep 2010 18:59:37 EDT." <AANLkTim3q78akAfYCapsWVEaUORbuYUgFuYJtxoxk=CK@mail.gmail.com>
Matt Price <moptop99@gmail.com> wrote:
> I'm pretty sure I had this answered once already but I can't find the
> reference! sorry to ask again. I have two issues right now as I try rather
> deperately to print something reasonable-looking for my course syllabus (the
> html version is lovely).
>
> 1) what is te recommended or canonical way to reduce whitespace, not only in
> the margins, but especially between paragraphs? In particular, I use a lot
> of lists and subheadings; latex puts enormous emounts of whatespace between
> items, and very quickly the syllabus becomes difficult to navigate. It
> would be great for me if I could make these settings default, too -- I would
> much rather have my paper copies look more word-processor-ish, to ocnform
> iwth expectations in my discipline (history).
This can be done using the enumitem LaTeX package:
--8<---------------cut here---------------start------------->8---
#+LATEX_HEADER: \usepackage{enumitem}
#+LaTeX: \setitemize{itemsep=0pt, parsep=0pt}
* list
This is a list
- a
- b
- c
- d
- e
--8<---------------cut here---------------end--------------->8---
The \setitemize above is equivalent to
#+LaTeX: \setitemize{noitemsep}
You might also try
#+LaTeX: \setitemize{nolistsep}
which eliminates all vertical space.
On Ubuntu/Debian, the enumitem package is part of texlive-latex-extra
and the documentation is in texline-latex-extra-docs.
> 2) is it possible to turn numbering off for most headings, but to turn them
> on wihtin a specific heading? In my case, I would like to number _only_ the
> weeks in my course outline, but leave all other elements (course
> requirements, texts, introduction, etc) unnumbered. I bet it's possible but
> it's not trivial to find this in the extensive manual.
You can turn off section numbering by using
#+OPTIONS: num:nil
but I don't know if it's possible to then turn it back on within some sectioning
unit. But iiuc, you could do this and then use an enumerated list for the weeks -
something like this perhaps:
--8<---------------cut here---------------start------------->8---
#+OPTIONS: num:nil
#+LATEX_HEADER: \usepackage{enumitem}
#+LaTeX: \setitemize{nolistsep}
#+LaTeX: \setenumerate{label=Week \theenumi, itemsep=0pt, parsep=0pt}
* list
This is a list
- a
- b
- c
- d
- e
* enumerated list
This is an enumerated list
1. a
2. b
3. c
4. d
5. e
--8<---------------cut here---------------end--------------->8---
HTH,
Nick
next prev parent reply other threads:[~2010-09-02 5:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <moptop99@gmail.com>
2010-09-01 22:59 ` gnash crunch... latex whitespace defaults! + numbering in only some subheadings Matt Price
2010-09-02 0:16 ` Rafael
2010-09-02 5:18 ` Nick Dokos [this message]
2010-09-02 15:12 ` [PARTIALLY SOLVED] " Matt Price
2010-09-02 22:24 ` Shelagh Manton
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=16353.1283404712@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@gmail.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).