I need to display the chapter name with the \chapter*
command to the left side of the header. This is one example of what I tried:
\documentclass[12pt,a4paper,oneside]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{\fancyplain{}{\textit{\leftmark}}}
\begin{document}
\chapter*{\centerline{Chapter Name}}
\end{document}
How can I do this?
Best Answer
Try
And consider using
titlesec
package rather using\centerline
as a visual formatting approach.