scrlayer-fancyhdr — combining fancyhdr with KOMA-Script's scrlayer
LaTeX package scrlayer-fancyhdr
Copyright (c) 2008—2025 Markus Kohm
Release: 2025-02-10 v0.4
License: LPPL 1.3c (see LICENSE.md)
CTAN Location: https://ctan.org/pkg/scrlayer-fancyhdr
scrlayer-fancyhdr is a LaTeX package, that uses
KOMA-Script's
scrlayer to redefine the page styles of
package fancyhdr. This allows the
combination of features of fancyhdr with features of scrlayer.
Before KOMA-Script v3.33 scrlayer-fancyhdr was part of KOMA-Script itself.
It still depends on KOMA-Script package
scrlayer at least version 3.33. It
also depends on fancyhdr. Currently
version 3 and 4 up to 4.0.1 are supported and tested. Basic functionality also
works with version 5 and has been tested up to 5.1. But several new features
of fancyhdr version 5 are currently not
tested with scrlayer-fancyhdr.
This is an early release of an experimental package.
We recommend to use the package manager of your TeX distribution to install
packages. However, if you need to install scrlayer-fancyhdr manually, you
can either use a semi-manual installation or a completely manual installation.
For a semi-manual installation you can first create a local clone of the repository:
git clone https://github.com/komascript/scrlayer-fancyhdr.gitThen enter the directory created while cloning the repository:
cd scrlayer-fancyhdrLast, but not least use l3build to install it locally with manual and
sources:
l3build install --fullor without manual and sources:
l3build installTo do a completely manual installation, download scrlayer-fancyhdr.dtx.
Then extract it using:
tex scrlayer-fancyhdr.dtxTo create the manual use:
pdflatex scrlayer-fancyhdr.dtx
mkindex scrlayer-fancyhdr
biber scrlayer-fancyhdr
pdflatex scrlayer-fancyhdr.dtx
pdflatex scrlayer-fancyhdr.dtxNow, you can either install it in the proper directory (see the
documentation of your TeX distribution) or copy scrlayer-fancyhdr.sty
to your document directory.