Theses, Books, Title pagesHow to reduce the blank space after chapter title

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
crashpole
Posts: 14
Joined: Tue Jun 02, 2015 3:10 am

How to reduce the blank space after chapter title

Post by crashpole »

Hi all,

Thank you for all the support so far. I have asked two questions and they were answered immediately! I really appreciate it!

I have another question. Again due to the page limitation, I would like to reduce the space after the chapter titles (Capture2), the space before sections (Capture1), and also before subsections.

Thank you very much!
Attachments
Capture1.JPG
Capture1.JPG (13.39 KiB) Viewed 20189 times
Capture2.JPG
Capture2.JPG (12.79 KiB) Viewed 20189 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to reduce the blank space after chapter title

Post by Johannes_B »

Package titlesec is commonly used to modify chapter and section titles, and also their spacing.

If it would just be aboout chapter titles, \RenewDocumentCommand{\chapterbelowskip}{}{\vspace*{0pt}} would have been enough.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
crashpole
Posts: 14
Joined: Tue Jun 02, 2015 3:10 am

How to reduce the blank space after chapter title

Post by crashpole »

The solution does not work :/

I get the following message after putting this command \RenewDocumentCommand{\chapterbelowskip}{}{\vspace*{0pt}} right before begin(document) command in main tex. it does not work when i put in the class file either

Code: Select all

LaTeX error: "xparse/command-not-yet-defined"
! 
! Command '\chapterbelowskip' not yet defined!
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.94 ...ommand{\chapterbelowskip}{}{\vspace*{0pt}}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to reduce the blank space after chapter title

Post by Johannes_B »

That means you are using a very old version of the template. Which one are you using?

As said before, package titleseccan modifiy the spacing around your structural level outputs.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
crashpole
Posts: 14
Joined: Tue Jun 02, 2015 3:10 am

How to reduce the blank space after chapter title

Post by crashpole »

Ah I see now. You are right! I'm using the 1.4v. In the newest version \chapterbelowskip variable is defined. Is there work around in the 1.4 version?

Btw thank you for the suggestions before. I got the after \section spacing fixed with the titlesec package. I just need to have the \chapter spacing. Let's see if I can fix it with the titlesec package.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to reduce the blank space after chapter title

Post by Johannes_B »

crashpole wrote:Ah I see now. You are right! I'm using the 1.4v. In the newest version \chapterbelowskip variable is defined. Is there work around in the 1.4 version?
Yes, titlesec.

By the way, version 1.4 was uf such bad quality, that many people have been troubles with it. By now, the template got several updates, last one not even a month ago. You should check, if the new version is better. Be sure, to work in a different directory, so your stuff that you have right now won't be corrupted.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply