I'm using the enumitem
package to define a legal list:
\usepackage{enumitem}
\newlist{legal}{enumerate}{10}
\setlist[legal]{label*=\arabic*.}
The output for a list looks like this:
1. foo
1.1 bar
1.1.1 bla
1.2 baz
1.2.1 blubb
2. fuuu
But that gets somewhat clobbered if you have many items and deep nesting. So I want all the labels to align on the leftmost side but keep the indentation for the items themselves like so:
1. foo
1.1 bar
1.1.1 bla
1.2 baz
1.2.1 blubb
2. fuuu
I guess this would make searching for an entry in that list easier. Any ideas on how to achieve that?
I have already tried the align
option of the enumitem
package but that didn't work as intended.