Am 14.11.2010 01:24, schrieb Charlie:

\titleformat{\subsection}[wrap]
   {\normalfont\fontseries{b}\selectfont\filright}
   {\thesection.}{1.5em}{}

I see only the number of the section to which the subsection belongs,
but not the number of the subsection ie.

10 but not 10.1

This is because you only defined the number as
\thesection.

replace

\titleformat{\subsection}[wrap]
 {\normalfont\fontseries{b}\selectfont\filright}
 {\thesection.}{1.5em}{}

with

\titleformat{\subsection}[wrap]
 {\normalfont\fontseries{b}\selectfont\filright}
 {\thesubsection}{1.5em}{}

and it works.

Note also that you need to load these packages before your redefinition in the preamble:

\usepackage{color}
\usepackage{calc}
\usepackage{titlesec}

regards Uwe

Reply via email to