I'm try to insert an appendix on my thesis, but the command \appendix seems just to be ignored! In fact, after it chapter are still numbered!
Here is the minimal working example:
\documentclass[a4paper,12pt]{report}
\usepackage[italian]{babel}
\usepackage[Lenny]{fncychap}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fullpage}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{wrapfig}
\usepackage[footnotesize,bf]{caption} %dimensione caption
\usepackage{appendix}
\usepackage[utf8x]{inputenc} %caratteri accentati per linux
\usepackage{listings}
\usepackage{color}
\usepackage[a-1b]{pdfx}
\begin{document}
\fancyhead[L]{\slshape}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}
basicstyle=\footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{dkgreen}, % comment style
deletekeywords={...}, % if you want to delete keywords from the given language
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
%extendedchar=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
frame=single, % adds a frame around the code
keywordstyle=\color{blue}, % keyword style
language=Erlang, % the language of the code
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
morekeywords={compile},
numbersep=5pt, % how far the line-numbers are from the code
numberstyle=\tiny\color{gray}, % the style that is used for the line-numbers
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=\color{mauve}, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
}
\doublespacing
\setcounter{tocdepth}{3}%profondità table of contents
\tableofcontents
\chapter{Introduzione}
This is the introduction
\chapter{Conclusioni e sviluppi futuri}
Si ritiene di aver svolto in maniera completa ed esaustiva quanto preposto in questa tesi.
\chapter{Ringraziamenti}
grazie a tutti.
\appendix
\chapter{Test di benchmark}
This should be an appendix, but it's still a chapter!
\end{document}
This is what I get: Pdf file produced
Any idea?