# How can I change format of number of section and subsection in the list of contents? [duplicate]

\documentclass{report}
\begin{document}
\tableofcontents
\chapter{TEST}
\section{Introduction}
\subsection{Test subsection}
\end{document}


I want to appear statements "1-1-" and "1-1-1-" instead of "1.1" and "1.1.1" in the list of contents. Can you help?

## marked as duplicate by user31729 Oct 22 '17 at 14:51

• This is a standard question here: \renewcommand{\thesection}{\thechapter-\arabic{section}} – user31729 Oct 22 '17 at 14:48