Theses, Books, Title pagesChanging line spacing

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

Changing line spacing

Post by fabriziomiano »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Changing line spacing

Post by Johannes_B »

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: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Changing line spacing

Post by Stefan Kottwitz »

Hi Fab,

welcome to the forum!

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

Stefan
LaTeX.org admin
fabriziomiano
Posts: 5
Joined: Thu Jun 08, 2017 6:21 pm

Changing line spacing

Post by fabriziomiano »

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

Code: Select all

%----------------------------------------------------------------------------------------
%	CHANGING TEXT AREA 
%----------------------------------------------------------------------------------------


\linespread{1.25} % a bit more for Palatino
\areaset[current]{312pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip
\setlength{\marginparwidth}{7em}%
\setlength{\marginparsep}{2em}%
%----------------------------------------------------------------------------------------
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: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Changing line spacing

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply