I'm using cleanthesis template and have trouble in to compile since KOMA-script
and titlesec
are not compatible
Then, the idea would be to "translate" the titlesec section:
\titleformat{\chapter}[display]%
{\usekomafont{chapter}}%
{\vspace{-8em}\raggedleft{%
{\color{ctcolorchapterline}%
\rule[-5pt]{2pt}{5cm}}\quad% Line
{\color{ctcolorchapternum}
\fontsize{60}{60}\selectfont\thechapter}% Chapter number
}%
}%
{-2.1em}%
{\ctformatchapter}%
[\phantomsection]
into a KOMA-script one, that I tried:
\renewcommand*{\chapterformat}{%
\vspace{-8em}\raggedleft{%
{\color{ctcolorchapterline}%
\rule[-5pt]{2pt}{5cm}}\quad%
{\color{ctcolorchapternum}
\fontsize{60}{60}\selectfont \thechapter \autodot\endskip}% Chapter number
}%
}
Thank you.
Best Answer
The linked
cleanthesis
package uses KOMA-Script commands. So it should be used with a KOMA-Script class but it breaks many of their features. For examplelistof=totoc
does not work withcleanthesis
.Or if you use option
b
insteadt
for\parbox
:If you really want to use
classicthesis
you can add the following code between\usepackage{classicthesis}
and\begin{document}
in the file thesis-example.tex of your linked example:Note that you also can simple remove
chapterprefix=true
from the class options instead using\KOMAoptions{chapterprefix=false}
.