I need to format enumerate items so there's a space at left and at right, as shown on the picture below (this was done using a standard word processor). I'm currently using the enumitem package to change the enumerate number.
How can we tell LaTeX to add some space on the right, so the item is symetrically placed in the middle of the default text ?
Text Formatting ⇒ enumitem | Space around enumerated Items
enumitem | Space around enumerated Items
Last edited by Cham on Thu Aug 11, 2011 8:14 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: enumitem | Space around enumerated Items
Hi Cham,
you could use a quote or quotation environment, or a centered parbox or minipage, and use an enumerate environment within, just without own left margin.
Stefan
you could use a quote or quotation environment, or a centered parbox or minipage, and use an enumerate environment within, just without own left margin.
Stefan
LaTeX.org admin
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
enumitem | Space around enumerated Items
The enumitem manual suggests to explicitly set the right margin.
This is only a local setting. For global settings consult the package manual.
As always, the blindtext package has only been used to create dummy text. It is not part of the solution.
Thorsten
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{enumitem}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{enumerate}[rightmargin=\parindent]
\item \blindtext
\end{enumerate}
\blindtext
\end{document}
As always, the blindtext package has only been used to create dummy text. It is not part of the solution.
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
enumitem | Space around enumerated Items
This is working great. Thanks a lot for the fast answer !localghost wrote:The enumitem manual suggests to explicitly set the right margin.
