1

How to add numbered subsections with unnumbered subsection in article template? I want the following format

Unnumbered section
   A First numbered subsection
   B Second numbered subsection
   so on.....
  • this \section*{test} \subsection{test A} \subsection{test B} ? – touhami Aug 26 '15 at 7:08
  • Maybe Section numbering without numbers can help you. – moewe Aug 26 '15 at 7:09
  • 1
    What is the number format of numbered sections, numbered subsections and numbered subsections within unnumbered sections? – Heiko Oberdiek Aug 26 '15 at 7:31
  • @touhami: that is not working. It will produce test 0.1 test A 0.2 test B But I want test A test#1 B test#2 A and B are the subsection numbering. – Soumyajit Roy Aug 26 '15 at 9:39
  • @HeikoOberdiek: A section, A.1 subsection#1, A.2 subsection#2..... But I want---section, A subsection#1, B subsection#2,....... The template is article. – Soumyajit Roy Aug 26 '15 at 9:44
4

The star form of \section generates a section without number. Since the subsection number usually is build with the section number, \thesubsection needs to be redefined:

\documentclass{article}
\renewcommand*{\thesubsection}{\Alph{subsection}}

\begin{document}
\section*{Unnumbered section}
\subsection{First numbered subsection}
\subsection{Second numbered subsection}
\end{document}

Result

  • Thanks a lot. It has worked. However, if I want a specific unnumbered section to be having subsection numbering A, B,C, like that but not for the other numbered section, how should I modify the code? 1. Section 1 1.1 Subsection 1 1.2 Subsection 2........ 2. Section 2 2.1 Subsection 1 2.2 Subsection 2.... .................................... .................................... Unnumbered Section A Subsection 1 B Subsection 2.... Template: Article – Soumyajit Roy Aug 28 '15 at 13:13
  • The above issue has been solved... – Soumyajit Roy Aug 28 '15 at 13:19

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.