2

My MWE:

\documentclass[12pt,twoside]{article} 
\usepackage{titlesec}
\titleformat{\subsection}                                     
{\normalfont\itshape}
{\thesubsection}{1em}{}
\begin{document}
\section{Section}
\subsection{Subsection}
\end{document}

This gives the subsection title as, 1.1 Subsection

Instead, I want, 1.1 Subsection

2
  • Okay.. I have editted the MWE ..
    – Qwerty
    Commented Apr 4, 2017 at 10:36
  • typo 'edited' in the earlier comment
    – Qwerty
    Commented Apr 4, 2017 at 10:43

1 Answer 1

2

This should do the trick:

\titleformat{\subsection}                                     
{\normalfont}
{\thesubsection}{1em}{\itshape}

B.t.w. note you should use the NFSS syntax: \itshape, \bfseries, &c., instead of \it, \bf, &c'.

1
  • Best! That helps..
    – Qwerty
    Commented Apr 4, 2017 at 10:39

You must log in to answer this question.

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