Text FormattingEnumerate, controlling space between numbers and text

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Enumerate, controlling space between numbers and text

Post by jaybz »

How can I produce a enumerated list where I can control the horizontal spacing between the numbers and the text? In other words the space between
the "1" and the "F" in "First"
the "2" and the "S", in "Second"
the "3" and the "T" in "Third" ect.

Code: Select all

\documentclass{article}[12pt]
\begin{document}
\begin{enumerate}
  \item First line
  \item Second line
  \item Third line
\end{enumerate}
\end{document}
Last edited by jaybz on Wed Dec 15, 2010 7:42 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Enumerate, controlling space between numbers and text

Post by meho_r »

Try with enumitem package, change labelsep:

Code: Select all

\documentclass{article}[12pt]
\usepackage{enumitem}
%\setenumerate{itemindent=1cm,labelsep=1cm}% Uncomment for global settings, applied to all enumerated lists
\begin{document}
\noindent Some text
\begin{enumerate}[itemindent=1cm,labelsep=1cm]% Local settings, applied to this list only
  \item First line
  \item Second line
  \item Third line
\end{enumerate}
Some text
\end{document}
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Re: Enumerate, controlling space between numbers and text

Post by jaybz »

Thank you meho_r.
Post Reply