[Tex/LaTex] \appendix chapter number not display

appendiceschapters

I am using following commands for Appendix:

\appendix 
\chapter{First Appendix} 
\input{AppendixA}

and it display chapter but without chapter number.

Frist Appendix  (no appendex number A)
.1 section title
.1.1 subsection title

I browsed this forum and found some tips but they could not solve my problem. if i use these commands:

\appendix \renewcommand{\thechapter}{\arabic{chapter}}
\renewcommand{\thesection}{A.\arabic{section}}

\chapter{First Appendix} 
\input{AppendixA}
\chapter{Second Appendix} 
\input{AppendixB}

then out put is:

Frist Appendix   0 (appendex number starts from 0 not A)
A.1 section title
A.1.1 subsection title

Frist Appendix  0 (it repeat same number with all chapters)
A.1 section title
A.1.1 subsection title

Customized class file can be found here.

May be it is due to conflict with other packages, i am using following packages:

\documentclass[12pt, english, squeezeCommittee, fancyChapter, fancyPart]{these-LUNAM}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{longtable}
\usepackage{amsmath,amssymb,amsfonts,amsthm,stmaryrd}
\usepackage{mathabx}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{lscape}
\usepackage{textcomp}
\usepackage{graphics}
\usepackage{todonotes}
\usepackage{appendix}
\usepackage{paralist} % %for inline  numbering
\usepackage{makeidx}
\makeindex

% to resize tables
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{csvsimple}

% to draw graphics in latex
\usepackage{array}
\newcolumntype{C}{>{$}c<{$}}
\usepackage{tikz} 
\usetikzlibrary{positioning, shapes, arrows}
\tikzset{
    events/.style={ellipse, draw, align=center},
}
\usepackage{glossaries}
\geometry{inner=4.5cm, outer=2.5cm, top=2.5cm, bottom=2cm}
\usepackage{times}
\RequirePackage[bookmarks,%
                colorlinks,%
                urlcolor=blue,%
                citecolor=blue,%
                linkcolor=blue,%
                hyperfigures,%
                pagebackref,%
                pdfcreator=LaTeX,%
                breaklinks=true,%
                pdfpagelayout=SinglePage,%
                bookmarksopen=true,%
                bookmarksopenlevel=2]{hyperref}
\usepackage{url}
\usepackage{hyperref}
\usepackage{breakurl}

% to set 
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}

\usepackage{minitoc}

Best Answer

At the end, your numbering problem of appendices is due to a bad placement of \backmatter which appears too early : all numbering is suppressed after it. Look at this question

The proper ordering for a thesis would be :

\chapter{Perspectives ....}
<some input>
\appendix
\chapter{Comparison table for ....}
<some input>
\chapter{Implementation ....}
<some input>
%------------
\backmatter
\listoftables
\listoffigures
\listofalgorithms
\tableofcontents
%-------------
\bibliographystyle{mybibstylewithoutbst}
\bibliography{mybibfileswithoutbib}
Related Question