LaTeX forum ⇒ Theses, Books, Title pagesGap before new chapter Topic is solved

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

Gap before new chapter

Postby templateuser » Mon Mar 30, 2015 1:14 pm

HI. How do i remove this huge space between the header and the chapter name? And how can I adjust the space between sections/subsections (2nd picture)? Thanks a lot

http://up.picr.de/18440185ee.png

http://up.picr.de/18440182ey.png

Toby
Last edited by templateuser on Mon Mar 30, 2015 1:14 pm, edited 1 time in total.

Tags:

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

Postby Vel » Mon Mar 30, 2015 1:14 pm

Hey,

To do both of those things you'll need to use the titlesec package. There's been a few questions on how to do specific things with the different section titles so have a look on this forum for some ideas.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

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

Postby templateuser » Mon Mar 30, 2015 1:14 pm

Hey Vel. Thank you very much! I was able to adjust the spacing in my thesis' content, but not on the content page, list of figure page, etc. I tried \chapter, \part etc. but nothing is working

Cheers,
Toby

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

Postby Vel » Mon Mar 30, 2015 1:14 pm

Hey Toby,

These three commands are what you want, just add them to your preamble and that's it!

  1. \renewcommand\listfigurename{New Name for List of Figures}
  2. \renewcommand\listtablename{New Name for List of Tables}
  3. \renewcommand\contentsname{New Name for Table of Contents}


Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

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

Postby templateuser » Mon Mar 30, 2015 1:14 pm

Hey Vel,

I was trying to reduce the space above the chapter titles to. Reading the previous posts I tried to use

  1. \usepackage{titlesec}
  2. \titlespacing*{\chapter}{}{-5cm}{}


but it does not appear to change anything.

Do you have any tips?

Cheers,

Leach

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

Postby Vel » Mon Mar 30, 2015 1:14 pm

Hi Leach,

The reason it's not working is due to this line in the titlesec documentation:

Note. \titlespacing does not work with neither \chapter nor \part unless you change its title format as well by means of \titleformat, the simple settings, or \titleclass.


Therefore, all you have to do is re-define the title with \titleformat such as here, then you can use titlespacing.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 3 guests