The vertical spaces that divide environments such as itemize, enumerate, or description with the rest of the text, are equal to the vertical space that exists between the title of a new section and the previous line. To me, this doesn't seem very logic since vertical space between new sections and previous lines should be larger than internal environments within a section. Is there anyway to change this behavior? Do you think that the change should be made permanently to the template?
mroavi
Theses, Books, Title pages ⇒ Probable change for the behavior of vertical space
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
Probable change for the behavior of vertical space
Hi,
This is a matter of preference and there is no one correct way to set up spacing in a document. I believe this template is using the default LaTeX spacings and spacing are easily adjusted from there.
To reduce space between sections/subsections and paragraphs of text use:
To reduce spacing within and around lists use:
Cheers,
Vel
This is a matter of preference and there is no one correct way to set up spacing in a document. I believe this template is using the default LaTeX spacings and spacing are easily adjusted from there.
To reduce space between sections/subsections and paragraphs of text use:
Code: Select all
\usepackage[compact]{titlesec}
\titlespacing{\section}{0pt}{0pt}{0pt}
Code: Select all
\usepackage{enumitem}
\setlist[itemize]{noitemsep, topsep=0pt}
Vel
Last edited by cgnieder on Tue Mar 24, 2015 1:14 pm, edited 1 time in total.
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: Probable change for the behavior of vertical space
I believe that your solution also modifies the spacing between the list items. I only want to reduce the spacing around list environments.
mroavi
mroavi
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Probable change for the behavior of vertical space
I just realized that I just have to change \
mroavi
setlist[itemize]{noitemsep, topsep=0pt} to \setlist[itemize]{topsep=0pt}
. Perhaps you should edit your answer so that it explicitly answers the question. Thanks a lot by the way.mroavi
Last edited by cgnieder on Tue Mar 24, 2015 1:14 pm, edited 1 time in total.