[Tex/LaTex] classicthesis part numerals TOC vs. in text

capitalizationclassicthesisroman numeralstable of contents

My question is similar to this one this one.

I use classicthesis and have the problem that

a) when I don't redefine \thepart, I get

  • lower case (instead of uppercase) roman numerals in the TOC
  • uppercase roman numeral in the text (on the "title page" of the part)

b) when I use \AtBeginDocument{\renewcommand{\thepart}{\Roman{part}}} in the preamble, I get

  • upper case roman numerals in small caps (instead of spaced low small caps) in the TOC
  • uppercase roman numeral in the text

c) when I use \AtBeginDocument{\renewcommand{\thepart}{\spacedlowsmallcaps{\Roman{part}}}}in the preamble, I get

  • upper case roman numerals in the TOC
  • uppercase roman numeral in low small caps (instead of standard font/capitalization) in the text

What I want, is a combination of both:

  • upper case roman numerals in spaced low small caps in the TOC
  • uppercase roman numerals in standard font/capitalization in the text

EDIT:

sorry, here is a MWE

\documentclass[12pt,
               a4paper,
               footinclude=true,
               headinclude=true,
               titlepages
               %draft
               ]{scrbook}

\usepackage[linedheaders,
            eulermath,
            eulerchapternumbers,
            parts,
            floatperchapter]{classicthesis} 

% a) without a redefinition of \thepart
% --

% b) redefinition with uppercase roman number
% \AtBeginDocument{\renewcommand{\thepart}{\Roman{part}}}

% c) redefinition with spaced low small caps
% \AtBeginDocument{\renewcommand{\thepart}{\spacedlowsmallcaps{\Roman{part}}}}

\begin{document}
% ******************************************************************************
\tableofcontents

\cleardoublepage\part{Introduction and Background}
\cleardoublepage\part{Empirical Studies}
\cleardoublepage\part{Conclusion}
\cleardoublepage\part{Appendix}
% ******************************************************************************
\end{document}

Best Answer

Is this what you want?

\documentclass[12pt,
               a4paper,
               footinclude=true,
               headinclude=true,
               titlepage,
               %draft
               ]{scrbook}

\usepackage[linedheaders,
            eulermath,
            eulerchapternumbers,
            parts,
            floatperchapter]{classicthesis}

%%% Magic code; don't ask ;-)
\makeatletter
\def\ttl@tocpart{%
  \def\ttl@a{\protect\numberline{\thepart}\@gobble{}}}
\makeatother

\begin{document}

\tableofcontents

\part{Introduction and Background}
\part{Empirical Studies}
\part{Conclusion}
\part{Appendix}

\end{document}

Table of contents

enter image description here

Part page

enter image description here

Here is a more thorough revision; you have two choices: with the code as is there will be a simple space between the part number and the title; in the code you find how to align part titles to chapter titles instead.

\documentclass[12pt,
               a4paper,
               footinclude=true,
               headinclude=true,
               titlepage,
               %draft
               ]{scrbook}

\usepackage[linedheaders,
            eulermath,
            eulerchapternumbers,
            parts,
            floatperchapter]{classicthesis} 

% make the part links in the TOC point to the right page
\usepackage{etoolbox}
\pretocmd{\oldpart}{\cleardoublepage}{}{}

\makeatletter
\def\ttl@tocpart{% %magic code, don't ask
  \def\ttl@a{\protect\numberline{\thepart}\@gobble{}}}

%% If you want part titles aligned with chapter titles
%% uncomment the following line and remove the code
%% up to (and excluding) \makeatother
% \setlength{\cftpartnumwidth}{\cftchapnumwidth}

\let\classic@l@part\l@part
\renewcommand\l@part[2]{%
  \begingroup
  \renewcommand{\numberline}[1]{\textsc{##1} }%
  \classic@l@part{#1}{#2}%
  \endgroup
}
\makeatother

\begin{document}

\tableofcontents

\part{Introduction and Background}
\chapter{Pippo}
\part{Empirical Studies}
\part{Conclusion}
\part{Appendix}

\end{document}
Related Question