# How to uppercase the word “CHAPTER 1” in chapter title?

I am using below code to make the chapter titles uppercased,

\documentclass{book}

\usepackage{titlesec}

\begin{document}

\titleformat{\chapter}[display]
{\large \bfseries \centering}{\chaptertitlename\ \thechapter}{0pt}{\MakeUppercase}{\large}
\titlespacing*{\chapter}{-10pt}{-20pt}{25pt}

\chapter{Introduction}

Hello

\end{document}


Output is like,

But I want to the word Chapter 1 as uppercased as well. Also, I want to reflect the uppercase format in the table of content too.

How can I do so?

• You need to provide a small complete working example that shows the problem. We don't even know what \documentclass you are using. – Steven B. Segletes Mar 10 at 17:37
• @StevenB.Segletes thanks for suggestion. I have updated as MWE. – Sazzad Hissain Khan Mar 10 at 17:46

Here's how to do it for both \chaptertitlename and the chapter title:

\documentclass[11pt]{book}

\usepackage{titlesec, titletoc}

\titleformat{\chapter}[display]
{\large \bfseries \centering}{\MakeUppercase{\chaptertitlename}\ \thechapter}{0pt}{\large\MakeUppercase}
\titlespacing*{\chapter}{-10pt}{-20pt}{25pt}

\titlecontents{chapter}[6em]{\bigskip\bfseries}%\vspace{1cm}%
{\contentslabel[\MakeUppercase{\chaptername}~\thecontentslabel]{7em}\MakeUppercase}%
{\MakeUppercase}%numberless chapters%
{\hfill\contentspage}[\medskip]%

\usepackage{lipsum}

\begin{document}
\tableofcontents
\chapter {Introduction}

\lipsum

\end{document}


• Thanks. That actually solved my problem 1. However did not solve the second part I want to reflect the uppercase format in the table of content too. – Sazzad Hissain Khan Mar 10 at 18:10
• Do you want in toc only the chapter titles , or also the word ‘CHAPTER’? – Bernard Mar 10 at 18:17
• I want both. It would be better if I get both options available. @Bernard – Sazzad Hissain Khan Mar 10 at 18:18
• @SazzadHissainKhan: I've updated my answer with the titlecode necessary for that. Is it what you want? – Bernard Mar 10 at 18:50
• thanks a lot. It worked. – Sazzad Hissain Khan Mar 10 at 19:08

As you were told in the comments, you shoould provide a MNW. But, in principle, you could get what you want adding

\makeatletter
\renewcommand{\@chapapp}{\MakeUppercase{Chapter}}
\makeatother


to the preamble of your document.

• Or even simpler \renewcommand{\@chapapp}{CHAPTER} – Peter Wilson Mar 10 at 17:49
• Thanks. That actually solved my problem 1. However did not solve the second part I want to reflect the uppercase format in the table of content too. – Sazzad Hissain Khan Mar 10 at 18:10