1

I need to change default title of ToC that \parttoc generates, without using titlesecpackage. Here is my code:

\documentclass{report}
\usepackage[spanish]{babel}
\usepackage{minitoc}
\usepackage{tocvsec2}

\begin{document}

\doparttoc

\tableofcontents

\part{I. MEMORIA}
\parttoc

\chapter{Chapter1}
\section{Section1.1}
\chapter{Chapter2}
\section{Section2.1}

\end{document}

The ToC generates from \parttoc would look like:

enter image description here

I´d like to change the default 'Table of Contents' title for what I want.

Could someone help me?

Thank you.

1

You can redefine \ptctitle:

\documentclass{report}
\usepackage[spanish]{babel}
\usepackage{minitoc}
\usepackage{tocvsec2}

\renewcommand\ptctitle{My PTC}

\begin{document}

\doparttoc

\tableofcontents

\part{I. MEMORIA}
\parttoc

\chapter{Chapter1}
\section{Section1.1}
\chapter{Chapter2}
\section{Section2.1}

\end{document}

enter image description here

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.