Currently, I'm trying to add a dot after numbers of a section or a subsection with KOMA-Script class. I already found some questions about this subject with the option enddot
or endperiod
but it does not work. After some research I found that the problem comes from the package minitoc
. As soon as I load it the dots disappear and even if I comment the \usepackage[francais]{minitoc}
dots won't be back.
After commenting the command,I have to delete the "myfile.aux
" to bring back dots.
Here is a MWE:
\documentclass[a4paper,numbers=enddot]{scrartcl}
\usepackage[francais]{minitoc} % sommaires
\begin{document}
\tableofcontents
\section{My section}
\subsection{My subsection}
\end{document}
This gives a table of contents with dots after numbers, but in the document the section/subsection title won't have dots.
I would like my numbers of section/subsection title to be the same as the numbers in the table of contents.
How can I obtain this? Should I remove minitoc
package?
\@sect
and so breaks quite a number of KOMA-adaptions to section.minitoc
. You may setup the teble of content yourself with integrated KOMAScript commands. Read the manual chapter 15 for details. In addition, take a look at the different\addtokomafont
-commands