Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I trying to write an appendix where:

  • The appendix is considered a section, and has the title "appendice"
  • Subsections are numbered with letters (it does it for sections by default)

but I can't get the appendix to be called anything, neither have I succeded in modifying the default numbering. Thanks for any help!

share|improve this question
1  
Well, if I understand correctly what you would like, this is pretty much the default behavior in the article class, isn't it? Which document class are you using? –  Corentin Feb 8 '13 at 15:49
    
@Corentin yes I'm using article as a documentclass. The default seems to be that sections, not subsections, are numbered with letters. Subsections are numbered A1, A2... where A is the section. If I omit the section (which I would want to be the appendix itself) all I get is subsections numbered .1, .2, ... –  Emilio Ferrucci Feb 8 '13 at 15:53
    
Oh, I see, sorry I read your post too fast. So what would be the numbering scheme that you would like? A.a, A.b,...? –  Corentin Feb 8 '13 at 15:57
    
@Corentin no not really, I'm really only interested in numbering in subsections, since that's pretty much the only section level I want to use (\section being the level of the appendix itself). I would like to keep using the \appendix environment though, since I want theorems numbered with letters. The reason for all this is that sections would be too bulky in relation to their length, and to the length of sections in the main body of my thesis. –  Emilio Ferrucci Feb 8 '13 at 16:01

1 Answer 1

up vote 4 down vote accepted

Would anything like this example match your needs?

\documentclass{article}
\usepackage{lipsum}

\begin{document}
\section{Section}   
\lipsum[1]

\appendix
\section*{Appendix}
\renewcommand{\thesubsection}{\Alph{subsection}}

\subsection{Appendix Subsection}
\lipsum[2]

\subsection{Another appendix Subsection}
\lipsum[3]  
\end{document}

Here's how it looks like: enter image description here

If I understood correctly, you do not want to use any other \section than for the headings "Appendix" in itself, so a solution is to use \section* at this place and modify the command that issues subsection numbers by deleting the section number (otherwise you would get .A, .B,...) and printing the subsection counter in capital alphabetic form: this is what the

\renewcommand{\thesubsection}{\Alph{subsection}}

line does.

share|improve this answer
    
Yes, thank you very much! Great strategy using \section{Appendix}, hadn't thought of it. Theorem numbering works fine as well. Upvoted and accepted :) –  Emilio Ferrucci Feb 8 '13 at 16:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.