From: John Hendy <jw.hendy@gmail.com>
To: "Christopher W. Ryan" <cryan@binghamton.edu>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: how to adjust vertical spacing between lines in a simple list, pdflatex export
Date: Mon, 9 Dec 2013 15:01:52 -0600 [thread overview]
Message-ID: <CA+M2ft95Qt5VwfDS6CvvtU+OSED556nf1p+Y3CPqCHH00YOACQ@mail.gmail.com> (raw)
In-Reply-To: <52A6244A.90602@binghamton.edu>
On Mon, Dec 9, 2013 at 2:12 PM, Christopher W. Ryan
<cryan@binghamton.edu> wrote:
> Thanks, but I'm still having trouble.
[ snip ]
> \title{Review of our system for assessing students' clinical performance}
> \author{Christopher w. Ryan, MD MS}
> \date{\today}
> \hypersetup{
> pdfkeywords={},
> pdfsubject={},
> pdfcreator={Emacs Org-mode version 7.9.3f}}
Note Org-mode version.
[ snip ]
>
> #+ATTR_LATEX: :options itemsep=1pt
>
> before a simple list in my org-mode subtree does not change the vertical
> spacing between list items at all.
>
> And a relevant exerpt from my .tex exported file is
>
> \begin{itemize}
> \item Don't fill out a form that the student has signed, blank, ahead of
> time
> \item Don't fill out a second form after you have already submitted one
> \item Don't mention any suggested grade for the clerkship. Performance
> in your office counts for half the final grade; the other half is based
> on other activities
> \end{itemize}
>
> Note no [itemsep= ] option.
>
I think the ability to pass #+attr_latex options to plain lists was a
more recent feature, > Org 8.0 with the new export framework. Unless
you're manually accessing that exporter via the sort of "trial period"
methods that used to exist while it was in heavy development, I'm
going to assume you're using the old exporter and thus don't have this
feature.
Here's the announcement/upgrade info if you'd like to update things to Org 8+:
- http://orgmode.org/worg/org-8.0.html
Here's my output:
==== Org file ====
#+latex_header: \usepackage{enumitem}
* Test
** normal
- item 1
- item 2
- item 3
** with enumitem
#+attr_latex: :options itemsep=1pt
- item 1
- item 2
- item 3
==========
==== LateX output ====
\section{Test}
\label{sec-1}
\subsection{normal}
\label{sec-1-1}
\begin{itemize}
\item item 1
\item item 2
\item item 3
\end{itemize}
\subsection{with enumitem}
\label{sec-1-2}
\begin{itemize}[itemsep=1pt]
\item item 1
\item item 2
\item item 3
\end{itemize}
=========
In inspecting the PDF output, the spacing is, indeed, different
between the two lists (less in the second case).
I didn't comment on your per-headline latex setup/properties/issues,
as I don't really do that. I typically just put everything in the main
document. I'm sure someone else can chime in, though.
Best regards,
John
> --Chris
>
>
> Christopher W. Ryan, MD, MS
> SUNY Upstate Medical University Clinical Campus at Binghamton
> 425 Robinson Street, Binghamton, NY 13904
> cryanatbinghamtondotedu
>
> "Once we recognize that we do not err out of laziness, stupidity, or
> evil intent, we can liberate ourselves from the impossible burden of
> trying to be permanently right. We can take seriously the proposition
> that we could be in error, without deeming ourselves idiotic or
> unworthy." [Karen Schulz, in Being Wrong: Adventures in the Margin of Error]
>
>
> Thomas S. Dye wrote:
>> #+ATTR_LATEX: :options itemsep=1pt
>
prev parent reply other threads:[~2013-12-09 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 2:27 how to adjust vertical spacing between lines in a simple list, pdflatex export Christopher W. Ryan
2013-12-06 3:03 ` John Hendy
2013-12-06 3:14 ` Thomas S. Dye
2013-12-09 20:12 ` Christopher W. Ryan
2013-12-09 21:01 ` John Hendy [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=CA+M2ft95Qt5VwfDS6CvvtU+OSED556nf1p+Y3CPqCHH00YOACQ@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=cryan@binghamton.edu \
--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).