tufte-latex icon indicating copy to clipboard operation
tufte-latex copied to clipboard

Inconsistent Indentation of Lines within Numbered List Items

Open GoogleCodeExporter opened this issue 9 years ago • 6 comments

(Please attach an example .tex file demonstrating the problem or bug.)

Attached
--------
example-numbered-list.pdf
example-numbered-list.tex
indentation-example.png


Please describe the feature, problem, or bug:
---------------------------------------------
When a numbered list item spans multiple lines, the first line's indentation is 
bigger than the lines that follow.


What is the expected output? What do you see instead?
-----------------------------------------------------
Expected output is for the lines to line up perfectly (as they do using an 
itemized bulleted list.


What version of Tufte-LaTeX are you using?  With which TeX distribution?
------------------------------------------------------------------------
I'm using Tutfe-LaTeX 3.5.0 and TeXLive 2009 for Linux.


Please provide any additional information below.
------------------------------------------------
Operating System: Ubuntu 10.04 Desktop (Linux 2.6.32-22-generic i686 GNU/Linux).

Created with pdfTeX 1.40.10


Many thanks for any advice!

Original issue reported on code.google.com by [email protected] on 7 Jun 2010 at 9:21

Attachments:

GoogleCodeExporter avatar Mar 12 '15 19:03 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Mar 12 '15 19:03 GoogleCodeExporter

Hi.

Unfortunately, this is not avoidable and depends on the font, as you already 
mentioned. It becomes clear, when you look at the attached sample. The 
indentation has to be so big that it can accommodate all the digits. It is more 
obvious switching from one to two digit numbers.

Andy

Original comment by [email protected] on 12 Aug 2011 at 8:37

Attachments:

GoogleCodeExporter avatar Mar 12 '15 19:03 GoogleCodeExporter

One alternative would be to allow the numbers to hang into the margins as 
necessary.  So the numbers as essentially right-aligned against the period.  As 
the numbers grow in length, they may start to jut out into the margin.

What do you guys think of this open?

Original comment by [email protected] on 12 Aug 2011 at 10:28

GoogleCodeExporter avatar Mar 12 '15 19:03 GoogleCodeExporter

For anyone that might be searching for a fix to this issue: \usepackage{enumitem} did the trick for me.

oneilsh avatar May 08 '17 20:05 oneilsh

I get an option class error when compiling if I add the enumitem package.

gbelanger avatar May 09 '17 08:05 gbelanger

@gbelanger It sounds like another package you're using may be loading the enumitem package already.

A simple test case compiles fine for me:

\documentclass{tufte-handout}
\usepackage{enumitem}
\begin{document}
Test list:
\begin{enumerate}
  \item First
  \item Second
  \item Third
\end{enumerate}
\end{document}

godbyk avatar May 11 '17 06:05 godbyk