I want to add a Japanese character in front of a chapter. But it is showing an error, Latin alphabets and numbers work fine.
\documentclass{book}
\usepackage{CJKutf8} %for japanese characters
\begin{document}
\begingroup
\renewcommand\thechapter{\begin{CJK}{UTF8}{min}
的 % character to appear before the chapter title
\end{CJK}}
\titleformat{\chapter}[display] %error here: Undefined control sequence. Argument of
%\@xdblarg has an extra }.
{\normalfont\huge\bfseries}{}{20pt}{\Huge}
\chapter{Introduction}
\endgroup
\end{document}
The desired output that I want is
Also before this chapter, the following is shown, which I want to remove





titlesecpackage (for\titleformat) but this doesn't appear in your MWE. Furthermore, with this command you have explicitly said that you don't want your chapter names labelled. If you put\thechapterinside the empty pair of braces (before{20pt}) does that produce what you want? – Ant Dec 15 '22 at 22:31