General ⇒ Repeated Appendix
Repeated Appendix
All the related files are attached herewith. Only run the "main.tex" file. There are no errors. Only both the appendices are repeating. Please take pain to download the RAR file and help me to solve the problem.
- Attachments
-
- New Folder (3).rar
- (67.28 KiB) Downloaded 417 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Repeated Appendix

Please clarify what the actual issue is and please make the example minimal. Both appendix files are small enough that they don't need to be included and the chapter 1 seems to be unrelated anyway. it should be easy to provide only one file who's code could be posted here. Posting code also helps you to get help: it's easier if one only has to copy and paste some code instead of having to download an archive, unpack it and then run it.
Repeated Appendix
Code: Select all
\documentclass[11pt, a4paper, oneside]{Thesis1}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[babel=true]{microtype}
\usepackage{mathpazo}
\allowdisplaybreaks[4]
\usepackage{lscape}
\usepackage[authoryear, numbers, semicolon, sort&compress]{natbib}
\hypersetup{urlcolor=blue, colorlinks=true}
\title{\ttitle}
\begin{document}
\frontmatter
\setstretch{1.3}
\fancyhead{}
\rhead{\thepage}
\lhead{}
\pagestyle{fancy}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\hypersetup{pdftitle={\ttitle}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
\textsc{\LARGE \univname}\\[1.5cm] % University name
\vspace{2em}
\textsc{\Large Doctoral Thesis}\\[0.5cm] % Thesis type
\HRule \\[0.35cm] % Horizontal line
{\huge \bfseries \ttitle}\\[0.35cm] % Thesis title
\HRule \\[1.5cm] % Horizontal line
\begin{center} \large
\emph{By}\\
\href{}{\authornames}\\
\addressnames
\end{center}
\vspace{6em}
\vfill
\end{center}
\end{titlepage}
%----------------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------
\mainmatter
\pagestyle{fancy}
%\include{Chapter1}
%----------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%----------------------------------------------------------------------------------
\addtocontents{toc}{\vspace{2em}}
\appendix
\input{AppendixA}
\addtocontents{toc}{\vspace{2em}}
\backmatter
\end{document}
Code: Select all
\chapter{Appendix A}
\label{AppendixB}
\lhead{Appendix A. \emph{Appendix A Title Here}}
%\setcounter{equation}{0}
\section{Computation of the coefficients ...}
\label{appendix_bedding_A}
\noindent Throughout the remaining part of this section,
The words "Appendix A" is coming twice in the appendix page. I have uploaded the jpg file highlighting the issue.
- Attachments
-
- 001.JPG (35.14 KiB) Viewed 9442 times
-
- vector.sty
- (2.07 KiB) Downloaded 563 times
-
- lstpatch.sty
- (13.12 KiB) Downloaded 490 times
-
- Thesis1.cls
- (16.62 KiB) Downloaded 543 times
Repeated Appendix
\appendix
. The command \appendix
changes \chapter
to use \appendixname
instead of \chaptername
(along with resetting the counter and using \Alph{chapter}
). The second is the title of the chapter. Since you used \chapter{Appendix A}
the title seems to be repeated. If you'd use \chapter{First Appendix}
you'd getRegards
Repeated Appendix
\chapter{Appendix A}
by \chapter{}
. Then the appendix page is fine. But in the pdf bookmark, only A is coming. Also in the Contents page, I am not getting Appendix A (getting A only). How to change the code so that I can get Appendix A in the pdf bookmark. How to get Appendix A instead of getting A?Code: Select all
\chapter{}
\label{AppendixA}
\lhead{Appendix A. \emph{Appendix A Title Here}}
%\setcounter{equation}{0}
\section{Computation of the coefficients ...}
\label{appendix_bedding_A}
\noindent Throughout the remaining part of this section,