summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-10 21:18:40 +0000
committerKarl Berry <karl@freefriends.org>2022-05-10 21:18:40 +0000
commit440cff6e5d0a387022e98efcbfc895d21228af49 (patch)
tree295358cc4a5b384996dd9181e9299f32f12fe894 /Master/texmf-dist/tex/latex
parent5c548ee9834c58bbb93847134979154cfe21bc61 (diff)
fancyhdr (10may22)
git-svn-id: svn://tug.org/texlive/trunk@63277 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty4
-rw-r--r--Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty20
-rw-r--r--Master/texmf-dist/tex/latex/fancyhdr/fancyheadings.sty2
3 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty b/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty
index ed6e5e78416..9c9a59eca8b 100644
--- a/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty
+++ b/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty
@@ -21,9 +21,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{extramarks}
- [2021/01/28 v4.0.1
+ [2022/05/10 v4.0.2
Extra marks for LaTeX]
-% Copyright (C) 1994-2021 by Pieter van Oostrum <pieter@vanoostrum.org>
+% Copyright (C) 1994-2022 by Pieter van Oostrum <pieter@vanoostrum.org>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtoks\@temptokenb
\providecommand\unrestored@protected@xdef{%
diff --git a/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty b/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
index 01f87f2edda..39a70767af9 100644
--- a/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
+++ b/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
@@ -21,9 +21,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fancyhdr}%
- [2021/01/28 v4.0.1
+ [2022/05/10 v4.0.2
Extensive control of page headers and footers]%
-% Copyright (C) 1994-2021 by Pieter van Oostrum <pieter@vanoostrum.org>
+% Copyright (C) 1994-2022 by Pieter van Oostrum <pieter@vanoostrum.org>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand\if@nch@mpty[1]{\def\temp@a{#1}\ifx\temp@a\@empty}
\newif\iff@nch@check
@@ -131,7 +131,7 @@
\newcommand{\f@nch@forc}[3]{\expandafter\f@nchf@rc\expandafter#1\expandafter{#2}{#3}}
\newcommand{\f@nchf@rc}[3]{\def\temp@ty{#2}\ifx\@empty\temp@ty\else
\f@nch@rc#1#2\f@nch@rc{#3}\fi}
-\def\f@nch@rc#1#2#3\f@nch@rc#4{\def#1{#2}#4\f@nchf@rc#1{#3}{#4}}
+\long\def\f@nch@rc#1#2#3\f@nch@rc#4{\def#1{#2}#4\f@nchf@rc#1{#3}{#4}}
\newcommand{\f@nch@for}[3]{\edef\@fortmp{#2}%
\expandafter\@forloop#2,\@nil,\@nil\@@#1{#3}}
\newcommand\f@nch@default[3]{%
@@ -148,7 +148,7 @@
\newcommand{\fancyheadoffset}[2][]{\f@nch@fancyhfoffs\fancyheadoffset h[#1]{#2}}%
\newcommand{\fancyfootoffset}[2][]{\f@nch@fancyhfoffs\fancyfootoffset f[#1]{#2}}%
\newcommand{\fancyhfoffset}[2][]{\f@nch@fancyhfoffs\fancyhfoffset {}[#1]{#2}}%
-\def\f@nch@fancyhf#1#2[#3]#4{%
+\long\def\f@nch@fancyhf#1#2[#3]#4{%
\def\temp@c{}%
\f@nch@forc\tmpf@ra{#3}%
{\expandafter\f@nch@ifin\tmpf@ra{eolcrhf,EOLCRHF}%
@@ -310,11 +310,11 @@
\hbox to\headwidth{%
\f@nch@vbox\headheight{%
\hbox{%
- \rlap{\parbox[b]{\headwidth}{\raggedright#2}}%
+ \rlap{\parbox[b]{\headwidth}{\raggedright\leavevmode\ignorespaces#2}}%
\hfill
- \parbox[b]{\headwidth}{\centering#3}%
+ \parbox[b]{\headwidth}{\centering\leavevmode\ignorespaces#3}%
\hfill
- \llap{\parbox[b]{\headwidth}{\raggedleft#4}}%
+ \llap{\parbox[b]{\headwidth}{\raggedleft\leavevmode\ignorespaces#4}}%
}%
\vskip\headruleskip\relax
\headrule
@@ -331,11 +331,11 @@
\setbox0=\vbox{\footrule}\unvbox0
\vskip\footruleskip
\hbox{%
- \rlap{\parbox[t]{\headwidth}{\raggedright#2}}%
+ \rlap{\parbox[t]{\headwidth}{\raggedright\leavevmode\ignorespaces#2}}%
\hfill
- \parbox[t]{\headwidth}{\centering#3}%
+ \parbox[t]{\headwidth}{\centering\leavevmode\ignorespaces#3}%
\hfill
- \llap{\parbox[t]{\headwidth}{\raggedleft#4}}%
+ \llap{\parbox[t]{\headwidth}{\raggedleft\leavevmode\ignorespaces#4}}%
}%
}%
}%
diff --git a/Master/texmf-dist/tex/latex/fancyhdr/fancyheadings.sty b/Master/texmf-dist/tex/latex/fancyhdr/fancyheadings.sty
index 76f4feff4ef..11248ad9821 100644
--- a/Master/texmf-dist/tex/latex/fancyhdr/fancyheadings.sty
+++ b/Master/texmf-dist/tex/latex/fancyhdr/fancyheadings.sty
@@ -21,7 +21,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fancyheadings}
- [2021/01/28 v4.0.1
+ [2022/05/10 v4.0.2
Legacy package to call fancyhdr]
% Public domain
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%