I'm not sure if this is too minimal. (In the real document the problem appears at the bibliography, table of contents and \chapter*
)
\documentclass[a4paper, 11pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry}
\usepackage{titlesec}
\titleformat{\chapter}[display]{\normalfont\bfseries}{}{0pt}{\LARGE\thechapter\quad}
\begin{document}
\chapter*{Not numbered}
\chapter{Numbered}
\end{document}
How do I get the \thechapter\quad
to not apply for unnumbered chapters?
Best Answer
As far as I understand what you want to do, you should use the
block
style. Add something like this to your preamble:Also, replace your present code for numbered chapters with