From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Change line spacing for lists for LaTeX export Date: Fri, 26 Jun 2009 17:41:08 +0200 Message-ID: <5807B3AC-DA53-420A-8479-2DCCED781D2A@gmail.com> References: <7bef1f890906181502p5557aae7o447b651729a2dacd@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKDYI-0006ZO-OP for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 11:41:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKDYC-0006T3-3W for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 11:41:21 -0400 Received: from [199.232.76.173] (port=53859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKDYB-0006Sh-AK for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 11:41:15 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:34750) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKDYA-0008Om-FU for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 11:41:15 -0400 Received: by ewy4 with SMTP id 4so1037888ewy.42 for ; Fri, 26 Jun 2009 08:41:13 -0700 (PDT) In-Reply-To: <7bef1f890906181502p5557aae7o447b651729a2dacd@mail.gmail.com> 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: "Alan E. Davis" Cc: org-mode On Jun 19, 2009, at 12:02 AM, Alan E. Davis wrote: > I need to print outlines in a more compact form than LaTeX lists > ordinarily provide. I often have used the paralist package, > although it conflicts with some other packages. How can I alter the > line spacing for the lists directly, for export? > > I found this suggestion, and I was going to use #+LATEX_HEADER:, but > then it occured to me that I don't have a way to specifiy that > "my_enumerate" would be used instead of "enumerate". > > This is the code I found on line: > > % > % this makes list spacing much better. > % > \newenvironment{my_enumerate}{ > \begin{enumerate} > \setlength{\itemsep}{1pt} > \setlength{\parskip}{0pt} > \setlength{\parsep}{0pt}}{\end{enumerate} > > > } > Thank you for any suggestions. You can now (latest git) define an environment like you do above Then set (setq org-export-latex-low-levels '("\\begin{myenv}" "\\end{myenv}" "\ \item %s")) Now this environment will be used for the lower levels of LaTeX export. Note that you can use #+OPTIONS: H:0 to force even the top-level headings into this environment. HTH - Carsten > > > Alan Davis > > "Pollution is nothing but the resources we are not harvesting. We > allow them to disperse because we've been ignorant of their value." > --- Buckminster Fuller > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode