I was wondering if you could help me with some alignment issues. I've search both here and Google but haven't really found a decent solution.
This is what I have (LaTeX default):
1 First section
1. Apple
2. Banana
3. Cherry
1.1 First subsection
- Foo
- Bar
This is what I want:
1 First section
1. Apple
2. Banana
3. Cherry
1.1 First subsection
- Foo
- Bar
Notice how everything lines up in the margin in the second example. I think this makes the rhythm of the document flow much better.
A great example of what I want can be found in the documentation for the microtype
package.
Best Answer
The solution below uses the
enumitem
package to customize theenumerate
anditemize
environments, and thetitlesec
package to customize thesection
andsubsection
headings.Note that I have loaded the
geometry
package withshowframe=true
to show where the page boundaries lie.