1

I'm trying to format my thesis to university requirements. My university requires;

  • Contents title (Page & TOC) must write with capital letters.
  • Second or Third Page of toc title must be "İçindekiler (devam)".
  • subsubsection must be underlined in toc

I can't add title to toc's second or third page. For capital letter problem this is my code.

\addto\captionturkish{%
\renewcommand{\contentsname}%
   {İÇİNDEKİLER}%
}
\tableofcontents

enter image description here

I'm working on overleaf.

Edit :

Second Page of TOC(No Title): enter image description here

  • 1
    Can you explain what you mean by "cant add title to toc's second page"? Maybe a MWE would be helpful, too. tex.stackexchange.com/questions/169553/… – idkfa Oct 8 '17 at 14:25
  • I added second page of toc to question. – TahsinGokalp Oct 8 '17 at 14:49
  • I solved underline problem with this command. \renewcommand{\cftsubsubsectionfont}{\underline} Thank you :) – TahsinGokalp Oct 8 '17 at 14:50
  • Solved the capital letter problem with \renewcommand\contentsname{İÇİNDEKİLER} – TahsinGokalp Oct 8 '17 at 15:54
3

If you want to use \addto\captionturkish, it should be added in the preamble instead. If you're adding code immediately before \tableofcontents, then \renewcommand{\contentsname}{...} will do.

For the title/heading after the first page of the \tableofcontents, here's a solution inspired by https://tex.stackexchange.com/a/72991/226:

%%% IN THE PREAMBLE
\usepackage{atbegshi}
\makeatletter
\newcommand{\AtBeginShipoutClear}{\gdef\AtBegShi@Hook{}}
\makeatother

%%% IN THE DOCUMENT BODY
\AtBeginShipout{\textbf{İÇİNDEKİLER (Devam)}\par}
\tableofcontents
\AtBeginShipoutClear    % Clears the heading

You can repeat this similarly with \listoffigures, etc.

0

For Contents title (Page & TOC) must write with capital letters.

\renewcommand\contentsname{İÇİNDEKİLER}

For Second or Third Page of toc title must be "İçindekiler (devam)".

\addtocontents{toc}{\protect\chapter*{İÇİNDEKİLER (Devam)}}

if you want to add title to list of figures

\addtocontents{lof}{\protect\chapter*{ŞEKİLLER DİZİNİ (Devam)}}

For subsubsection must be underlined in toc

\renewcommand{\cftsubsubsectionfont}{\underline}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.