## LaTeX forum ⇒ Theses, Books, Title pages ⇒ Removing the "A" in front of "Appendix"

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

### Removing the "A" in front of "Appendix"

I am trying to remove the "A" in front of "Appendix". What line of code should I put in the preamble in order to do so?

Furthermore, what is the best position within main.tex for the additional lines of code? This is what I've done thus far:

\documentclass[11pt,english, onehalfspacing, nolistspacing, liststotoc, headsepline,oneside, chapterinoneline, leqno, %consistentlayout, change the layout of the declaration, abstract and acknowledgements pages to match the default layout]{MastersDoctoralThesis} \usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage{mathpazo}\usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex}\usepackage{titling}\usepackage{lipsum} \addbibresource{References.bib}\usepackage[autostyle=true]{csquotes} %----------------------------------------------------------------------------------------%	ADDITIONAL THESIS FORMATTING%---------------------------------------------------------------------------------------- \AtBeginDocument{\hypersetup{pdftitle=\ttitle} % Set the PDF's title to your title\hypersetup{pdfauthor=\authorname} % Set the PDF's author to your name\hypersetup{pdfkeywords=\keywordnames} % Set the PDF's keywords to your keywords} \renewcommand{\chaptermarkformat}{1 }

Johannes_B
Site Moderator
Posts: 3931
Joined: Thu Nov 01, 2012 4:08 pm
\chaptermarkformat{1 } is just wrong. So wrong. I told you how to get what you want.

Have you tried \addchap{Appendix}, the normal way to achieve an unnumbered chapter with this template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm
Hi Johannes,

I've actually used
\chaptermarkformat{}

which was suggested by you in one of the other posts.

This is what I used in the Appendix section of the main.tex:
\appendix    \include{Appendices/AppendixA}

\addchap

did not work unfortunately.

Johannes_B
Site Moderator
Posts: 3931
Joined: Thu Nov 01, 2012 4:08 pm
I've actually used
\chaptermarkformat{}

which was suggested by you in one of the other posts.

Redefining that command is correct, but your redefinition suddenly has one number in it, which is wrong.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Masters/Doctoral Thesis % LaTeX Template% Version 2.5 (27/8/17)%% This template was downloaded from:% <!-- m --><a class="postlink" href="http://www.LaTeXTemplates.com">http://www.LaTeXTemplates.com</a><!-- m -->%% Version 2.x major modifications by:% Vel (vel@latextemplates.com)%% This template is based on a template by:% Steve Gunn (http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/)% Sunil Patel (http://www.sunilpatel.co.uk/thesis-template/)%% Template license:% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\documentclass[english, % ngerman for Germanchapterinoneline, % Uncomment to place the chapter title next to the number on one line]{MastersDoctoralThesis} % The class file specifying the document structure\usepackage{blindtext}\renewcommand{\chaptermarkformat}{\thechapter\space}\ihead{\headmark Author p X}\begin{document}\chapter{Wombat}\blindtext[10]\appendix\addchap{Appendix}\end{document}

\addchap works for me.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.