Text Formatting ⇒ label alignment in list environment
label alignment in list environment
Or does that only work with the enumitem package?
Thanks,
DT
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
label alignment in list environment
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: label alignment in list environment
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
label alignment in list environment
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}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
label alignment in list environment
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?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
label alignment in list environment
(Oh, I see, you've seen that already.)
Why do you want to do this without enumitem, exactly?
Re: label alignment in list environment
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.)