summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-21 21:45:59 +0000
committerKarl Berry <karl@freefriends.org>2021-03-21 21:45:59 +0000
commit06247d534fcf94684bff54b56225feedcc5054b3 (patch)
treef04445e8d1d39545d15b2687162ce1dd97aa257c /Master/texmf-dist/tex
parentbe19a973422c106c368feba7f09be5809fefe13f (diff)
scrlayer-fancyhdr (21mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58601 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/scrlayer-fancyhdr/scrlayer-fancyhdr.sty80
1 files changed, 80 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/scrlayer-fancyhdr/scrlayer-fancyhdr.sty b/Master/texmf-dist/tex/latex/scrlayer-fancyhdr/scrlayer-fancyhdr.sty
new file mode 100644
index 00000000000..f31b15e0fae
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/scrlayer-fancyhdr/scrlayer-fancyhdr.sty
@@ -0,0 +1,80 @@
+%%
+%% This is file `scrlayer-fancyhdr.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrlayer-fancyhdr.dtx (with options: `package,identify')
+%% scrlayer-fancyhdr.dtx (with options: `package,init')
+%% scrlayer-fancyhdr.dtx (with options: `package,options')
+%% scrlayer-fancyhdr.dtx (with options: `package,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from scrlayer-fancyhdr.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrlayer-fancyhdr.dtx scrlayer-fancyhdr.dtx scrlayer-fancyhdr.dtx scrlayer-fancyhdr.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%% docstrip run: identify
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{scrlayer-fancyhdr}[2021-03-17 v0.2
+ combining fancyhdr with KOMA-Script's scrlayer]
+%%% docstrip run: init
+\RequirePackage{scrlayer}[2021/02/15]
+%%% docstrip run: options
+\scrlayer@do@inherited@options{\scrlayer@inherit@option}
+\DeclareOption{nocheck}{\PassOptionsToPackage{nocheck}{fancyhdr}}
+\DeclareOption{compatV3}{\PassOptionsToPackage{compatV3}{fancyhdr}}
+\DeclareOption{myheadings}{\PassOptionsToPackage{myheadings}{fancyhdr}}
+\DeclareOption{headings}{\PassOptionsToPackage{headings}{fancyhdr}}
+%%% docstrip run: body
+\KOMAProcessOptions
+\RequirePackage{fancyhdr}
+\DeclareNewLayer[%
+ background,oddpage,
+ head,
+ contents={\hb@xt@ \layerwidth{%
+ \f@nch@head\f@nch@Oolh\f@nch@olh\f@nch@och\f@nch@orh\f@nch@Oorh}}
+]{fancy.head.odd}
+\DeclareNewLayer[%
+ background,evenpage,
+ head,
+ contents={\hb@xt@ \layerwidth{%
+ \f@nch@head\f@nch@Oelh\f@nch@elh\f@nch@ech\f@nch@erh\f@nch@Oerh}}
+]{fancy.head.even}
+\DeclareNewLayer[%
+ foreground,oddpage,
+ foot,
+ contents={\hb@xt@ \layerwidth{%
+ \f@nch@foot\f@nch@Oolf\f@nch@olf\f@nch@ocf\f@nch@orf\f@nch@Oorf}}
+]{fancy.foot.odd}
+\DeclareNewLayer[%
+ foreground,evenpage,
+ foot,
+ contents={\hb@xt@ \layerwidth{%
+ \f@nch@foot\f@nch@Oelf\f@nch@elf\f@nch@ecf\f@nch@erf\f@nch@Oerf}}
+]{fancy.foot.even}
+\@ifpackagelater{fancyhdr}{2019/03/21}{%
+ \DeclarePageStyleByLayers[
+ onselect={\def\@mkboth{\protect\markboth}},
+ ]{f@nch@fancycore}{%
+ fancy.head.odd,fancy.head.even,fancy.foot.odd,fancy.foot.even
+ }%
+}{%
+ \DeclarePageStyleByLayers[
+ onselect={\def\@mkboth{\protect\markboth}},
+ ]{@fancy}{%
+ fancy.head.odd,fancy.head.even,fancy.foot.odd,fancy.foot.even
+ }%
+}
+\endinput
+%%
+%% End of file `scrlayer-fancyhdr.sty'.