Text Formatting ⇒ label alignment in list environment
label alignment in list environment
Is there any way to change the alignment of the label in a list environment? (I would like the label to be left aligned.)
Or does that only work with the enumitem package?
Thanks,
DT
Or does that only work with the enumitem package?
Thanks,
DT
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
label alignment in list environment
Clarify if you want to modify one of the predefined lists or if you want to create a new list environment. In the first case using the enumitem package is the easiest solution.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: label alignment in list environment
I don't want to modify enumerate or itemize, I want to create a custom environment (with left aligned roman numerals), if possible, using list.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
label alignment in list environment
There's no need for the declaration of a new list environment. Just customize the existing enumerate environment as shown below.
Code: Select all
\documentclass[11pt,a4paper,english]{amsbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{enumitem}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{enumerate}[label={\roman*)},leftmargin=*]
\item One
\item Two
\item Three
\item Four
\item Five
\item Six
\item Seven
\item Eight
\item Nine
\item Ten
\end{enumerate}
\blindtext
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
label alignment in list environment
Thanks for you answer, Thorsten!
This is what it looks like with your code (the numbers are right aligned): But what I am actually trying to achieve (maybe I wasn't clear enough) is this (the numbers are left aligned): I've had a look at the enumitem documentation, and the option needed for left aligned labels is actually align=left.
Does anyone know if there is any way to do this without the enumitem package?
This is what it looks like with your code (the numbers are right aligned): But what I am actually trying to achieve (maybe I wasn't clear enough) is this (the numbers are left aligned): I've had a look at the enumitem documentation, and the option needed for left aligned labels is actually align=left.
Does anyone know if there is any way to do this without the enumitem package?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
label alignment in list environment
Where is the problem with using that package? Even the UK TeX FAQ make this suggestion. If you want to do that by hand, be proactive and get familiar with the parameters of list environments like itemize. At the moment I have not the time to guide you.ditrans wrote:[...] Does anyone know if there is any way to do this without the enumitem package?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
label alignment in list environment
The tiniest tweak to the code given above should do it. Just add align=left to the options.
(Oh, I see, you've seen that already.)
Why do you want to do this without enumitem, exactly?
(Oh, I see, you've seen that already.)
Why do you want to do this without enumitem, exactly?
Re: label alignment in list environment
There is no problem with the enumitem package, it's just that over the years I have already created quite a few customized itemize/enumerate environments using the list environment and to keep things uniform I would have liked to just create the new environment in the same way. If that's not possible or no one knows how to do it, I'll just use enumitem.
I am sort of familiar with what is possible with regards to customising itemize and enumerate. There's not a whole lot you can do (as far as I know). That's why I have used list. But even there I haven't found anything that would change the alignment of the labels.
So if anyone happens to have any ideas I would be grateful. (A tip on where I would be able to look it up would be enough.)
I am sort of familiar with what is possible with regards to customising itemize and enumerate. There's not a whole lot you can do (as far as I know). That's why I have used list. But even there I haven't found anything that would change the alignment of the labels.
So if anyone happens to have any ideas I would be grateful. (A tip on where I would be able to look it up would be enough.)