I want my ToC to look nice - I use the tocstyle package,
and it should typeset the headings of chapters sans serif
and bold faced in the ToC, as it does in the chapters
of the body of the text. In the ToC, headings are typeset sf, but not bold faced.
Maybe someone can look at my example, to help me where my mistake
lies?
Thanks so much,
Bettina.
Code: Select all
%--PREAMBLE--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,a4paper]{report}
\usepackage[top=2 cm, bottom=2 cm, left=4 cm, right=2 cm]{geometry}
\usepackage{setspace}
\onehalfspacing
\pagestyle{plain} %pagenumbering on bottom
% \usepackage{fink} INSTALL PACKAGE and activate for test prints,
% \usepackage{scrpage2} shows Latex file names etc
% \pagestyle{scrheadings}
\usepackage[T1]{fontenc} %quotation marks european style
\usepackage{lmodern} %latin modern fonts
\usepackage[american]{babel} %specify the main language
\usepackage[utf8]{inputenc}
\addto\captionsamerican{ %exception for fixed names, using babel
\renewcommand{\indexname}
{Documentary Filmography}}
\hyphenation{ESoDoc} %no hyphenation, or specific hyphenation
\clubpenalty=10000 %eliminates widows+orphans (1000 suppresses them)
\widowpenalty=10000
\usepackage{sectsty} %section headlines ssf font
\allsectionsfont{\sffamily}
\usepackage[tocgraduated]{tocstyle}
\usetocstyle{classic}{\bfseries}
\usepackage{pdfpages} %include pdfs
\usepackage{graphicx} %include graphics in jpg,png or pdf format
\graphicspath{{images//}} %folder called images in latexfile directory
\usepackage[left]{eurosym} %include for Euro Symbol
\usepackage{url} %include URLs with \url{urlhere}
\urlstyle{sf} %sf font for URLs
\usepackage{paralist} %enable for using inline lists
\usepackage{tabularx} %text-width tables
\usepackage[authoryear,round]{natbib}
\setcitestyle{aysep={},notesep={: }}
\bibliographystyle{agsm}
\setcounter{tocdepth}{3} %ToC Level Depth
\usepackage{makeidx} %indexing
\makeindex
%\usepackage{showidx} %activate for proof-reading
\usepackage{hyperref}
\begin{document}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\input{titlepage}
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Table of Contents}
\tableofcontents
\chapter{Chapter1}
This is the Chapter
\section{Section1}
This is the section
\end{document}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%