1

I'm trying to replicate the ARGUMENT section pictured below.

here

I tried adapting the code from here for the letters but I found that when I suppress the section numbers the subsection numbers do not properly print.

Circumscribe
  • 10,856
Soro
  • 31
  • 4
  • Hi. Does the code in this answer do what you want? – Circumscribe May 09 '20 at 05:22
  • Not exactly, but I was able to create the following \renewcommand{\thesection}{} \renewcommand{\thesubsection}{\Roman{subsection}} \renewcommand{\thesubsubsection}{\Alph{subsubsection}} This does everything except the dot after the number. – Soro May 09 '20 at 05:35

1 Answers1

2

Fixed, with the following working code:

\renewcommand{\thesection}{}
\renewcommand{\thesubsection}{\Roman{subsection}}
\renewcommand{\thesubsubsection}{\Alph{subsubsection}}

\let \savenumberline \numberline
\def \numberline#1{\savenumberline{#1.}}

Later code from here.

Soro
  • 31
  • 4
  • 1
    Very good. Please be advised, however, that if you don't also change the formatting of the section headings the space following the (now empty) section number will still be printed in the headings themselves. This is done e.g. here and here. – Circumscribe May 09 '20 at 06:17
  • I've found that I actually have to suppress the section anyway with \section* and add it in \addcontentsline because the dot from the last two lines of code will print before the section even though there is no numbering, not sure how to fix that in the "correct" way. – Soro May 09 '20 at 18:01
  • Then please be advised that \section* does not reset the subsection counter. :) – Circumscribe May 09 '20 at 18:50
  • \renewcommand*\numberline[1]{\ifx\relax#1\relax\else\savenumberline{#1.}\fi} would do it. The \ifx\relax#1\relax bit tests if #1 is empty, see e.g. here. – Circumscribe May 09 '20 at 19:11