Text FormattingItemization problem

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
valefor
Posts: 12
Joined: Wed Sep 01, 2010 5:24 pm

Itemization problem

Post by valefor »

Hi

I have started writing a document where i need to use itemize. The fact is that the items do not leave the same space at the beginning. If you don't understand what i mean look at this:
itemization.png
itemization.png (24.4 KiB) Viewed 2223 times
If it is necessary i will show you the document too. Can anyone help me?


Edit by localghost: No external links (where applicable)! Attachments go onto the forum server (see Board Rules.
Last edited by valefor on Thu Sep 02, 2010 2:09 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Itemization problem

Post by localghost »

valefor wrote:[…] If it is necessary i will show you the document too. […]
That would be helpful to get a clue of what is going wrong. But, please reduce the code to a minimal example (see Board Rules) [1]. Otherwise we have to dig through too much code that is not relevant to the problem.

[1] View topic: Avoidable mistakes


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Itemization problem

Post by meho_r »

It is the best practice always to include a complete working example, as defined in Board Rules.

Speaking generally, you may try using enumitem package and specify topsep parameter either globally or for specific lists. However, this may not be the proper solution for your problem since something may be wrong with your code which causes improper spacing.

Code: Select all

\documentclass{article}

\usepackage{enumitem}

\setitemize{topsep=12pt}% "global" settings

\begin{document}

\section{Test}

Test

\begin{itemize}
\item Test
\item Test
\item Test

\begin{itemize}
\item Test 1
\item Test 1
\item Test 1
\end{itemize}

\item Test 
\item Test 
\item Test 
\end{itemize}

Test

\begin{itemize}[topsep=32pt]% "local" settings
\item Test 1
\item Test 1
\item Test 1
\end{itemize}

Test

\end{document}
Note that, if a list begins immediately after a sectioning unit, top spacing specified for the list may be omitted.
valefor
Posts: 12
Joined: Wed Sep 01, 2010 5:24 pm

Re: Itemization problem

Post by valefor »

Thank you everybody for your help.
I didnt know about topsep

I found the solution and it was at the arrays code. I thought it was the itemize command the problem but it was not.

I am sorry for not asking properly my problem. I will improve next time!
Post Reply