enter image description here

Dears i am using a fancy style in my document, however i would like to add the word chapter to the number of chapter (see the picture bellow). how can i do that ?

  • 1
    Could you please add a minimal working example? – user156344 Apr 8 '19 at 14:46

Use the titlesecpackage (http://tug.ctan.org/tex-archive/macros/latex/contrib/titlesec/titlesec.pdf)

This should do the job :

  { \raggedleft
  \MakeUppercase{\chaptertitlename} {\Huge\thechapter}}
  \raggedleft \Huge}
  • it doesn't work ERROR: Paragraph ended before \ttl@format@ii was complete. – Hamza KHEDDAR Apr 8 '19 at 20:19
  • The new code does what you need, sorry – Rémi Nazin Apr 9 '19 at 7:39
  • yes, it works thank you. but it change font style , anyway , thanks so much, i'll use it. – Hamza KHEDDAR Apr 9 '19 at 11:58
  • I'm sorry, just drop the \sffamily and it would go to standard font. – Rémi Nazin Apr 9 '19 at 14:56

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.