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:
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.
Text Formatting ⇒ Itemization problem
Itemization problem
Last edited by valefor on Thu Sep 02, 2010 2:09 pm, edited 1 time in total.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Itemization problem
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.valefor wrote:[…] If it is necessary i will show you the document too. […]
[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
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Itemization problem
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.
Note that, if a list begins immediately after a sectioning unit, top spacing specified for the list may be omitted.
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}
Re: Itemization problem
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!
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!