2

Default color of the title is red in classic thesis template. I tried to search the word red in the file Titlepage.tex, ClassicThesis.tex and classicthesis-config.tex, but there is not.

How can I change the title's color?

https://ctan.org/tex-archive/macros/latex/contrib/classicthesis?lang=en.


EDIT: the default command in the Titlepage.tex is:

\begingroup
\color{CTtitle}\spacedallcaps{\myTitle} \\ \bigskip
\endgroup

If I modify it with:

\begingroup
\color{CTtitle}{blue}\spacedallcaps{\myTitle} \\ \bigskip
\endgroup

the color remains the same with the word blue at the beginning of the title:

enter image description here

Thank you so much for your time.

2
  • No, you don’t write \color{CTtitle}{blue}. Instead, you write \color{blue}\spacedallcaps{\myTitle} \\ \bigskip. My solution intentionally changes the meaning of CTtitle so the replacement of color is done in a consistent way. Making changes such as yours may glances over other components. Sep 5 '18 at 19:59
  • @RuixiZhang thank you for your excellent solution. Sep 5 '18 at 20:17
5

The reason you can’t find red is because the color is not exactly red. The color is Maroon, which is stored in CTtitle and is used in the article/book title and the part titles.

\documentclass{scrbook}
\usepackage{classicthesis}
\colorlet{CTtitle}{blue}
\begin{document}
\tableofcontents
\part{First part}
\end{document}

title color

1
  • Hello @RuixiZhang, see the edit please. Sep 5 '18 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.