My appendices were merely labeled "A", "B", "C" etc.. I found this answer very helpful in changing them to "Appendix A", "Appendix B" and so forth. I am trying to get a colon in between the appendix label and the section title, e.g. "Appendix A: Screening experiment".
I tried adding the colon to the \renewcommand{\appendixname}{}, but that inserts it in the wrong place, i.e. "Appendix: A". Of course this makes sense, but I have no clue how to move the colon to the right place.
I do not have enough experience on the LaTeX Stack Exchange to merely post a comment to said answer, therefore the question. Does anyone know how to achieve this?
EDIT: I am writing my thesis. I cannot give a full working example, because I currently have 245 pages. Below I give the template's main imports in the hope that this clarifies what I am working with.
\documentclass[a4paper,12pt]{article}
%\RequirePackage[l2tabu,orthodox]{nag}
\usepackage{appendix}
\usepackage{upreport}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{amssymb}
\usepackage{chemmacros}
\usepackage{chemgreek}
\usepackage[version = 4]{mhchem}
\usepackage{multirow}
\chemsetup{formula= mhchem}
\usepackage{titlesec}
\setcounter{secnumdepth}{4}
\pdfminorversion=7
\addbibresource{report.bib}
\title{Poly(lactic acid) filament filled with layered double hydroxide for fused deposition modelling; optimisation of additive fraction and material extrusion parameters}
\author{Philip de Bruin}
\studentnumber{18017763}
\subject{CVD 800}
\date{\today}
% Nomenclature unit command - see the documentation for nomencl
\newcommand{\nomunit}[1]{%
\renewcommand{\nomentryend}{\hspace*{\fill}\si{#1}}}
% Create a custom user command or run the following
% makeindex %.nlo -s nomencl.ist -o %.nls
% execute this command after compiling your file once, then compile a second time to generate a nomenclature table
% If you comment out one of these lines, the document can be compiled
% without the section, but retaining page numbers and references
% this is useful to send your supervisor a partial PDF.
\includeonly{
contents/frontmatter,
contents/introduction,
contents/theory,
contents/experimental,
contents/results_discussion,
contents/conclusions_recommendations
}
\begin{document}
% Note: To edit the abstract, edit the file abstract.tex
\include{contents/frontmatter}
\include{contents/introduction}
\include{contents/theory}
\include{contents/experimental}
\include{contents/results_discussion}
\include{contents/conclusions_recommendations}
\printbibliography
\renewcommand{\appendixname}{Appendix}
\appendixtitleon % puts \appendixname before each appendix title
\appendixtitletocon % puts \appendixname before each TOC entry
\newpage
\begin{appendices}
\renewcommand{\thefigure}{\thesection.\arabic{figure}}
\renewcommand{\thetable}{\thesection.\arabic{table}}
\renewcommand{\thepage}{\thesection.\arabic{page}}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{page}{1}
% Renew figure and page counter per Appendix using the commands above
\section{Screening experiment} \label{afd_bl_se}
\end{appendices}

\renewcommand{\thesection}{\Alph{section}:}. However, this won't work if you want to use\refand\labelto refer to your appendices, because you'll get the colon in references, too. However, if you don't need that, it might be a quick fix. – cfr Nov 07 '23 at 06:09upreport.styis not in the standard packages, nor we have your files, so\includecan do nothing. Please, make a self-standing example or your question is impossible to answer. – egreg Nov 09 '23 at 15:11