37

How can I make the first subsection under a section start on "d"? I currently have the following code to get a,b,c,d...:

\renewcommand{\thesubsection}{\alph{subsection}}

and I tried this to make it start on "d":

\setcounter{\thesubsection}{4}

but that did not work.

Ideas?

1
  • 7
    Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count. This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). Commented Mar 29, 2011 at 11:14

2 Answers 2

55

There are two things at play here. Counters and their representation. The representation does not need to be numbers, could be letters or a series of symbols.

You need \setcounter{<countername>}{<value>}

Next, remember that \subsection increases the subsection counter, thus \setcounter{subsection}{d} will give you a d+1 next time \subsection is executed.

3
  • Thank you guys! I also made the error to put the \setcounter{}{} in the preamble and not directly in the code. Works great now!
    – user4506
    Commented Mar 28, 2011 at 19:04
  • 4
    Remember that the section counters are usually dominated by the level above, i.e. if the section counter is increaded via \stepcounter as it is in \section, then the subsection counter is reset to zero.
    – daleif
    Commented Mar 28, 2011 at 21:56
  • 3
    I know this is old, but if anyone is confused by the comment regarding d, I think what daleif meant to say is: \setcounter{subsection}{d} for some integer d gives d+1 next time \subsection is executed. (e.g., \setcounter{subsection}{3} would give you 4 next time \subsection is executed)
    – Alvin Wan
    Commented Jan 19, 2018 at 1:31
13

that should be:

\setcounter{subsection}{3}

You must log in to answer this question.