I want to format my chapter title for example:
"Chapter one: Introduction"
I have a new command defined as the following:
\documentclass[a4paper,12pt] {report}
\usepackage{thesis_packages}
\newcommand{\ch}[2]{
\setcounter{chapter}{#1}
\setcounter{section}{0}
\chapter*{#2}}
\begin{document}
\include{introduction}
\end{document}
% introduction.tex
\ch{1}{Chapter One: Introduction} \label{ch:intro}
For that, I need to write \ch{1}{Chapter One:intro} in the introduction.tex file. However,I receive an error says "undefined control sequence \ch{1}{Chapter One:intro}". The new command is defined in the main text file. I use report documentclass.
book
- like class at all, that has the\chapter
command?}
missing after\chapter*{#2}
. The content ofintroduction
is still hidden.