[Tex/LaTex] Italic style for subsection title, not for the number


I'm trying to give to the subsection title an italic style, but I don't want that this style is applied also to the subsection number. Is it possible?

I'm trying in this way:





but what I have is this:

enter image description here

As you can see also "1.1.1" is italic.

Best Answer

The unstarred version of \titleformat has more options, and can do what you want:


Here the \upshape\thetitle\quad part changes the font back to upright for the number only.

If you define multiple section types (i.e. also subsubsection) to have italic titles, it may be easier to specify that all ((sub)sub)sections should have their numbering upright with the following:

Related Question