LaTeX: indentation itemize
March 8th, 2007 | work | 15 Comments »Tags: 26, 60, AB, amtrak, auto, automatic, code, ex, Latex, on, pro, red, strike, that, Website, x, your
Ever wondered how to change the indentation in the LaTeX itemize environment? Well, it can’t. When you use the itemize environment in LaTeX your items (\item) will automatically be indented about 2em. Sometimes however (like me yesterday), this indentation is not needed and you want the items in you list to be aligned as the text. However in that case you will have to use the list environment. This is a general environment that can be used for any kind of list and of which the itemize is a special case. To generate an itemize without identation use the following code:
\begin{list}{\labelitemi}{\leftmargin=1em}
\item First item in the list
\item Second item
\item and so on
\end{list}
For more information on the list environment, check this website
The photoblog of Dirk aka Dikkie. You may expect beautiful pictures here and some chatting about photography. Welcome!
Thanks for the tip. Solved a problem for me.
Thanks, works like a charm
Thanks, this tip helped me out with a problem. Now if only I had the time to create a few specialised list environments for my own use.
Thank you soo much!
Great! This is exactly what I needed.
Thank you!
Thanks, just what I was looking for!
Steffen
Thanks a lot!
Thank you!
You may also be interested in the enumitem package. I came across this page titled “Examples of how to use the Enumitem Package in the LaTeX Typesetting System”, today, here, http://tkcs-collins.com/truman/latex/list_examp.shtml
Thanks!
Cool, thanks, it works! My problem is solved.
Thanks, it was very useful!
Many thanks, have been struggling with \begin{itemize} for hours.
Thank you very much! Works perfectly!
exactly what i wanted, thank you Dirk