I am using the quotchap package and I wish to have the word "Chapter" before the Chapter number for example, instead of just having 1, I wish to have Chapter 1 and the remaining chapters to have this format and also Appendix A instead of just having A. This is a continuation of the question answered nicely by @Simon Dispa (https://tex.stackexchange.com/users/161015/simon-dispa) at Adding the word "Appendix" for all the Appendices chapters using the quotchap package .
Below is the my MWE:
\documentclass[11pt,openany,twoside]{book}
\raggedbottom
\let\cleardoublepage=\clearpage
\usepackage[left=2.5cm, right=2.5cm, top=3cm, bottom=3cm,a4paper]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[table]{xcolor}
\usepackage{graphicx}
\newcommand\HRule{\noindent\rule{\linewidth}{1.5pt}}
\usepackage[dotinlabels]{titletoc}
\usepackage{background}
\backgroundsetup{contents={}}
\usepackage{fancyhdr}
\usepackage{hhline}
\pagestyle{fancy}
\usepackage[noindentafter,calcwidth]{titlesec}
\usepackage[courier]{quotchap}
\usepackage{helvet}
\renewcommand\sectfont{\bfseries}
\usepackage{calc,pifont}
\usepackage{multirow}
\newcommand*\myheaderfooterfont{\normalfont\bfseries}
\usepackage[nottoc]{tocbibind}
\usepackage[ragged]{sidecap}
\usepackage[marginal]{footmisc}
\renewcommand\footnoterule{\vspace*{-3pt}%
\hrule width 2in height 1.4pt \vspace*{2.6pt}}
\setlength\footnotemargin{10pt}
\usepackage{etoolbox}
\usepackage{regexpatch}
\usepackage{listings}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
}
\usepackage{apptools}
\begin{document}
\chapter{Backrre}
\end{document}





\titleformatcommand fromtitlesec. – Bernard Jul 09 '22 at 08:05quotchap, so I don't know if some macros can be written with another package. For me, the simplest way to obtain the wordchapterbefore the chapter number is to use\titleformat*{\chapter}{\chaptername~\thechapter}. If that doesn't work as you want, could please post a compilable short code that illustrates the problems you have? – Bernard Jul 09 '22 at 13:15\titleformat*{\chapter}{\chaptername~\thechapter}and it is not working. Thank you very much Bernard. I can work with the 2 solutions provided by Simon Dispa and Tom. – itc Jul 09 '22 at 13:28