tufte-latex
tufte-latex copied to clipboard
Inconsistent Indentation of Lines within Numbered List Items
(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:
[deleted comment]
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:
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
For anyone that might be searching for a fix to this issue: \usepackage{enumitem}
did the trick for me.
I get an option class error when compiling if I add the enumitem package.
@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}