* how to adjust vertical spacing between lines in a simple list, pdflatex export @ 2013-12-06 2:27 Christopher W. Ryan 2013-12-06 3:03 ` John Hendy 2013-12-06 3:14 ` Thomas S. Dye 0 siblings, 2 replies; 5+ messages in thread From: Christopher W. Ryan @ 2013-12-06 2:27 UTC (permalink / raw) To: emacs-orgmode In LaTeX, I would typically use the enumitem package, and then start an itemized list with \begin{itemize}[itemsep= ] where itemsep could equal whatever spacing I wanted. How do I change the inter-item vertical spacing (specifically, decrease it) in org-mode with pdflatex export? Thanks. --Chris Ryan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to adjust vertical spacing between lines in a simple list, pdflatex export 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 1 sibling, 0 replies; 5+ messages in thread From: John Hendy @ 2013-12-06 3:03 UTC (permalink / raw) To: Christopher W. Ryan; +Cc: emacs-orgmode On Thu, Dec 5, 2013 at 8:27 PM, Christopher W. Ryan <cryan@binghamton.edu> wrote: > In LaTeX, I would typically use the enumitem package, and then start an > itemized list with > > \begin{itemize}[itemsep= ] > > where itemsep could equal whatever spacing I wanted. > > How do I change the inter-item vertical spacing (specifically, decrease > it) in org-mode with pdflatex export? If I follow correctly, you're saying that enumitem works in raw LaTeX and you want to use it via Org-mode? If so, can you get by with applying document-wide settings in the .org file header? #+latex_header: \usepackage{enumitem} #+latex_header: \setlist or \setenumerate [global options you want applied][1] Or do you need control at the level of specific itemized groupings, and thus document-wide settings wouldn't work for your situation? Hope that helps? John [1] Like this: http://tex.stackexchange.com/questions/75578/how-to-change-list-settings-globally > > Thanks. > > --Chris Ryan > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to adjust vertical spacing between lines in a simple list, pdflatex export 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 1 sibling, 1 reply; 5+ messages in thread From: Thomas S. Dye @ 2013-12-06 3:14 UTC (permalink / raw) To: Christopher W. Ryan; +Cc: emacs-orgmode Aloha Chris, "Christopher W. Ryan" <cryan@binghamton.edu> writes: > In LaTeX, I would typically use the enumitem package, and then start an > itemized list with > > \begin{itemize}[itemsep= ] > > where itemsep could equal whatever spacing I wanted. > > How do I change the inter-item vertical spacing (specifically, decrease > it) in org-mode with pdflatex export? > You'll need to make certain enumitem is loaded. Then, this should work: #+ATTR_LATEX: :options itemsep=1pt - One - Two - Three \begin{itemize}[itemsep=1pt] \item One \item Two \item Threee \end{itemize} % Emacs 24.3.1 (Org mode 8.2.3c) All the best, Tom -- Thomas S. Dye http://www.tsdye.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to adjust vertical spacing between lines in a simple list, pdflatex export 2013-12-06 3:14 ` Thomas S. Dye @ 2013-12-09 20:12 ` Christopher W. Ryan 2013-12-09 21:01 ` John Hendy 0 siblings, 1 reply; 5+ messages in thread From: Christopher W. Ryan @ 2013-12-09 20:12 UTC (permalink / raw) To: emacs-orgmode Thanks, but I'm still having trouble. If the beginning of my org subtree looks like this: ** Review of assessment system for preceptors :PROPERTIES: :EXPORT_FILE_NAME: ReviewOfAssessmentSystemForPreceptors-12-02-2013 :EXPORT_TITLE: Review of our system for assessing students' clinical performance :EXPORT_AUTHOR: Christopher w. Ryan, MD MS :EXPORT_EMAIL: cryan@binghamton.edu :EXPORT_LATEX_HEADER: \usepackage{enumitem} :END: *** Introduction Then I get a Latex preamble looks like this: % Created 2013-12-09 Mon 15:02 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage[margin=0.75in]{geometry} \usepackage{charter} \usepackage{pdfpages} \usepackage{charter} \usepackage{pdfpages} \providecommand{\alert}[1]{\textbf{#1}} \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}} The enumitem package is not loaded. Also, I'm puzzled by the appearance of \usepackage{charter} twice, when I did not even call it once in the org subtree. If, on the other hand, my org subtree looks like this: ** Review of assessment system for preceptors :PROPERTIES: :EXPORT_FILE_NAME: ReviewOfAssessmentSystemForPreceptors-12-02-2013 :EXPORT_TITLE: Review of our system for assessing students' clinical performance :EXPORT_AUTHOR: Christopher w. Ryan, MD MS :EXPORT_EMAIL: cryan@binghamton.edu :END: #+LATEX_HEADER: \usepackage{enumitem} Then my Latex preamble looks like this: % Created 2013-12-09 Mon 15:07 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage[margin=0.75in]{geometry} \usepackage{enumitem} \usepackage{charter} \usepackage{pdfpages} \usepackage{charter} \usepackage{pdfpages} \providecommand{\alert}[1]{\textbf{#1}} \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 that enumitem is indeed loaded. But including #+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. --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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to adjust vertical spacing between lines in a simple list, pdflatex export 2013-12-09 20:12 ` Christopher W. Ryan @ 2013-12-09 21:01 ` John Hendy 0 siblings, 0 replies; 5+ messages in thread From: John Hendy @ 2013-12-09 21:01 UTC (permalink / raw) To: Christopher W. Ryan; +Cc: emacs-orgmode 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 > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-12-09 21:01 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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
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).