I want to change Conzalo's command little (How to reset a section counter) by removing the representation of Part [number] in the document:

% \partname{Topic}

I use the part command for Lectures, Practicals, Master Topics. My table of contents

enter image description here

and my document

enter image description here

I do not really understand the command because disabling these two lines do nothing:

% \xpatchcmd{\@part}{\normalfont}{\normalfont\centering}{}{}
% \xpatchcmd{\@part}{\Large}{\LARGE}{}{}

I want to remove the representation of Part and number.

How can you remove the representation of the Part headings every time you use part?

  • 2
    You want to remove "Part XX", but still keep the heading Practicals and CIRCULATION and HEART? What about the entries in the ToC? What other packages do you use that influence headings (like, perhaps, titlesec)? What about supplying a minimal working example (MWE)... pretty please? – Werner Feb 27 '14 at 21:06
  • Gonzalo's answer is exactly what I was looking for. I want to maintain those Practicals and Lectures -notifications in the table of contest. – Léo Léopold Hertz 준영 Feb 27 '14 at 23:04

I'm not sure if this is what you want:


    \ifnum \c@secnumdepth >\m@ne
    {\parindent \z@ \raggedright
     \interlinepenalty \@M
     \LARGE \bfseries #2%
    \vskip 3ex


\section{Section I}
\subsection{Subsection I} 

\section{Section I}
\subsection{Subsection I} 


enter image description here

If the section counter shouldn't reset at each part, delete the line


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.