1

I am using a customized style for my article, where section is the top header, and no numbering is made for sections, subsections...etc

I would like to keep it as it is, but, use an alphabetical numbering for my appendix.

Does anyone have a idea?

A MWE:

\documentclass[letterpaper,Arial,9pt]{sae} 
\usepackage{amsmath} 

\usepackage{lipsum}
\usepackage[titletoc,toc,title]{appendix}%5,page
\begin{document} 

kjasww
\section{section}

\lipsum[1]

\appendix
\setcounter{section}{0}
\renewcommand{\thesection}{\Alph{section}}
%\begin{appendices}
\begin{appendices}
\section{Appendix}
\lipsum[1]
\end{appendices}

The style file can be found here;

4
  • 2
    Without an MWE it will be very difficult to answer that question, but assuming that your style is properly implemented (and its surely based on something, I guess?), using \appendix should automatically achieve what you want?
    – Hackbard_C
    Commented Aug 27, 2014 at 12:43
  • @Hackbard_C Please check the edit, I just added a MWE Commented Aug 27, 2014 at 12:56
  • 2
    The sae document class has the instruction \setcounter{secnumdepth}{-2}. This suppresses all sectioning headers as low as part (which has level -1). To (re-)enable the numbering of section-level headers (whose level is 1), you need to provide the instruction \setcounter{secnumdepth}{1} along with \appendix.
    – Mico
    Commented Aug 27, 2014 at 13:06
  • Solves my problem @Mico thanks. can you add your comment as an answer so I change the post to [answered] ? Commented Aug 27, 2014 at 13:48

1 Answer 1

2

The sae document class contains the instruction

\setcounter{secnumdepth}{-2}

This instruction suppresses the numbering of all sectioning headers as low as part, which has level -1. The level of chapter is 0, that of section is 1, subsection is 2, etc.

To (re-)enable the numbering of section-level headers, you therefore need to provide the instruction

\setcounter{secnumdepth}{1} 

along with \appendix.

You must log in to answer this question.

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