\titleformat{\paragraph} [hang] {\normalfont\normalsize\bfseries {\theparagraph} {1em} {} %%

When I use \paragraph underneath a \subsubsection, the \paragraph doesn't have a section number before it.

For example, if I have


The PDF would look something like:

4.4.3 Yo

But what I want to have is:

4.4.3 Yo  Test

Does anyone have any idea how to?

  • 2
    Works properly for me, once you add a closing } after \bfseries. Jan 6, 2017 at 13:46
  • 1
    welcome to the site, but questions are always a lot easier to answer if you provide a complete small document that shows the problem, not just fragments of code. Jan 6, 2017 at 13:47

1 Answer 1


Thanks for the comments, it helped me debug the problem!

I used a latex template, and found this:


I'm new to Latex, so not sure what it does, but I commented them out and it fixed my problem.

  • The code \renewcommand{\theparagraph}{\hspace*{-1em}} basically redefined what happens when \paragraph gets invoked, essentially removing the standard numbered label, and replacing it with a negative horizontal tab. Jan 6, 2017 at 14:37
  • secnumdepth defines how deep in the sectioning scheme (\section, \subsection, \subsubsection, \paragraph, etc.) the label numbering goes. The default value depends on the documentclass Jan 6, 2017 at 14:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .