I want the title for the Acknowledgements page in my thesis to be in small caps. However, if I change it, it also changes in the table of contents.
How can I avoid this? Especially, the roman page number in the ToC is in small caps too, even if on the page it is in normal small letters. What I would like is to have the entry for Acknowledgements look the same way that the entry for Abstract does. Here a minimal example:
\documentclass[a4paper, titlepage]{article}
\let\stdsection\section
\renewcommand\section{\newpage\stdsection}
\begin{document}
\pagenumbering{roman}
\setcounter{secnumdepth}{0}
\begin{center}
\section{\sc{Acknowledgements}}
Thanks
\end{center}
\section{Abstract}
Abstract text
\tableofcontents
\cleardoublepage
\setcounter{page}{1}
\pagenumbering{arabic}
\section{Introduction}
Blablabla
\end{document}
Best Answer
\titleformat*
(from thetitlesec
package) can be used in the body of the document; using a grouping mechanism, you can keep the effect local. In the example below I wrapped the format definition inside a command using a group to modify the aspect of only the desired sectional unit: