Tell me more ×
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 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?

share|improve this question
1  
Welcome to TeX.sx! It doesn't happen to me, so please try producing a minimal working example (MWE). – egreg Jan 17 at 9:07
Welcome to TeX.SX. Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Claudio Fiandrino Jan 17 at 9:21
Thank you @egreg. I made the changes you requested – Alex Jan 17 at 9:24
Thanks also to @ClaudioFiandrino – Alex Jan 17 at 9:24
I still get "Appendice A" – egreg Jan 17 at 9:36
show 3 more comments

closed as too localized by Frank Mittelbach, Claudio Fiandrino, lockstep, Stephen, Kurt Jan 17 at 11:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.