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'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 at 7:35
add comment

2 Answers 2

up vote 6 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 at 7:53
    
If you would accept the answer that would be nice :) –  Tahtisilma May 1 at 8:17
add comment

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 at 7:51
    
Solved in Tahtisilma's answer :) –  Fran May 1 at 8:03
add comment

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.