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.....
7
  • this \section*{test} \subsection{test A} \subsection{test B} ?
    – touhami
    Commented Aug 26, 2015 at 7:08
  • Maybe Section numbering without numbers can help you.
    – moewe
    Commented Aug 26, 2015 at 7:09
  • 1
    What is the number format of numbered sections, numbered subsections and numbered subsections within unnumbered sections? Commented Aug 26, 2015 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. Commented Aug 26, 2015 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. Commented Aug 26, 2015 at 9:44

1 Answer 1

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

2
  • 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 Commented Aug 28, 2015 at 13:13
  • The above issue has been solved... Commented Aug 28, 2015 at 13:19

You must log in to answer this question.

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