Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to add some space before each \item in begin{itemize}

When i try doing something like this

\begin{itemize}
\item \hspace {5cm} Sweden
\item \hspace {5cm} Germany
\end{itemize}

The output i get is something like this

•                Sweden
•                Germany

As it can be seen the space are added after the bullets.

Any recommendation?? Help would be very much appreciated.

share|improve this question
add comment

2 Answers

up vote 16 down vote accepted

There is a dimension defined for doing just that: \itemindent.

\begin{itemize}
\addtolength{\itemindent}{5cm}
\item The first item
\item The second item
\end{itemize}

Note that \itemindent is reset at the start of the itemize environment, so you need to adjust it after \begin{itemize}. If you'd like the same indentation on all your lists, you could define a new environment which defines this:

\newenvironment{indentitemize}{%
\begin{itemize}%
\addtolength{\itemindent}{5cm}%
}
{%
\end{itemize}%
}

and use it just like a normal itemize environment. (This I havent tested, but I assume it works...)

A complete example:

\documentclass{article}
\begin{document}
This is some text before the list.
\begin{itemize}
\addtolength{\itemindent}{5cm}
\item The first item
\item The second item
\end{itemize}
\end{document}

Output:

enter image description here

share|improve this answer
    
Thanks a ton mate!! It worked! –  Kishore pandey Sep 4 '12 at 9:29
    
@Kishorepandey: No problem - that's what this site is for =) –  Tomas Lycken Sep 4 '12 at 21:49
1  
@Kishorepandey: When revisiting this post, I thought of a way to further improve the way to do this - define a new environment that takes care of the indentation, so you get the same across your document. See my updated answer for details =) –  Tomas Lycken Sep 4 '12 at 21:52
    
Thanks a lot mate! I would try this out!! :) –  Kishore pandey Sep 5 '12 at 7:23
    
@Paul Gaborit: What did you do to get the better picture? Manually crop the pdf, or something else? –  Tomas Lycken Sep 5 '12 at 9:18
show 2 more comments

enumitem allows for local redefinitions of lists via a key-value approach:

enter image description here

\documentclass{article}
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\begin{document}
\begin{itemize}
\item \hspace {5cm} Sweden
\item \hspace {5cm} Germany
\end{itemize}

\begin{itemize}[itemindent=5cm]
\item Sweden
\item Germany
\end{itemize}
\end{document}​

These localized alterations can also be made global using \setlist. See the enumitem documentation (section 5 Global settings, p 9).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.