[Tex/LaTex] Bold Chapter Name

boldchapterstitles

I can make the chapter name bold by using \textbf{...} in the text file like:

\chapter{\textbf{Scholastic Forest Management Planning and Forest Zoning}}

But I want to make the text "Chapter 1" bold as well.

enter image description here

In order to achieve the above, here is the class that I used/created

% Chapter title formatting
\newcommand*{\chaptertitleformatone}{ % main-matter and appendices
  \titleformat{\chapter}[display]
          {\normalfont\LARGE\normalfont}
         % {\titleline{\leaders\hrule height 1pt\hfill}
              {\titleline{}
        \vspace{5pt}
        \titleline{}
        \vspace{1pt}
        \LARGE\MakeUppercase{\chaptername} \thechapter}
          {1pc}
          {\titleline{}
        \vspace{0.5pc}
        \LARGE}

Best Answer

Simply use \bfseries in the second argument for \titleformat; then this will apply to both the "Chapter No" string and to the title; a similar remark applies to \LARGE; since you want to use it for all the parts of the title, move it to the second argument.

Also, use \chaptertitlename instead of just \chaptername; the latter will always produce "Chapter" (or its idiomatic localization), whereas the former will correctly produce "Chapter" or "Appendix" if \appendix has been used.

Here's a version of your code (modulo \titleline{} which really isn't doing its job in its present form):

\documentclass{book}
\usepackage{titlesec}

\titleformat{\chapter}[display]
  {\normalfont\LARGE\bfseries}
  {\titleline{}\vspace{5pt}\titleline{}\vspace{1pt}%
  \MakeUppercase{\chaptertitlename} \thechapter}
  {1pc}
  {\titleline{}\vspace{0.5pc}}

\begin{document}

\chapter{Test chapter}

\end{document}

enter image description here

Since, apparently, you are not really interested in having rules in your titles, as the image suggests, your code can be reduced to:

\documentclass{book}
\usepackage{titlesec}

\titleformat{\chapter}[display]
  {\normalfont\LARGE\bfseries}
  {\MakeUppercase{\chaptertitlename}~\thechapter}
  {1.5pc}
  {}

\begin{document}

\chapter{Test chapter}

\end{document}
Related Question