# How to remove dots after the chapters numbers?

I would like to remove the dot that appears just after chapter's title.

How could I do that? This is my mwe using TeXShop Version 3.75 :

    \documentclass[fontsize=12pt,%
twoside=semi,%
chapterprefix=true,%
listof=flat]%
{scrbook}
\usepackage{setspace}
\usepackage{pdfpages}

%%%%%%%%%%%%%%%%%%%%%%%%%%numéros page%%%%%%%%%%%%
\usepackage[automark]{scrlayer-scrpage}% See scrguien.pdf, chapter 5
\ohead*{\pagemark}% page number at the outer edge of the page head (plain pages too)
\ofoot*{}% no page number at the outer edge of the page footer (plain pages too)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\let\bfseries\mdseries

\usepackage[utf8]{inputenc}
\usepackage [french]{babel}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
\usepackage{hyperref}

\AtBeginDocument{\renewcommand{\thepart}{\Roman{part}}}

%%%%%%%%%%%%Numérotation des chapitres et section%%%%%%%%%%%%%%%%%%%
\makeatletter
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{lipsum}

\begin{document}

\frontmatter
\tableofcontents

\chapter{Introduction}
\lipsum

\mainmatter

\part{Objet et méthode}

\chapter{Définitions}
\lipsum
\end{document}

• When I compile your code, I don't get any dots after the chapter-level headers. Which TeX distribution do you employ?
– Mico
Apr 13 '19 at 18:24
• Off-topic: Do not use package tocloft with a KOMA-Script class.
– esdd
Apr 13 '19 at 18:30
• I get your dot after the chapter number only using the option "numbers=enddot".
– Typo
Apr 13 '19 at 18:43
• @esd: Why? I already wrote my thesis using that package. I just want to remove the dot after the title number.
– domi
Apr 13 '19 at 19:16
• in the title and text of your question, you say you want to remove the dot after the chapter title. In a comment, you say you want to remove the dor after the number. Which is it? If appropriate, please rephrase the question. Apr 13 '19 at 20:51

To remove the dot only after chapter numbers in the chapter title redefine \chapterformat¹:

\renewcommand*{\chapterformat}{%
\mbox{\chapappifchapterprefix{\nobreakspace}\thechapter
\IfUsePrefixLine{}{\enskip}}%
}


Example:

\documentclass[fontsize=12pt,%
twoside=semi,%
chapterprefix=true,%
listof=flat]%
{scrbook}
\usepackage{setspace}
\usepackage{pdfpages}

%%%%%%%%%%%%%%%%%%%%%%%%%%numéros page%%%%%%%%%%%%
\usepackage[automark]{scrlayer-scrpage}% See scrguien.pdf, chapter 5
\ohead*{\pagemark}% page number at the outer edge of the page head (plain pages too)
\ofoot*{}% no page number at the outer edge of the page footer (plain pages too)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\let\bfseries\mdseries

%\usepackage[utf8]{inputenc}% can be removed with an uptodate TeX distribution
\usepackage [french]{babel}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
%\usepackage{chngcntr}% can be removed with an uptodate TeX distribution
\counterwithout{footnote}{chapter}
\usepackage{hyperref}

%\AtBeginDocument{\renewcommand{\thepart}{\Roman{part}}}
\counterwithin*{chapter}{part}

\renewcommand*{\chapterformat}{%
\mbox{\chapappifchapterprefix{\nobreakspace}\thechapter%\autodot
\IfUsePrefixLine{}{\enskip}}%
}

\usepackage{lipsum}

\begin{document}

\frontmatter
\tableofcontents

\chapter{Introduction}
\lipsum

\mainmatter

\part{Objet et méthode}

\chapter{Définitions}
\lipsum
\end{document}


¹ To remove the final dot after all numbers (chapter, section, ..., figure, table) use class option numbers=noenddot.