Theses, Books, Title pagesProbable change for the behavior of vertical space

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Probable change for the behavior of vertical space

Post by templateuser »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Probable change for the behavior of vertical space

Post by Vel »

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:

Code: Select all

\usepackage[compact]{titlesec}  
\titlespacing{\section}{0pt}{0pt}{0pt}
To reduce spacing within and around lists use:

Code: Select all

\usepackage{enumitem}
\setlist[itemize]{noitemsep, topsep=0pt}
Cheers,
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
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Probable change for the behavior of vertical space

Post by templateuser »

I believe that your solution also modifies the spacing between the list items. I only want to reduce the spacing around list environments.

mroavi
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Probable change for the behavior of vertical space

Post by templateuser »

I just realized that I just have to change \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.
Post Reply