# [Tex/LaTex] My center header is not centered

I have the following code for my footer:

\usepackage{fancyhdr}
\chead{My very important and long title that is not being centered as I would like to \newline Very Myself}
\cfoot{\thepage}


but it is not centered:

How can I center it? I am using \documentclass[11pt,a4paper]{article}

Use \\ and not \newline. The behavior is easily reproducible:

\fbox{\parbox{5cm}{\centering A centered\\ text}}

\medskip

\fbox{\parbox{5cm}{\centering A centered\newline text}}


gives

Here's the code for you

\documentclass{article}
\usepackage{geometry,fancyhdr}
\pagestyle{fancy}

The command \\ changes its meaning when in a \centering context, which is in force in \chead, whilst \newline doesn't.