TeX - LaTeX Asked on April 19, 2021
documentclass{article}
usepackage{enumerate}
begin{document}
begin{enumerate}[1)]
item aaa
item bbb
item [2textit{bis})] ccc
item ddd
item eee
item fff
item [5textit{bis})] ggg
item [5textit{ter})] hhh
end{enumerate}
end{document}
How can I align 2bis, 5bis, and 5ter items with the other numbers?
So far your items' labels are right aligned, Do you like to have left aligned? With use of the enumitem
package you can simple left align items' labels with option align=left
:
documentclass{article}
usepackage{enumitem}
begin{document}
begin{enumerate}[leftmargin=*, label=arabic*), widest=7bis), align=left]
item aaa
item bbb
item [2textit{bis})] ccc
item ddd
item eee
item fff
item [5textit{bis})] ggg
item [5textit{ter})] hhh
end{enumerate}
end{document}
If you drop widest=...
from enumerate
options, than you will get:
Correct answer by Zarko on April 19, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP