I'm new to LaTeX and already facing my first problem. I want to change all section titles to small caps in the table of contents but not in the text.
I'm using WriteLaTeX and article as document class.
This is how my document is structured
\documentclass{article}
\begin{document}
\tableofcontents
\newpage
\section{Section 1}
\subsection{Section 1.1}
\subsection{Section 1.2}
\newpage
\section{Section 2}
\newpage
\section{Section 3}
\end{document}
tocloftpackage will solve your problems, see my answer. But this question could be generalized to something like "How do I change the style of a part of the table of contents?" Answer: The tocloft manual (pp 8-12) provides an overview of all relevant commands. You're likely to find something there.\ctfsecfont, in this case, but tocloft provides commands for parts, chapters, subsections, paragraphs, figures etc. – Emiel Jul 11 '13 at 12:35