Text FormattingRemove Indentation from Lists

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Remove Indentation from Lists

Post by AleCes »

Hi everybody.

If I

Code: Select all

\begin{itemize}
\item blah
\item blah
\end{itemize}
or

Code: Select all

\begin{enumerate}
\item blah
\item blah
\end{enumerate}
the indentation of the first line remains in subsequent lines. I'd like to remove that by default, how can I do that?

Thanks

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

Remove Indentation from Lists

Post by localghost »

It requires a proper minimal example to demonstrate what you mean. At the moment I don't have the slightest idea of the problem.


Thorsten
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Remove Indentation from Lists

Post by AleCes »

Sorry, I thought that saying I used enumerate & itemize could suffice:

Code: Select all

\documentclass[a4paper, 12pt, openany]{book}
\usepackage{a4wide}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Tinos}
\usepackage{polyglossia}
\setmainlanguage{french}
\usepackage{xunicode}
\usepackage{xltxtra}

\begin{document}
    \begin{itemize}
    \item blah
    \item blah
    \end{itemize}

   \begin{enumerate}
   \item blah
   \item blah
   \end{enumerate}

\end{document}
I hope that's all right now.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Remove Indentation from Lists

Post by localghost »

I'm still not able to recognize the problem. All items consist of one line. Which indentation exactly do you mean? And what in this context are the subsequent lines you mentioned.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Re: Remove Indentation from Lists

Post by AleCes »

OK, sorry, pretend there's more than one blah, let's say there are 100 blahs.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Remove Indentation from Lists

Post by localghost »

Even if the items have more than one line. Where exactly is the problem? Perhaps you can enlighten me. I still can't figure out which indentation you mean. Seems that I get my wires crossed.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Remove Indentation from Lists

Post by AleCes »

In normal text, only the first line is indented while on lists all lines are indented. I just want to prevent that.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Remove Indentation from Lists

Post by localghost »

Sorry, I'm still unable to make sense of that. Are these lists supposed to appear with the width of the text body? Please give a visual example.

If you wonder why I ask all these questions you should know that there are several list parameters which determine several indentation properties of lists. So you should be more specific.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Remove Indentation from Lists

Post by AleCes »

Hi localghost,

I uploaded a screenshot of the PDF in question. You can see the lines after the first in the list are still indented, while the bulk of the text (the two lines above) is not.

I hope it might help you to understand it.

Greetings
Attachments
capture.jpg
capture.jpg (208.91 KiB) Viewed 4738 times
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Re: Remove Indentation from Lists

Post by AleCes »

Bump! :!: Have you taken a look at my example?
Post Reply