![header footer - Unexpected behaviour of fancyhdr with pagestyle plain and fancy - TeX - LaTeX Stack Exchange header footer - Unexpected behaviour of fancyhdr with pagestyle plain and fancy - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/YfWhU.jpg)
header footer - Unexpected behaviour of fancyhdr with pagestyle plain and fancy - TeX - LaTeX Stack Exchange
![header footer - Page styles only work for \thispagestyle under afterpage - TeX - LaTeX Stack Exchange header footer - Page styles only work for \thispagestyle under afterpage - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/Riks3.png)
header footer - Page styles only work for \thispagestyle under afterpage - TeX - LaTeX Stack Exchange
![header footer - Unexpected behaviour of fancyhdr with pagestyle plain and fancy - TeX - LaTeX Stack Exchange header footer - Unexpected behaviour of fancyhdr with pagestyle plain and fancy - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/c3O8h.jpg)
header footer - Unexpected behaviour of fancyhdr with pagestyle plain and fancy - TeX - LaTeX Stack Exchange
![Simple footer with fancyhdr and pagestyle fancy, article with frontmatter etc - TeX - LaTeX Stack Exchange Simple footer with fancyhdr and pagestyle fancy, article with frontmatter etc - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/2ssWb.png)