0

I need the special code header for:

enter image description here

  • Welcome, isn't that the default header? -> en.wikibooks.org/wiki/LaTeX/… – Johannes_B Jul 25 '18 at 6:41
  • many thanks, but i need the number of chapter in left side and the name only of chapter in right side in the page. I'v already use the link that you are mention but i can't founded this style. – Jamal Wafi Jul 25 '18 at 6:48
  • 1
    We have absolutely no clue what's going on, please have a look at en.wikibooks.org/wiki/LaTeX/How_to_get_help – Johannes_B Jul 25 '18 at 6:51
  • 1
    welcome to tex.se! please provide us small complete document with some short dummy text beginning with \documentclass{...} followed by preamble, \begin{document}, some short dummy text as document body and with \end{document} on the end. – Zarko Jul 25 '18 at 7:00
  • You might also look at the fancyhdr package, \chaptername, \thechapter and \chaptermark. AFAIK, there is no built-in macro to convert numbers to text (one, two, three,...) but a limited set can be implmented sing \ifcase (see tex.stackexchange.com/questions/392593/…). – John Kormylo Jul 25 '18 at 12:14
2

In the absence of a MWE, it's hard to know if this solution is right for you. But, here is a proposal using the report document class. (Don't know which document class you are actually using). It uses:

enter image description here

\documentclass{report}
\usepackage{blindtext} % For dummy text
\usepackage{fmtcount}  % Display the value of a counter
\usepackage{fancyhdr}  % For fancy headers

\pagestyle{fancy}
\lhead{Chapter \numberstringnum{\thechapter}}
\rhead{\leftmark}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} 

\begin{document}

\chapter{Test}

\chapter{Test}

\chapter{Symmetrical components}
\blindtext[5]

\end{document}
  • thank you very much for solved my problem you're the best. – Jamal Wafi Jul 25 '18 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.