I am adding the following lines to add a customized footer to my pdf document, found here.
header-includes:
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \fancyfoot[LE,RO]{My fancy footer}
The issue is, I get also a header, which includes first and second chapter titles. As my chapter titles sometimes are long, they overlap. I wanted to ask how to remove the header and keep the footer. If it is easier, I am interested to keep only the first titles in the header.