Today I want to set a centered header.
My trial
\documentclass[utf8]{ctexart}
\usepackage{fancyhdr}
\begin{document}
\pagestyle{fancy}
\chead{ 常州大学本科论文外文翻译 }
\cfoot{第\thepage 页,共\pages 页}
\section{introduction}
my name is 汤书桃
\newpage
\section{conclusion }
I like \latex very much
\end{document}
However, it doesn't work. Can someone help me?
\LaTeX
(case matters)