Theses, Books, Title pagesMoving the large grey chapter numbers' positions

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

Moving the large grey chapter numbers' positions

Post by templateuser »

Is there a way to move the position of the large, grey chapter numbers that appear on the top right of the 1st page of a new chapter?

As I've adjusted my margins, I'd like to be able to reposition them accordingly.

Thank you in advance!

Catherine

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Moving the large grey chapter numbers' positions

Post by Vel »

Hi Catherine,

The line you're interested in is line 373 of classicthesis.sty:

Code: Select all

{\relax}{\mbox{}\oldmarginpar{\vspace*{-3\baselineskip}\color{halfgray}\chapterNumber\thechapter}}{0pt}
To change the height of the chapter number, adjust the value in \vspace*{-3\baselineskip}, to change how far right the number is, add a \hspace{-20pt} just before \chapterNumber\thechapter with a positive value for moving it right and negative value for moving it left.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Moving the large grey chapter numbers' positions

Post by templateuser »

Hi there,

The large grey numbers in the appendix feature as 'A' and 'B'. I'd like to change these letters as I prefer to call the appendix 'Supplementary Information', therefore I'd like the top right large grey letter to be 'SI'.

How do I change the large letter from 'A' to 'SI'?

Thanks!

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

Moving the large grey chapter numbers' positions

Post by Vel »

Hey,

Just place the following right after \appendix in your main.tex file:

Code: Select all

\renewcommand{\thechapter}{SI}
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Moving the large grey chapter numbers' positions

Post by templateuser »

Thanks for replying so quickly!

Related to the first post, having adjusted the positions of the chapter numbers as you kindly instructed, the same command does not seem to adjust the position of the large grey 'SI' chapter number. Is there a separate command line that determines the position of the appendix chapter numbers?

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

Moving the large grey chapter numbers' positions

Post by Vel »

Hey,

I just opened up the template and changed the A to SI using my last reply and then added the \hspace{-20pt} to line 373 of classicthesis.sty as per my first reply in this thread like so:

Code: Select all

{\relax}{\mbox{}\oldmarginpar{\vspace*{-3\baselineskip}\color{halfgray}%
\hspace{-20pt}\chapterNumber\thechapter}}{0pt}
This caused the gray SI heading to move left. Did you add the negative hspace in the same place? Note that if you're using the 'linedheaders' option when calling the classicthesis style from classicthesis-config.tex you will need to add the negative horizontal on line 370 instead.

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