\부록 장 번호가 표시되지 않음

\부록 장 번호가 표시되지 않음

부록에 다음 명령을 사용하고 있습니다.

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

장을 표시하지만 장 번호는 표시하지 않습니다.

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

이 포럼을 탐색하여 몇 가지 팁을 찾았지만 내 문제를 해결할 수 없었습니다. 내가 다음 명령을 사용하는 경우:

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

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

그러면 출력은 다음과 같습니다:

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

사용자 정의된 클래스 파일을 찾을 수 있습니다.여기.

다른 패키지와의 충돌 때문일 수도 있습니다. 저는 다음 패키지를 사용하고 있습니다.

\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}

답변1

결국, 부록의 번호 매기기 문제는 \backmatter너무 일찍 나타나는 잘못된 배치로 인해 발생합니다. 그 이후에는 모든 번호 매기기가 억제됩니다. 보다이 질문

논문의 올바른 순서는 다음과 같습니다.

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

답변2

당신의 정의에 de A와 B가 명시적으로 포함된다는 뜻인가요?

\renewcommand{\thechapter}{A\Alph{chapter}}
\renewcommand{\thechapter}{B\Alph{chapter}}

그렇게 하는 것은 여러분에게 달려 있지만, 이는 LaTeX논리를 무너뜨리고 TOC에서 이상한 결과를 가져올 가능성이 높습니다.

I 표준 클래스 reportbook에서와 같이 Koma-script 에서 scrbook와 같이 memoir명령 \appendix은 이름 장에서 부록으로 변경을 수행하는 동시에 A부터 시작하여 Alph 번호 매기기로 전환합니다(카운터는 1로 설정됨).

편집: 네, 수업을 로드했습니다. 스탠다드 book클래스를 기준으로 작성되었습니다. 패키지를 무작위 순서로 로드하고 일부 다른 사용자가 Bean을 로드했다고 가정하기 때문에 다소 버그가 있습니다. 옵션 세트가 이상해 보이고 영어로 전환하려면 옵션을 사용하지 않아도 됩니다 english!(결국 저는' m 프랑스어도 있어요!)

어쨌든, 컴파일하고 코드를 사용하여(추정패키지)

\documentclass[11pt,fancyPart]{these-LUNAM}
\usepackage[francais,english]{babel}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{lipsum} 
\begin{document}
\maketitle
\chapter{The first chapter}
Un petit chapeau pour mon chapitre
\section{a normal section}
\lipsum[1]
\appendix
\chapter{An appendix}
\section{An appendix section}
\lipsum[3]
\end{document}

여기에 표시된 대로 문제를 재현할 수 없습니다.

여기에 이미지 설명을 입력하세요

내 생각 엔 클래스를 깨뜨리는 다른 패키지를 사용하는 것 같습니다 ...

관련 정보