Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I found the \hangsecnum command for having section numbers hanging out into the left margin. Now I want to do the same thing for all lists also, that is for the enumerate and itemize environments at least and maybe also for description if it is possible. I have been searching but not come up with any obvious ways of doing this.

Just to be clear here is some ASCII-art showing what I want to do:

   Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
   Donec accumsan, quam eget mollis eleifend, elit libero 
   molestie quam, vitae gravida eros lorem eget diam. 
   Nulla mollis cursus condimentum. Luctus eget vestibulum:

 * ante 
 * ipsum 
 * primis 

   On faucibus orci luctus et ultrices posuere cubilia 
   Curae; Donec consequat elementum dictum. Suspendisse metus
   turpis, venenatis at mollis quis, porta sit amet lectus:

 1 aliquam 
 2 erat 
 3 volutpat

   Vestibulum posuere convallis nibh a lacinia.

How can I do it?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

Following up on daleif's suggestion, here's a way to implement this with enumitem:

\documentclass{article}
\usepackage{enumitem}
\usepackage{lipsum} % package used only for blind text
\begin{document}
\lipsum[1]
\begin{itemize}[leftmargin=0em]
\item Libert\'e
\item Equalit\'e
\item Fraternit\'e
\end{itemize}
\lipsum[1]
\end{document}

If you want to make that change global, add this to your preamble:

\setitemize{leftmargin=0em}
\setenumerate{leftmargin=0em}
\setdescription{leftmargin=0em}

Or for all three at once:

\setlist{leftmargin=0em}

You might want to treat descriptions differently, though. I've not tested it...

share|improve this answer
1  
There are also commands to set enumerate and descriptions: \setenumerate and \setdescription. –  N.N. Jun 23 '11 at 12:15
    
@N.N. Yes. I should mention those, I guess. –  Seamus Jun 23 '11 at 12:19
add comment

memoir does not provide any interfaces for lists, try the enumitem package, it is really easy to do with that package

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.