From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: gnash crunch... latex whitespace defaults! + numbering in only some subheadings Date: Thu, 02 Sep 2010 01:18:32 -0400 Message-ID: <16353.1283404712@gamaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=37899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or2C6-0000w0-TG for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 01:18:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or2C5-0002PF-NM for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 01:18:38 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:37583) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or2C5-0002P0-KJ for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 01:18:37 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L83004V3TEXQW40@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 00:18:33 -0500 (CDT) In-reply-to: Message from Matt Price of "Wed, 01 Sep 2010 18:59:37 EDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Price Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Matt Price 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