Text FormattingSpace between bullet and text (in itemize)

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
pisoir
Posts: 8
Joined: Thu Aug 06, 2009 4:10 pm

Space between bullet and text (in itemize)

Post by pisoir »

I would like to set the space between the bullet in "itemize" list and the text. When I try something like

\item[$\bullet$\hspace{1cm}] Text...

it moves the bullet in the left direction (so it displaces it from the alignment of the document. I would like to define my own environment where I could set this space but I haven't found any solution how to do it correctly. I only found that "\itemsepxpt" sets the space between the items, but is there some command which would set also the space between the bullet and the text? Does anyone have any idea? Thanks.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Space between bullet and text (in itemize)

Post by localghost »

Looks like a job for the enumitem package.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{enumitem}
\usepackage{blindtext}

\begin{document}
  \blindtext
  \begin{itemize}[labelindent=1.5em,labelsep=1cm,leftmargin=*]
    \item \blindtext
    \item Two
    \item Three
  \end{itemize}
  \blindtext
\end{document}
If you want to set the parameters for the itemize environment globally, you can do this in the preamble.

Code: Select all

\setitemize{labelindent=1.5em,labelsep=1cm,leftmargin=*}
Now you can use the itemize environment without options with these settings applied to every itemized list.


Best regards
Thorsten
pisoir
Posts: 8
Joined: Thu Aug 06, 2009 4:10 pm

Re: Space between bullet and text (in itemize)

Post by pisoir »

Thanks. That was one fast and superb answer.
Post Reply