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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get a hold of numbering the letter of the Appendices. This is how it looks now:

\documentclass[11pt, a4paper, twoside]{article}

% PACKAGES
\usepackage{geometry}
\usepackage{lipsum}     

\begin{document}
\tableofcontents

\section{First section}
\subsection{A subsection}
\lipsum[1]

\appendix
\section{Appendices}
\subsection{First appendix}
\subsection{Second appendix}

\end{document}

Preview
But instead of counting the numbers

A.1
A.2
...

I want to the letters to be increased. It should be something like this:

Appendices
A - first appendix
B - second appendix
C - third appendix

where "Appendices" is a section, and the other are subsections.

I hope that anyone can help me :)

share|improve this question
    
Welcome to TeX.SX! – Heiko Oberdiek May 1 '14 at 7:35
up vote 21 down vote accepted

If you really need the appendices to be subsections you can change numbering of subsections using \renewcommand{\thesubsection}{\Alph{subsection}}:

\documentclass[11pt, a4paper, twoside]{article}
\usepackage{geometry}
\usepackage{lipsum}

\begin{document}
\tableofcontents

\section{First section}
\subsection{A subsection}
\lipsum[1]

\appendix
\section*{Appendices}
\addcontentsline{toc}{section}{Appendices}
\renewcommand{\thesubsection}{\Alph{subsection}}

\subsection{Appendix Subsection}
\subsection{Another appendix Subsection}
\end{document}

enter image description here

share|improve this answer
    
Exactly what I was looking after! Thanks a lot. – Budde92 May 1 '14 at 7:53
1  
If you would accept the answer that would be nice :) – Tahtisilma May 1 '14 at 8:17

Use \section*{Appendices}and add this to the toc with \addcontentsline. Then simply use \section for each appendix.

\documentclass{article}
\begin{document}
\tableofcontents
\section{First section}
\subsection{A subsection}
\appendix
\addcontentsline{toc}{section}{Appendices}
\section*{Appendices}
\section{First appendix}
\section{Second appendix}
\end{document}

MWE

share|improve this answer
    
I don't think it clearly solves my problem, that the appendices A, B ect. should be subsections of Appendices. Do you know how to do that? Thanks. – Budde92 May 1 '14 at 7:51
    
Solved in Tahtisilma's answer :) – Fran May 1 '14 at 8:03

I find it easier to simply use:

\appendix
\renewcommand{\thechapter}{A}

and just change it for each appendix:)

share|improve this answer
2  
Any appendix chapter would then been labelled with 'A' then – Christian Hupfer Dec 11 '15 at 16:34
    
see my edit... :) – Yan King Yin Dec 11 '15 at 16:51
    
You could do that of course, but there are better ways -- I leave to others to deal with this answer – Christian Hupfer Dec 12 '15 at 8:37

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.