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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the article class I have this section of code

  \setlength\leftmargini  {2em}
  \setlength\leftmargini  {2.5em}
\leftmargin  \leftmargini
\setlength\leftmarginii  {2.2em}
\setlength\leftmarginiii {1.87em}
\setlength\leftmarginiv  {1.7em}
  \setlength\leftmarginv  {.5em}
  \setlength\leftmarginvi {.5em}
  \setlength\leftmarginv  {1em}
  \setlength\leftmarginvi {1em}
\setlength  \labelsep  {.5em}
\setlength  \labelwidth{\leftmargini}
\@beginparpenalty -\@lowpenalty
\@endparpenalty   -\@lowpenalty
\@itempenalty     -\@lowpenalty
\newcommand\labelitemii{\normalfont\bfseries \textendash}

that set the margins and type of items for the diferent list environments.

How can I modify this to obtain a first margin item equal to 0pt?

share|improve this question
Why do you want to work at such level. The package enumitem offers a very user friendly way to set lists. – Marco Daniel May 31 '12 at 19:51
Because I'm creating a new class from article class. – OSjerick May 31 '12 at 19:57
Than have a look at the package layouts. It prints all length of the list environment. Based on this information you can manipulate the elements. – Marco Daniel May 31 '12 at 19:59
@osjerick Nothing prevents using enumitem to define list environments in a class. – egreg May 31 '12 at 20:40

To setup a list whether in an own document class, package or in the preamble I recommend the package enumitem which is really flexible.

If you avoid such package your must consult the reference manual source2e

Every environment like enumerate or itemize based on the environment list. The linked reference manual explained the length.

To visualize the length of the current environment you can use the package layouts which produced the following output:

enter image description here

Here the MWE which produced the picture above.


share|improve this answer

Would this suit your needs? It sets the left margin to 0pt, meaning that the bullet or number goes into the margin. Aligning the bullet/number with the margin would be trickier (though perhaps a package can do it for you, I don't know).


A MWE would then be something like:






\item My list 1
\item My list 2
    \item My nested item


\item My list 1


\item[Label] My list 1

share|improve this answer

Your Answer


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.