# Changing size of section erase the dot

Hi when I try to change the size of sections, the dot which must be stand near the section number is disappear.

1. SECTION >TURN> 1 SECTION

\documentclass{article}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\fontsize{12}{15}\bfseries}{\thesection}{1em}{}
\begin{document}

\section{Test Section}
test

\end{document}

• and I don't know to format code in a question. – ömer koçhan Jun 30 '18 at 14:14
• \thesection. ? – samcarter_is_at_topanswers.xyz Jun 30 '18 at 14:18
• @samcarter Would you please write your comment as an answer and be more specific? – Ruixi Zhang Jun 30 '18 at 20:06
• @RuixiZhang Thanks for the suggestion. I see that you already have a deleted answer with the same suggestion - please undelete it! I'll upvote it! – samcarter_is_at_topanswers.xyz Jun 30 '18 at 20:34

As @samcarter pointed out, the dot you desired is missing in \titleformat{\section}{...}:

\documentclass{article}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\fontsize{12}{15}\bfseries}{\thesection.}{1em}{}% The missing dot