LaTeX forum ⇒ Theses, Books, Title pagesChanging line spacing Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
fabriziomiano
Posts: 5
Joined: Thu Jun 08, 2017 6:21 pm

Changing line spacing

Postby fabriziomiano » Thu Jun 08, 2017 6:49 pm

Hi,

thank you guys very much indeed for this awesome template and the detailed README you've provided.
I was trying to change the line spacing, but I don't seem to be able to do it.

I tried the options onehalfspacing and doublespacing in both \documentclass[]{} - in the main - and \PassOptionsToPackage{}{} in classicthesis-config.tex but both don't seem to be affecting the layout at all.

I guess there must be something I'm missing either in classicthesis-config.tex or in classicthesis.sty

Any help is much appreciated.
Cheers,
Fab

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Jun 09, 2017 7:01 am

Please provide a minimal working example for us to reproduce the issue.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jun 09, 2017 11:49 am

Hi Fab,

welcome to the forum!

Make the setting after \usepackage{classicthesis}, such as \usepackage[onehalfspacing]{setspace}.

Stefan
Site admin

fabriziomiano
Posts: 5
Joined: Thu Jun 08, 2017 6:21 pm

Postby fabriziomiano » Fri Jun 09, 2017 12:00 pm

Hi guys,

thanks for the fairly prompt reply.
I should've removed the post as a couple of hours after having posted it I worked out the solution, but then I thought that having a thread like this one wouldn't really hurt, would it?

The following few lines in classicthesis-config.tex (L251) contain the solution
  1. %----------------------------------------------------------------------------------------
  2. % CHANGING TEXT AREA
  3. %----------------------------------------------------------------------------------------
  4.  
  5.  
  6. \linespread{1.25} % a bit more for Palatino
  7. \areaset[current]{312pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip
  8. \setlength{\marginparwidth}{7em}%
  9. \setlength{\marginparsep}{2em}%
  10. %----------------------------------------------------------------------------------------


The \linespread{1.25} is the one that has to be changed accordingly. I found out that 1.25 was good enough to reproduce the 'onehalfspacing' option.

I hope this helps other people who might experience the same issue.

Cheers,
Fab

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jun 09, 2017 12:05 pm

Hi Fab,

indeed, it's much better to post the solution instead of deleting the question, so there's one more solution that googling people can find,

thanks!

Stefan
Site admin


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 3 guests