summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty b/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
index 39a70767af9..7d0fb439081 100644
--- a/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
+++ b/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
@@ -21,7 +21,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fancyhdr}%
- [2022/05/10 v4.0.2
+ [2022/05/18 v4.0.3
Extensive control of page headers and footers]%
% Copyright (C) 1994-2022 by Pieter van Oostrum <pieter@vanoostrum.org>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -70,7 +70,7 @@
\DeclareOption{headings}{%
\f@nch@ifundefined{chapter}{%
\if@twoside
- \def\ps@headings{\ps@f@nch@fancyproto \let\@mkboth\markboth
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}%
\fancyhead[RE]{\slshape\leftmark}%
@@ -83,7 +83,7 @@
\ifnum \c@secnumdepth >\@ne \thesubsection\quad \fi##1}}%
}%
\else
- \def\ps@headings{\ps@f@nch@fancyproto \let\@mkboth\markboth
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}%
\fancyhead[RE]{\slshape\leftmark}%
@@ -95,7 +95,7 @@
}%
\fi
}{\if@twoside
- \def\ps@headings{\ps@f@nch@fancyproto \let\@mkboth\markboth
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}%
\fancyhead[RE]{\slshape\leftmark}%
@@ -109,7 +109,7 @@
\ifnum \c@secnumdepth >\z@ \thesection. \ \fi##1}}}%
}%
\else
- \def\ps@headings{\ps@f@nch@fancyproto \let\@mkboth\markboth
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}%
\fancyhead[RE]{\slshape\leftmark}%